I sent this to flightgear-users a couple days ago when 0.9.0 was out.
No response.  The same thing is happening now with 0.9.1, fresh compile
of plib, metakit, and simgear (0.3.1).  Still looking for help.  Thanks.

Quoth David Drum:

> I am compiling FG 0.9.1 on Mac OS X.  The final link fails, it appears
> I am missing one or more libraries, but I cannot find any reference
> to them in plib, metakit, simgear, flightgear, opengl, or glut.
> Could someone help me out?  Thanks.
> 
> # 
> # /Users/david/FlightGear/FlightGear-0.9.1 contains all the required sources,
> # i.e. plib, metakit, simgear and flightgear, and is the value I passed to
> # --prefix when running ./configure during all compiles
> # 
> # /Users/david/FlightGear/FlightGear-0.9.1/FlightGear-0.9.1 is the actual
> # source tree
> # 
> # cwd = /Users/david/FlightGear/FlightGear-0.9.1/FlightGear-0.9.1/src/Main
> # 
> $ g++ -DPKGLIBDIR=\"/Users/david/FlightGear/FlightGear-0.9.1/lib/FlightGear\" -g -O2 
> -L/sw/lib -L/Users/david/FlightGear/FlightGear-0.9.1/lib -L/usr/X11R6/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 -lsgclouds3d -lsgephem 
>-lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc 
>-lsgxml -lsgserial  -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul 
>-lmk4 -lz -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm   
>-lm
> ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or 
>different symbols being used
> symbol _ceilf used from dynamic library /usr/lib/libpthread.dylib(ceilfloor.o) not 
>from earlier dynamic library /usr/X11R6/lib/libGLU.1.dylib(mycode.o)
> symbol _floorf used from dynamic library /usr/lib/libpthread.dylib(ceilfloor.o) not 
>from earlier dynamic library /usr/X11R6/lib/libGLU.1.dylib(mycode.o)
> ld: Undefined symbols:
> _CPSEnableForegroundOperation
> _CPSGetCurrentProcess
> _CPSSetFrontProcess
> _CPSSetProcessName
> slScheduler::loopSample(slSample*, int, slPreemptMode, int, void (*)(slSample*, 
>slEvent, int))
> slScheduler::playSample(slSample*, int, slPreemptMode, int, void (*)(slSample*, 
>slEvent, int))
> slScheduler::realUpdate(int)
> slScheduler::stopSample(slSample*, int)
> slScheduler::pauseSample(slSample*, int)
> slScheduler::resumeSample(slSample*, int)
> slScheduler::setMaxConcurrent(int)
> slScheduler::addSampleEnvelope(slSample*, int, int, slEnvelope*, slEnvelopeType)
> slScheduler::init()
> slScheduler::~slScheduler [in-charge]()
> slDSP::open(char const*, int, int, int)
> slDSP::close()
> smMixer::smMixer[in-charge]()
> smMixer::~smMixer [in-charge]()
> slSample::loadFile(char const*)
> slSample::autoMatch(slDSP const*)
> ___slPendingError
> 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*)
> _CGLGetCurrentContext

Regards,

David K. Drum
[EMAIL PROTECTED]

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

Reply via email to