[omniORB] omniORB2/3 compile problem...

Michael Loftis zop12@Mindless.com
Sun, 17 Oct 1999 13:36:34 -0600


Using GCC 2.95.1 on Linux 2.0.36.  The CVS release of omniORB3 and the
2.8.0 release both have the same problem.  Below is cut-and-paste.  the
configuration I used was for a glibc configuration but this didn't make
a difference when I switched to non-glibc.

I'm not familiar with the FD_ZERO function in question so I'm not ready
to comment it out (you'll notice it is surrounded by an #ifndef) without
knowing what the heck it does.  Indeed I'm not totally sure I understand
the error message.

Interestingly enough mico seems to have the same problem so what this
may be is a system header problem, but being as I don't know where it's
declared, I've *never* heard of it, and don't know what it does, I'm not
tempted to muck with it until then.  I also have no documentation on
it.   apropos lists select(2) as the apropriate entry, and indeed the
FD* macros are listed.  I'll investigate my unistd.h header (where it
should be) but I need a working copy to compare against as I
don'tunderstand the error message (or indeed why the macro is used)

Man pages on C functions are generally vague.

------------Compile Cut and Paste--------------------------
make[3]: Entering directory
`/mnt/ds1/home/winbox/wgs/src/corba/OCVS/omni/src/lib/omniORB2/orbcore'
/usr/bin/g++ -c -O2  -Wall -Wno-unused  -D_REENTRANT -I. -I./..
-I./../.. -DUSE_omniORB_logStream -D_OMNIORB2_LIBRARY -DUnixArchitecture
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I.
-I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o
tcpSocketMTfactory.o tcpSocketMTfactory.cc
tcpSocketMTfactory.cc: In method `void
tcpSocketStrand::real_shutdown()':
tcpSocketMTfactory.cc:975: Invalid `asm' statement:
tcpSocketMTfactory.cc:975: fixed or forbidden register 2 (cx) was
spilled for class CREG.
tcpSocketMTfactory.cc: In method `void *
tcpSocketRendezvouser::run_undetached(void *)':
tcpSocketMTfactory.cc:1270: Invalid `asm' statement:
tcpSocketMTfactory.cc:1270: fixed or forbidden register 2 (cx) was
spilled for class CREG.
make[3]: *** [tcpSocketMTfactory.o] Error 1
make[3]: Leaving directory
`/mnt/ds1/home/winbox/wgs/src/corba/OCVS/omni/src/lib/omniORB2/orbcore'
make[2]: *** [export] Error 1
make[2]: Leaving directory
`/mnt/ds1/home/winbox/wgs/src/corba/OCVS/omni/src/lib/omniORB2'
make[1]: *** [export] Error 1
make[1]: Leaving directory
`/mnt/ds1/home/winbox/wgs/src/corba/OCVS/omni/src/lib'
make: *** [export] Error 1
[winbox@disks src]$

----------------DAS ENDE-----------------------