[irrtoolset]Making IRRToolSet compile...
Katie Petrusha katie at ripe.net
Thu Jan 22 10:25:31 CET 2004
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: *** [prefix.o] Error 1 > gmake: 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