Re: [orbitcpp-list] Errors trying to make orbitcpp-0.25.1
Status: Beta
Brought to you by:
philipd
From: Darwin Z. <dz...@mi...> - 2000-02-16 21:09:00
|
Either it's newbie'ism or I'm just stupid, but with the gcc 2.95.2 that I built from source I get this error when trying to do the make on orbitcpp: make[4]: Entering directory `/home/dzins1/src/orbitcpp-0.25.1/test/string/generated' c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I/usr/lib/glib/include -I -I/usr/lib/glib/include -I/usr/include -g -O0 -c stringtest-cpp-stubs.cc stringtest-cpp-stubs.cc: In method `char * test::StringTester_stub::op(const char *, char *&, CORBA::String_out)': stringtest-cpp-stubs.cc:75: passing `const char *' as argument 2 of `ORBIT_C::test_StringTester_op(ORBIT_C::CORBA_Object_struct *, CORBA_char *, CORBA_char **, CORBA_char **, ORBIT_C::CORBA_Environment *)' discards qualifiers make[4]: *** [stringtest-cpp-stubs.o] Error 1 make[4]: Leaving directory `/home/dzins1/src/orbitcpp-0.25.1/test/string/generated' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dzins1/src/orbitcpp-0.25.1/test/string' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dzins1/src/orbitcpp-0.25.1/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dzins1/src/orbitcpp-0.25.1' make: *** [all-recursive-am] Error 2 When I try to use gcc from the rpms from redhat when I run the configure script I get the following error: checking for c++... c++ checking whether the C++ compiler (c++ ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. Thanks again for any help. The packages I had before were egcs packages (came with RedHat 6.1). I downloaded the ones you pointed to in /pub/rawhide, but they were gcc packages, I don't know if that makes a difference. I did install binutils gcc gcc-c++ cpp using rpm -Uvh. I'm really interested in your project. Darwin Phil Dawes wrote: > Darwin Zins wrote: > > > > Thanks, you know I even saw that in the archives, but it didn't dawn on me... > > > > Are there an options when configuring gcc that you suggest I should enable? > > > > Thanks, > > > > Darwin > > > > Not that I know of - a stock gcc 2.95.2 build should do the trick. > <lamer> > I run linux so I just got my copy of gcc-2.95.2 as a redhat package from > ftp.redhat.com/pub/rawhide > </lamer> > > Cheers, > > Phil. > > _______________________________________________ > orbitcpp-list mailing list > orb...@li... > http://lists.sourceforge.net/mailman/listinfo/orbitcpp-list |