Thread: [orbitcpp-list] Errors trying to make orbitcpp-0.25.1
Status: Beta
Brought to you by:
philipd
From: Darwin Z. <dz...@mi...> - 2000-02-14 17:42:31
|
Hi, I downloaded orbitcpp-0.25.1.tar.gz, untarred it, typed ./configure in the orbitcpp-0.25.1 directory and then typed make. make comes up with an error in test/sequence/generated/sequence.hh on line 31. Am I doing something wrong? Thanks for any help, Darwin |
From: Ronald G. <rga...@pi...> - 2000-02-14 22:13:55
|
Hey darwin, >>>>> "dz" == Darwin Zins <dz...@mi...> writes: dz> Hi, dz> I downloaded orbitcpp-0.25.1.tar.gz, untarred it, typed dz> ./configure in the orbitcpp-0.25.1 directory and then typed dz> make. make comes up with an error in dz> test/sequence/generated/sequence.hh on line 31. dz> Am I doing something wrong? what is the error exactly? could you post it to the list? ron |
From: Darwin Z. <dz...@mi...> - 2000-02-14 22:44:45
|
This is what I get: make[4]: Entering directory `/home/dzins1/src/orbitcpp-0.25.1/test/sequence/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 sequence-cpp-stubs.cc In file included from sequence-cpp-stubs.cc:2: sequence.hh:35: template-id `operator new<>' for `::ORBIT_CPP::::ORBIT_CPP::SequenceTmpl<::CORBA::String_mgr,::ORBIT_C::CORBA_sequence_CORBA_string,::test::CORBA_sequence_CORBA_string_cppseqstruct>::operator new<>(size_t)' does not match any template declaration sequence.hh:35: confused by earlier errors, bailing out make[4]: *** [sequence-cpp-stubs.o] Error 1 make[4]: Leaving directory `/home/dzins1/src/orbitcpp-0.25.1/test/sequence/generated' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dzins1/src/orbitcpp-0.25.1/test/sequence' 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 Thanks again for any help. Darwin Ronald Garcia wrote: > Hey darwin, > >>>>> "dz" == Darwin Zins <dz...@mi...> writes: > > dz> Hi, > > dz> I downloaded orbitcpp-0.25.1.tar.gz, untarred it, typed > dz> ./configure in the orbitcpp-0.25.1 directory and then typed > dz> make. make comes up with an error in > dz> test/sequence/generated/sequence.hh on line 31. > > dz> Am I doing something wrong? > > what is the error exactly? could you post it to the list? > > ron > > _______________________________________________ > orbitcpp-list mailing list > orb...@li... > http://lists.sourceforge.net/mailman/listinfo/orbitcpp-list |
From: Phil D. <ph...@or...> - 2000-02-15 22:12:45
|
Darwin Zins wrote: > > This is what I get: > > make[4]: Entering directory > `/home/dzins1/src/orbitcpp-0.25.1/test/sequence/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 sequence-cpp-stubs.cc > In file included from sequence-cpp-stubs.cc:2: > sequence.hh:35: template-id `operator new<>' for > The problem is that you need a newer versin of gcc - gcc version 2.95.2 doesn't have this problem. Hope this helps, Phil. |
From: Darwin Z. <dz...@mi...> - 2000-02-16 19:50:15
|
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 Phil Dawes wrote: > Darwin Zins wrote: > > > > This is what I get: > > > > make[4]: Entering directory > > `/home/dzins1/src/orbitcpp-0.25.1/test/sequence/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 sequence-cpp-stubs.cc > > In file included from sequence-cpp-stubs.cc:2: > > sequence.hh:35: template-id `operator new<>' for > > > > The problem is that you need a newer versin of gcc - gcc version 2.95.2 > doesn't have this problem. > > Hope this helps, > > Phil. > > _______________________________________________ > orbitcpp-list mailing list > orb...@li... > http://lists.sourceforge.net/mailman/listinfo/orbitcpp-list |
From: Phil D. <ph...@or...> - 2000-02-16 19:54:31
|
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. |
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 |