[irrtoolset]Making IRRToolSet compile...
Hi, me again. Someone pointed me towards IRRToolSet which is a bit newer than RAToolSet. I'm trying to make IRRToolSet 4.8.1 compile on NetBSD 1.6 with gcc 2.95.3 and the libsdc++ which came with that compiler. First off: it seems that almost all of the diffs I sent earlier against RAToolSet still have to be applied to IRRToolSet. Second: how has anyone got IRRToolSet 4.8.1 to compile?!? I have to ask, because I get: c++ -c -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../../Core prefix.cc prefix.cc: In method `void MPPrefixRanges::and(MPPrefixRanges *)': prefix.cc:1147: implicit declaration of function `int assign(...)' gmake[4]: *** [prefix.o] Error 1 gmake[4]: Leaving directory `/usr/pkgsrc/net/IRRToolSet/work/IRRToolSet-4.8.1/src/rpsl/rpsl' ...and implicit declarations in C++ are as far as I know fatal. How can this compile at all on any other platform? Fixing this appears to require more C++ skills or familiarity with the code than I have, so assistance on this point would be much appreciated. Regards, - Håvard
On Wednesday 21 January 2004 9:55 pm, Havard Eidnes wrote:
Hi,
me again. Someone pointed me towards IRRToolSet which is a bit newer than RAToolSet. I'm trying to make IRRToolSet 4.8.1 compile on NetBSD 1.6 with gcc 2.95.3 and the libsdc++ which came with that compiler.
First off: it seems that almost all of the diffs I sent earlier against RAToolSet still have to be applied to IRRToolSet.
Second: how has anyone got IRRToolSet 4.8.1 to compile?!? I have to ask, because I get:
c++ -c -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../../Core prefix.cc prefix.cc: In method `void MPPrefixRanges::and(MPPrefixRanges *)': prefix.cc:1147: implicit declaration of function `int assign(...)' gmake[4]: *** [prefix.o] Error 1 gmake[4]: Leaving directory `/usr/pkgsrc/net/IRRToolSet/work/IRRToolSet-4.8.1/src/rpsl/rpsl'
...and implicit declarations in C++ are as far as I know fatal. How can this compile at all on any other platform?
Fixing this appears to require more C++ skills or familiarity with the code than I have, so assistance on this point would be much appreciated.
I also haven't yet managed to get it to compile - I've just setup a debian 3.0 box so that I have a system with <gcc 3.x.x on which to play. The binary version runs fine on the Debian box, which is good enough for my purposes at present :) Could someone post a system spec (software wise) that is known to work (for compiling) - please include distro if possible. Regards, Jon
On Wed, Jan 21, 2004 at 10:08:05PM +0000, Jon Lawrence wrote:
On Wednesday 21 January 2004 9:55 pm, Havard Eidnes wrote:
Hi,
me again. Someone pointed me towards IRRToolSet which is a bit newer than RAToolSet. I'm trying to make IRRToolSet 4.8.1 compile on NetBSD 1.6 with gcc 2.95.3 and the libsdc++ which came with that compiler.
First off: it seems that almost all of the diffs I sent earlier against RAToolSet still have to be applied to IRRToolSet.
Second: how has anyone got IRRToolSet 4.8.1 to compile?!? I have to ask, because I get:
c++ -c -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../../Core prefix.cc prefix.cc: In method `void MPPrefixRanges::and(MPPrefixRanges *)': prefix.cc:1147: implicit declaration of function `int assign(...)' gmake[4]: *** [prefix.o] Error 1 gmake[4]: Leaving directory `/usr/pkgsrc/net/IRRToolSet/work/IRRToolSet-4.8.1/src/rpsl/rpsl'
...and implicit declarations in C++ are as far as I know fatal. How can this compile at all on any other platform?
Fixing this appears to require more C++ skills or familiarity with the code than I have, so assistance on this point would be much appreciated.
Dear Jon, Please see http://www.ripe.net/db/irrtoolset for all the information.
I also haven't yet managed to get it to compile - I've just setup a debian 3.0 box so that I have a system with <gcc 3.x.x on which to play. The binary version runs fine on the Debian box, which is good enough for my purposes at present :)
As far as I can remember, the README supplied together with IRRToolSet mentions that IRRToolSet is unfortunately not yet gcc-3 compliant and therefore you cannot use this compiler :-( We will update the code to be gcc-3 compliant at some point. But for now, please use gcc-2.95-*.
Could someone post a system spec (software wise) that is known to work (for compiling) - please include distro if possible.
I can send you the binaries for platforms where it was compiled, but probably ftp is more convenient source.
Regards, Jon
-- Kind regards, Katie Petrusha Software Engineering Department RIPE NCC
Hi, i had 4.8.1 compile on a x86 gentoo-linux 2.4.22 with gcc2.95.3, but peval produced a segmentation fault so i went back to 4.7.3 which works well. The binary distributions (both 4.7.3 and 4.8.1) don't work on my system :-( Cheers Jan Jon Lawrence wrote:
On Wednesday 21 January 2004 9:55 pm, Havard Eidnes wrote:
Hi,
me again. Someone pointed me towards IRRToolSet which is a bit newer than RAToolSet. I'm trying to make IRRToolSet 4.8.1 compile on NetBSD 1.6 with gcc 2.95.3 and the libsdc++ which came with that compiler.
First off: it seems that almost all of the diffs I sent earlier against RAToolSet still have to be applied to IRRToolSet.
Second: how has anyone got IRRToolSet 4.8.1 to compile?!? I have to ask, because I get:
c++ -c -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../../Core prefix.cc prefix.cc: In method `void MPPrefixRanges::and(MPPrefixRanges *)': prefix.cc:1147: implicit declaration of function `int assign(...)' gmake[4]: *** [prefix.o] Error 1 gmake[4]: Leaving directory `/usr/pkgsrc/net/IRRToolSet/work/IRRToolSet-4.8.1/src/rpsl/rpsl'
...and implicit declarations in C++ are as far as I know fatal. How can this compile at all on any other platform?
Fixing this appears to require more C++ skills or familiarity with the code than I have, so assistance on this point would be much appreciated.
I also haven't yet managed to get it to compile - I've just setup a debian 3.0 box so that I have a system with <gcc 3.x.x on which to play. The binary version runs fine on the Debian box, which is good enough for my purposes at present :)
Could someone post a system spec (software wise) that is known to work (for compiling) - please include distro if possible.
Regards, Jon
-- Jan Boogman / Swisscom IP-Plus AS3303 / Backbone Engineering / CCIE#7345
On Wed, Jan 21, 2004 at 10:55:59PM +0100, Havard Eidnes wrote: Dear Havard, All information about IRRToolSet and supported platforms is available at: http://www.ripe.net/db/irrtoolset You can also find link to ftp site there. The development platform ( for last 2 years at least) was Linux PC using gcc-2.95.3 and libstdc++-2.9.0. I haven't seen any compilation problems there. There are binaries available for FreeBSD, Solaris and Linux (see ftp site). Unfortunately we don't have NetBSD platform here to use it as a test platform; If you manage to compile with patches you supply on your NetBSD, we can incorporate them into the source code (however I can't test it here myself). Please also note that IRRToolSet-4.8.1 supports RPSLng, so you might need a IRR server which supports RPSLng too. See RELEASE-NOTES for further details. Hopefully it will be helpful.
Hi,
me again. Someone pointed me towards IRRToolSet which is a bit newer than RAToolSet. I'm trying to make IRRToolSet 4.8.1 compile on NetBSD 1.6 with gcc 2.95.3 and the libsdc++ which came with that compiler.
Which version of libstdc++ are you using?
First off: it seems that almost all of the diffs I sent earlier against RAToolSet still have to be applied to IRRToolSet.
Second: how has anyone got IRRToolSet 4.8.1 to compile?!? I have to ask, because I get:
c++ -c -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../../Core prefix.cc prefix.cc: In method `void MPPrefixRanges::and(MPPrefixRanges *)': prefix.cc:1147: implicit declaration of function `int assign(...)' gmake[4]: *** [prefix.o] Error 1 gmake[4]: Leaving directory `/usr/pkgsrc/net/IRRToolSet/work/IRRToolSet-4.8.1/src/rpsl/rpsl'
...and implicit declarations in C++ are as far as I know fatal. How can this compile at all on any other platform?
Fixing this appears to require more C++ skills or familiarity with the code than I have, so assistance on this point would be much appreciated.
assign() is a standard STL function (as insert, erase) to operate with STL vectors. I do have it in my STL libraries, but maybe you don't? Could it be deprecated? :( I shall look what could be used instead. Thanks for highlighting this issue!
Regards,
- H?vard
-- Kind regards, Katie Petrusha Software Engineering Department RIPE NCC
me again. Someone pointed me towards IRRToolSet which is a bit newer than RAToolSet. I'm trying to make IRRToolSet 4.8.1 compile on NetBSD 1.6 with gcc 2.95.3 and the libsdc++ which came with that compiler.
Which version of libstdc++ are you using?
Hmm... It's supposed to be 2.10.0, but ... the header files which were installed on my system were older than that. I don't know offhand what's caused that. E.g. stl_vector.h was missing the assign() declaration. As much as I hate to admit it, it looks like it may have been something wrong with the local installation, so this may have been a false alarm. I'll try to look into what caused this to happen, as I've followed all the normal procedures for updating the system. Regards, - Håvard
participants (4)
-
Havard Eidnes -
Jan Boogman -
Jon Lawrence -
Katie Petrusha