Compilation fails



Greetings,
I am trying to compile orbitcpp, cvs version. (gcc-4.1, Gnome 2.14)
"make" command fails with these messages:

...
Making all in generated
make[6]: Entering directory `/home/maxim/temp2/cvs/orbitcpp/test/cpp/any/simple/generated'
orbit-idl-2 -l c ./../test.idl
orbit-idl-2 2.14.0 compiling
 mode, hide preprocessor errors, passes: stubs skels common headers

orbit-idl-2 --backenddir=../../../../../orbitcpp/idl-compiler/.libs -l cpp ./../test.idl
orbit-idl-2 2.14.0 compiling
 mode, hide preprocessor errors, passes: stubs skels common headers

gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../.. -I../../../../.. -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Igenerated -D_ORBITCPP_TESTCODE -g -O2 -c test-common.c g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../.. -I../../../../.. -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Igenerated -D_ORBITCPP_TESTCODE -g -O2 -c test-cpp-common.cc test-cpp-common.cc: In constructor ‘Test::E::E(const CORBA::Any&, const CORBA::Any (&)[10])’: test-cpp-common.cc:297: error: invalid conversion from ‘const CORBA::Any*’ to ‘Test::AnyArray_slice*’ test-cpp-common.cc:297: error: initializing argument 2 of ‘void Test::AnyArray_copy(Test::AnyArray_slice*, Test::AnyArray_slice*)’
make[6]: *** [test-cpp-common.o] Error 1
make[6]: Leaving directory `/home/maxim/temp2/cvs/orbitcpp/test/cpp/any/simple/generated'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/maxim/temp2/cvs/orbitcpp/test/cpp/any/simple'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/maxim/temp2/cvs/orbitcpp/test/cpp/any'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/maxim/temp2/cvs/orbitcpp/test/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/maxim/temp2/cvs/orbitcpp/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/maxim/temp2/cvs/orbitcpp'
make: *** [all-recursive-am] Error 2

Should I submit a bug to bugzilla?

--
Kind regards,
Maxim Udushlivy





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