Serious ORBit compilation problems



Hi,
Since 3 days I'm unable to compile the latest cvs tree of ORBit.
After Talking about that problem with different people from IRC, I found
out that I wasnt alone to have that problem, and that many people were
locked here.

The errors occurs while making ORBit.
A call to a function that is not defined causes a parse error and stops
the compilation.
After further regards at that problem, I found out what the cause may
be:

The function is defined in a header file called interface_repository.h
located in the
src/daemons/interface_repository/
That file is generated by the idl compiler, orbit-idl , that uses
interface_repository.idl to create
various files.

    But instead of generating a correct header file, it only creates an
empty one:

$ ls -s *.h
   0 interface_repository.h

If I try to simulate that, I obtain the same result:


$ pwd
/usr/local/gnome/download/ORBit/src/daemons/interface_repository

$ mkdir test

$ cd test

$ ../../../idl-compiler/orbit-idl ../interface_repository.idl
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
Message: Type IDLN_TYPE_SEQUENCE needs no name
$ ls -s
total 2236
  64 interface_repository-common.c  1224 interface_repository-stubs.c
 948 interface_repository-skels.c      0 interface_repository.h

Conclusion: it doesnt creates the header file.

What should I do, that problem seems really annoying and I think it may
appear at some other compilation points...

--
Here is my current configuration:

Linux 2.0.36 / Debian 2.0
automake (GNU automake) 1.3
Autoconf version 2.12
gettext (GNU gettext) 0.10.35

$ gtk-config --version
1.1.6
( libgtk-1.1.so.6 => libgtk-1.1.so.6.0.0 )

$ glib-config --version
1.1.6
( libglib-1.1.so.6 => libglib-1.1.so.6.0.0 )

$ imlib-config --version
1.8.1
( libgdk_imlib.so.1 => libgdk_imlib.so.1.8.1 )


Well, I hope someone that encountered the same problem may be able to
help me, I really cant use gnome without ORBit.

Finally, here's a log of my failed compilation, perhaps that may help...

Well bye, thanks to anyone that may help me !


-------------
Making all in orb
make[3]: Entering directory `/usr/local/gnome/download/ORBit/src/orb'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I.. -I../../src -I/usr/local/gnome/lib/glib/include
-I/usr/local/gnome/include
-DORBit_SYSRC=\"/usr/local/gnome/etc/orbitrc\"  -g -O2 -c allocators.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src
-I/usr/local/gnome/lib/glib/include -I/usr/local/gnome/include
-DORBit_SYSRC=\"/usr/local/gnome/etc/orbitrc\" -g -O2
-Wp,-MD,.deps/allocators.p -c -fPIC -DPIC allocators.c
In file included from orbit.h:61,
                 from allocators.c:5:
../orb/dii.h:92: parse error before `CORBA_OperationDef'
In file included from orbit.h:67,
                 from allocators.c:5:
../orb/orb.h:107: parse error before `CORBA_Object_get_interface'
../orb/orb.h:109: warning: data definition has no type or storage class
../orb/orb.h:201: parse error before `CORBA_StructMemberSeq'
../orb/orb.h:209: parse error before `CORBA_UnionMemberSeq'
../orb/orb.h:216: parse error before `CORBA_EnumMemberSeq'
../orb/orb.h:230: parse error before `CORBA_StructMemberSeq'
make[3]: *** [allocators.lo] Error 1
make[3]: Leaving directory `/usr/local/gnome/download/ORBit/src/orb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/gnome/download/ORBit/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gnome/download/ORBit'
make: *** [all-recursive-am] Error 2
-------------------------------



Jerome OUFELLA
Department of Telecommunications & Network engineering
Universitary Institute of Technology of Aix en Provence
Marseille, FRANCE






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