Hello everyone,

If you've not worked with FlightGear under Mac OS X, delete now.

OK, both of you that are left reading this, thanks.

I'll make a long story short: every attempt I have made to compile
FlightGear, whether 0.9.1 or from CVS, fails in the final link
in the same way: ld is unable to resolve the symbols gen_leaf and
ssgVtxTable::ssgVtxTable.  I have attempted the compile in every
permutation I can imagine, which is not a few.  More importantly,
I have attempted the compile on a fresh install of OS, etc. with as
little as possible installed.  Same error.  I can only conclude that I
am introducing the problem somewhere in the same way each time.

I am installing:
- Mac OS X 10.2.0 (minus all extra languages and applications)
- Mac OS X Update Combo 10.2.3
(at this point I change my shell to bash)
- Dec 2002 Dev Tools CD (plus BSD SDK)
- StuffIt STD 7.01 OS X Install
- Fink 0.5.0a
(at this point I add the Fink init.sh to my .bashrc, and source it)
- cvs-1.11.2.tar.gz (to support fink, installed via fink)
- dlcompat-20021117.tar.gz (to support fink, installed via fink)
- X4211src.tar.bz2 (via fink)
(everything below is installed in a work directory in my $HOME)
- plib-1.6.0.tar.gz
- metakit-2.4.3-33.tar.gz
- SimGear (via CVS)
- FlightGear (via CVS)

Here is the final link in the compile and resulting messages:

g++ -DPKGLIBDIR=\"/Users/david/FlightGear/FlightGear-20030103/lib/FlightGear\" -g -O1 
-finline-limit=6 -finline-functions -faltivec -D_REENTRANT  -L/sw/lib -L/usr/X11R6/lib 
-L/Users/david/FlightGear/FlightGear-20030103/lib -o fgfs  main.o fg_commands.o 
fg_init.o fg_io.o fg_props.o fgfs.o globals.o logger.o options.o splash.o util.o 
viewer.o viewmgr.o location.o ../../src/Aircraft/libAircraft.a ../../src/ATC/libATC.a 
../../src/Autopilot/libAutopilot.a ../../src/Cockpit/libCockpit.a 
../../src/Cockpit/built_in/libBuilt_in.a ../../src/Controls/libControls.a 
../../src/FDM/libFlight.a ../../src/FDM/Balloon/libBalloon.a 
../../src/FDM/ExternalNet/libExternalNet.a ../../src/FDM/JSBSim/libJSBSim.a 
../../src/FDM/YASim/libYASim.a ../../src/FDM/JSBSim/filtersjb/libfiltersjb.a 
../../src/FDM/LaRCsim/libLaRCsim.a ../../src/FDM/UIUCModel/libUIUCModel.a 
../../src/GUI/libGUI.a ../../src/Input/libInput.a 
../../src/Instrumentation/libInstrumentation.a ../../src/Model/libModel.a 
../../src/Navaids/libNavaids.a ../../src/Scenery/libScenery.a  
../../src/Sound/libSound.a ../../src/Airports/libAirports.a 
../../src/Network/libNetwork.a ../../src/NetworkOLK/libNetworkOLK.a 
../../src/Objects/libObjects.a ../../src/Systems/libSystems.a ../../src/Time/libTime.a 
../../src/Environment/libEnvironment.a -lsgroute -lsgsky -lsgephem -lsgtiming -lsgio 
-lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml -lsgserial 
-lsgthreads -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul  -lmk4 
-lz -lpthread -lm  -framework GLUT -framework OpenGL -framework Carbon -lobjc -lplibsl 
-lplibsm -lm
ld: warning table of contents of library: ../../src/FDM/JSBSim/libJSBSim.a not sorted 
slower link editing will result (use the ranlib(1) -s option)
ld: Undefined symbols:
ssgVtxTable::ssgVtxTable[in-charge](unsigned, ssgVertexArray*, ssgNormalArray*, 
ssgTexCoordArray*, ssgColourArray*)
gen_leaf(std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, unsigned long, std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, std::vector<Point3D, std::allocator<Point3D> > const&, 
std::vector<Point3D, std::allocator<Point3D> > const&, std::vector<Point3D, 
std::allocator<Point3D> > const&, std::vector<int, std::allocator<int> > const&, 
std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > 
const&, bool, ssgVertexArray*)
make[2]: *** [fgfs] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Any thoughts would be greatly appreciated.

Regards,

David K. Drum
[EMAIL PROTECTED]

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to