[omniORB] compiling problem with omnithread

W T Meyer meyer at iastate.edu
Tue Apr 8 14:42:39 BST 2008


I get the following error messages when I try to compile my 
application using g++ version 3.4.6 under Scientific Linux 4.5.  It 
may well be a problem with the upgrade to SL 4.5, but I can't locate 
the source.  Does anyone have helpful thoughts?  Things to try?

Thanks,

Tom Meyer, Iowa State University

g++  -o CoRCCServer.o -c -g -Wall -Wno-unused -fexceptions 
-D__OMNIORB4__  -D_RE
ENTRANT -D__OSVERSION__=2 -D__linux__ -D__x86__ -DCSTYLE -I. 
-I/usr/local/omniOR
B/release/stub -I/usr/local/omniORB/release/build/include 
-I/usr/local/omniORB/r
elease/include -I/usr/lib/bcc/include -IMNIORB_TOP/include/omnithread 
-I//opt/at
las/tdaq/tdaq-01-08-04/installed/i686-slc4-gcc34-opt/../include 
CoRCCServer.cc
In file included from /usr/include/pthread.h:20,
                  from 
/usr/local/omniORB/release/include/omnithread/posix.h:43,
                  from /usr/local/omniORB/release/include/omnithread.h:134,
                  from 
/usr/local/omniORB/release/include/omniORB4/omniInternal.h
:210,
                  from /usr/local/omniORB/release/include/omniORB4/CORBA.h:310,
                  from CoRCC.hh:10,
                  from CoRCCServer.cc:25:
/usr/include/sched.h:41: error: expected initializer before "__THROW"

[there follows many more of the "expected initializer" errors from 
many lines in sched.h and pthread.h ]




More information about the omniORB-list mailing list