RE: [orbitcpp-list] Trouble compiling
Status: Beta
Brought to you by:
philipd
From: john p. <jpr...@sn...> - 2001-08-27 23:35:15
|
did you install the latest orbit developement package. Its been a while but I believe I uninstalled all orbit packages. sometimes i have to force it because gtk or some other gnome thingy depends on orbit. Then install orbit and the orbit development package, then install and compile the cpp package. you might have to do part of this from a telnet session because you might loose gtk. good luck -----Original Message----- From: orb...@li... [mailto:orb...@li...]On Behalf Of Sune Molgaard Sent: Monday, August 27, 2001 6:54 PM To: orb...@li... Subject: [orbitcpp-list] Trouble compiling Hi all. I ahve just compiled ORBit 0.5.8, and started compiling orbit-cpp. However, it barfs with a lot of errors, starting with c++ -DHAVE_CONFIG_H -I. -I. -I../../../orb -I../../.. -I../../.. -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -g -O0 -Wall -W -c everything-cpp-skels.cc In file included from /usr/local/include/orb/orbit.h:63, from ../../../orb/orbitcpp_types.hh:30, from ../../../orb/orbitcpp.hh:36, from everything-cpp-common.hh:11, from everything-cpp-stubs.hh:11, from everything-cpp-skels.hh:8, from everything-cpp-skels.cc:6: /usr/local/include/orb/env.h:51: warning: non-static const member `CORBA_TypeCode_struct* const <anonymous struct>::tc' in class without a constructor /usr/local/include/orb/env.h:56: warning: non-static const member `CORBA_TypeCode_struct* const <anonymous struct>::tc' in class without a constructor everything-cpp-skels.cc: In static member function `static _orbitcpp::c::test_VariableLengthStruct* POA_test::StructServer::_skel_opVariable(void*, const _orbitcpp::c::test_VariableLengthStruct*, _orbitcpp::c::test_VariableLengthStruct*, _orbitcpp::c::test_VariableLengthStruct**, CORBA_Environment*)': everything-cpp-skels.cc:363: invalid reinterpret_cast from type `const _orbitcpp::c::test_VariableLengthStruct' to type `const test::VariableLengthStruct' everything-cpp-skels.cc: In static member function `static _orbitcpp::c::test_CompoundStruct* POA_test::StructServer::_skel_opCompound(void*, const _orbitcpp::c::test_CompoundStruct*, _orbitcpp::c::test_CompoundStruct*, _orbitcpp::c::test_CompoundStruct**, CORBA_Environment*)': All the other errors are similar to this. glibc is 2.2.3 and compiler is gcc 3.0.1. Best regards, Sune M -- I have seen no evidence whatsoever that Microsoft's millions of dollars have enabled them to come up with a better product than MIT's few grad students. - Paul D. Smith, on Windows vs. X11 _______________________________________________ orbitcpp-list mailing list orb...@li... http://lists.sourceforge.net/lists/listinfo/orbitcpp-list |