[irrtoolset]Making IRRToolSet compile...
Jon Lawrence jon at lawrence.org.uk
Wed Jan 21 23:08:05 CET 2004
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. > 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