[omniORB] compiling problem with omnithread

Duncan Grisby duncan at grisby.org
Sat Apr 19 20:53:29 BST 2008

On Tuesday 8 April, W T Meyer wrote:

> 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?

> /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 ]

That looks like your Linux installation is broken. Do you see the same
error if you just #include <pthread.h> ?


 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --

More information about the omniORB-list mailing list