mvnForum Homepage

Posted by ejb at Jun 24, 2007 7:10:47 PM
corba/orbitcpp bindings make errors

I am trying to get the JSP sword web interface running. I am following the directions at this page ( but I am stumped at the orbitcpp build process. Any help would be much appreciated! BTW opensource + Christianity = a good match! Keep up the good work.

Here is my setup:
$ uname -a
Linux bluebox 2.6.20-gentoo-r8 #1 SMP Thu Jun 7 18:33:43 EST 2007 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

Latest version installed: 2.14.7

Latest version installed: 1.3.9
(Orbitcpp was masked [marked unstable] in the gentoo's package system so that might be the problem.)

Latest version installed: 5.5.23-r1

Here is a portion of the error:

zephyr@bluebox ~/sword/bindings/corba/orbitcpp $ make
g++ -I/usr/include/sword -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/orbitcpp-2.0 -g -O0 -I. -c swordorb-impl.cpp
In file included from swordorb-cpp-stubs.h:11,
from swordorb-cpp-skels.h:8,
from swordorb-impl.hpp:4,
from swordorb-impl.cpp:1:
swordorb-cpp-common.h:10:39: error: orbitcpp/orb-cpp/orbitcpp.h: No such file or directory
swordorb-cpp-common.h:20: error: '::_orbitcpp' has not been declared
swordorb-cpp-common.h:20: error: expected initializer before '<' token

................... cut ................

swordorb-impl.cpp:337: error: 'CORBA' has not been declared
swordorb-impl.cpp:337: error: expected `)' before 'SystemException'
swordorb-impl.cpp:337: error: expected initializer before 'SystemException'
swordorb-impl.cpp:353: error: 'CORBA' has not been declared
swordorb-impl.cpp:353: error: expected `)' before 'SystemException'
swordorb-impl.cpp:353: error: expected initializer before 'SystemException'
make: *** [swordorb-impl.o] Error 1

Let me know if you need more info.
Thanks again,