ORBit 0.3.97 problems



Hi,

I just downloaded the latest ORBit (0.3.97) and am trying to compile it
under FreeBSD 4.0 and have some problems when (g)make hits
new-name-server.c.

I get a ton of parse errors which originate from CosNaming.h and
new-name-server.c.

Excerpt:

Making all in name
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../src -I../../../src 
-I/usr/local/lib/glib/include -I/usr/local/include    -g -O2 -c new-n
ame-server.c
In file included from new-name-server.c:24:
CosNaming.h:33: parse error before `*'
CosNaming.h:34: warning: data definition has no type or storage class
In file included from new-name-server.c:24:
CosNaming.h:173: parse error before `*'
CosNaming.h:173: warning: data definition has no type or storage class
CosNaming.h:175: parse error before `CosNaming_Name'
CosNaming.h:191: parse error before `CosNaming_Name'
CosNaming.h:191: warning: no semicolon at end of struct or union

Those kind of errors indicate a lack of inclusion for sys/types.h to me.

Yet I am weary to include them to CosNaming.h since:

/*
 * This file was generated by orbit-idl - DO NOT EDIT!
 */

appears in the file, which would indicate that some sort of script failed
to detect something.

So, basically my question is, anyone have ideas what went wrong or have
tips on where to look?

thanks in advance,

---
Jeroen Ruigrok van der Werven        join #FreeBSD on Undernet
asmodai(at)wxs.nl          This is my Truth, tell me your's... 
Network/Security Specialist      <http://home.wxs.nl/~asmodai>
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]