On Sat, Sep 28, 2002 at 07:31:54AM -0500, Sydney Weidman wrote: > Hi! > > I was just trying to compile the latest release of FG, but I got a bunch > of errors. I notice the errors involve gcc 3.2 stdc++ headers, so maybe > I have used an unsupported version of gcc. > > Some compiler error messages follow. > > Thanks for this entertaining and interesting software. > > Regards, > Syd. > > Making all in Airports > make[2]: Entering directory > `/home/gnome2/working/FlightGear-0.8.0/src/Airports'g++ -g -O2 > -L/usr/X11R6/lib -o gensimple gensimple.o libAirports.a -lsgdebug > -lsgmisc -lsgxml -lmk4 -lz -lm > libAirports.a(simple.o): In function > `FGAirports::FGAirports[not-in-charge](std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)': > /usr/include/c++/3.2/bits/basic_string.h:781: undefined reference to > `c4_Storage::c4_Storage[in-charge](char const*, int)' > libAirports.a(simple.o): In function > `FGAirports::FGAirports[not-in-charge](std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)': > /home/gnome2/working/FlightGear-0.8.0/src/Airports/simple.cxx:77: > undefined reference to `c4_Storage::Strategy() const' > /home/gnome2/working/FlightGear-0.8.0/src/Airports/simple.cxx:82: > undefined reference to `c4_View::c4_View[in-charge](c4_Sequence*)' > /home/gnome2/working/FlightGear-0.8.0/src/Airports/simple.cxx:83: > undefined reference to `c4_Storage::GetAs(char const*)' > > so on and so forth... > Make sure you've compiled all the libraries flightgear depends on with the same compiler you built flightgear with (that includes libmetakit, which is where I've seen problems). Not sure if you'd see this with standard libraries, but I've definitely seen this with metakit when using the Debian packages and building flightgear with gcc-3.2 . . .
Simon -- PGP public key Id 0x144A991C, or http://himi.org/stuff/himi.asc (crappy) Homepage: http://himi.org doe #237 (see http://www.lemuria.org/DeCSS) My DeCSS mirror: ftp://himi.org/pub/mirrors/css/
msg08467/pgp00000.pgp
Description: PGP signature
