[sword-devel] Corba-bindings of sword

DM Smith dmsmith555 at yahoo.com
Wed Aug 13 13:24:05 MST 2008


Peter von Kaehne wrote:
> Hi everyone
> Has anyone experience with compiling corba-bindings?
>
> I am struggling and get all kinds of error messages re undefined this and that, seemingly it does not find my sword headers - none of them. 
>
> How can I rectify this?
>
> The headers are installed in /usr/include/sword
>
> There are these lines in the Makefile : 
>
> #sword stuff
> CXXFLAGS += $(shell PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig pkg-config --cflags sword)
> CFLAGS += $(shell PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig pkg-config --cflags sword)
> LIBS += $(shell PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig pkg-config --libs sword)
>
> I presume these must be changed, but am clueless how.
>   
I've just tried to rebuild on the crosswire server (which is 64 bit) 
according to some tried and true instructions from Troy.
I am getting a build failure too:
cd .../sword
svn update
../autogen.sh
../usrinst.sh
make
make install
cd bindings/corba/orbitcpp
make clean server install

Here is the output of the last line:
rm -f *.h *.cc *.o *.c server testclient
orbit-idl-2 -l c ./../swordorb.idl
orbit-idl-2 2.14.10 compiling
mode, hide preprocessor errors, passes: stubs skels common headers

Processing file ./../swordorb.idl
orbit-idl-2 -l cpp ./../swordorb.idl
orbit-idl-2 2.14.10 compiling
mode, hide preprocessor errors, passes: stubs skels common headers

Processing file ./../swordorb.idl
cc -I/home/dmsmith/env/include/sword -DORBIT2=1 -pthread 
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/orbitcpp-2.0 -I. -c 
swordorb-common.c
g++ -I/home/dmsmith/env/include/sword -DORBIT2=1 -pthread 
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/orbitcpp-2.0 -I. -c 
swordorb-impl.cpp
swordorb-cpp-skels.h:67: warning: deprecated covariant return type for 
‘virtual void** POA_swordorb::SWModule::_orbitcpp_get_c_servant()’
/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_poa.h:63: warning: 
overriding ‘virtual void* 
PortableServer::ServantBase::_orbitcpp_get_c_servant()’
swordorb-cpp-skels.h:174: warning: deprecated covariant return type for 
‘virtual void** POA_swordorb::SWMgr::_orbitcpp_get_c_servant()’
/usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_poa.h:63: warning: 
overriding ‘virtual void* 
PortableServer::ServantBase::_orbitcpp_get_c_servant()’
swordorb-impl.cpp: In member function ‘virtual swordorb::StringList* 
swordorb::SWModule_impl::getKeyChildren()’:
swordorb-impl.cpp:281: error: ‘class sword::VerseKey’ has no member 
named ‘books’
swordorb-impl.cpp:284: error: ‘class sword::VerseKey’ has no member 
named ‘books’
make: *** [swordorb-impl.o] Error 1





More information about the sword-devel mailing list