[omniORB] Newby question about cout hanging
Sai-Lai Lo
S.Lo@uk.research.att.com
20 Dec 2000 12:25:56 +0000
Hello Sai-Lai,
Rebuilding omniORB using the version of gcc provided with RH7 didn't help.
But I installed the 2.96-69 update for gcc, and the 2.2-9 update for glibc,
and my example now works as expected. So if other users report problems
with RH7 then these updates may be worth trying.
Kevin
-----Original Message-----
From: Sai-Lai Lo [mailto:S.Lo@uk.research.att.com]
Sent: 19 December 2000 16:02
To: kevin_mitchell@agilent.com
Subject: Re: [omniORB] Newby question about cout hanging
The binary we provided only works for Redhat 6.x. RH7 ships with a
different and incompatible g++/gcc. You'll have all sorts of problems
trying to use our 6.2 binaries.
Also, I've heard report that there are other problems with compiling
omniORB using the gcc compiler on RH7. You should either down grade to RH
6.2 or install your own gcc compiler. 2.95.2 seems OK.
Sai-Lai
>>>>> kevin mitchell writes:
> I'm porting some of my examples to omniORB to try it out and am having
> problems calling cout from implementation methods in the server. I have a
> simple derivative of the echo example that works as expected. But if I
now
> add a call to cout to the implementation method I find the call hangs.
> Calls to cout from main in the server work OK. I tried adding a cout call
> to the echo example and that worked as expected. So I presume the
> difference must be due to how I'm building my example? I'm using the
> omniORB_302_x86_linux_2.0_glibc2.1.tar build under RH7. Before delving
into
> the depths with a debugger I thought I'd check with the list to make sure
> I'm not doing anything obviously dumb...
--
Sai-Lai Lo S.Lo@uk.research.att.com
AT&T Laboratories Cambridge WWW: http://www.uk.research.att.com
24a Trumpington Street Tel: +44 1223 343000
Cambridge CB2 1QA Fax: +44 1223 313542
ENGLAND