[irrtoolset]Making IRRToolSet compile...
Katie Petrusha katie at ripe.net
Thu Jan 22 10:28:27 CET 2004
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: *** [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. > > 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