Evening -
I am currently trying to compile FlightGear - SimGear, openl, plib etc
have compiled without any errors whatsoever, but for some strange and
obscure reason that i can't figure, the FG compile spits this out -
Making all in Main
make[2]: Entering directory `/root/FlightGear-0.9.8/src/Main'
g++ -DPKGLIBDIR=\"/usr/local/share/FlightGear\" -g -O2 -D_REENTRANT
-L/usr/X11R6/lib -L/usr/local//lib -o fgfs bootstrap.o
../../src/Main/libMain.a ../../src/Aircraft/libAircraft.a
../../src/ATC/libATC.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/ExternalPipe/libExternalPipe.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/FDM/SP/libSPFDM.a
../../src/GUI/libGUI.a ../../src/Autopilot/libAutopilot.a
../../src/Input/libInput.a
../../src/Instrumentation/libInstrumentation.a
../../src/Model/libModel.a ../../src/AIModel/libAIModel.a
../../src/Network/libNetwork.a ../../src/Navaids/libNavaids.a
../../src/Scenery/libScenery.a ../../src/Scripting/libScripting.a
../../src/Sound/libSound.a ../../src/Airports/libAirports.a
../../src/MultiPlayer/libMultiPlayer.a ../../src/Replay/libReplay.a
../../src/Systems/libSystems.a ../../src/Time/libTime.a
../../src/Traffic/libTraffic.a ../../src/Environment/libEnvironment.a
-lsgclouds3d -lsgroute -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb
-lsgmodel -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops
-lsgdebug -lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound -lsgserial
-lsgstructure -lsgenvironment -lsgthreads -lpthread -lplibpu -lplibfnt
-lplibjs -lplibnet -lplibssg -lplibsg -lplibul -lz -lglut -lGLU -lGL
-lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -ldl -lm -lopenal -ldl -lm
-lpthread
/usr/local//lib/libsgsound.a(sample_openal.o)(.text+0x9ea): In function
`SGSoundSample::SGSoundSample[not-in-charge](char const*, char const*,
bool)':
../../simgear/misc/sg_path.hxx:127: undefined reference to `alutLoadWAVFile'
/usr/local//lib/libsgsound.a(sample_openal.o)(.text+0xae5): In function
`SGSoundSample::SGSoundSample[not-in-charge](char const*, char const*,
bool)':
/root/SimGear-0.3.8/simgear/sound/sample_openal.cxx:119: undefined
reference to `alutUnloadWAV'
/usr/local//lib/libsgsound.a(sample_openal.o)(.text+0x12ea): In function
`SGSoundSample::SGSoundSample[in-charge](char const*, char const*, bool)':
../../simgear/misc/sg_path.hxx:127: undefined reference to `alutLoadWAVFile'
/usr/local//lib/libsgsound.a(sample_openal.o)(.text+0x13e5): In function
`SGSoundSample::SGSoundSample[in-charge](char const*, char const*, bool)':
/root/SimGear-0.3.8/simgear/sound/sample_openal.cxx:119: undefined
reference to `alutUnloadWAV'
/usr/local//lib/libsgsound.a(sample_openal.o)(.text+0x1b56): In function
`SGSoundSample::SGSoundSample[not-in-charge](unsigned char*, int, int,
bool)':
/root/SimGear-0.3.8/simgear/sound/sample_openal.cxx:189: undefined
reference to `alutUnloadWAV'
/usr/local//lib/libsgsound.a(sample_openal.o)(.text+0x22d6): In function
`SGSoundSample::SGSoundSample[in-charge](unsigned char*, int, int, bool)':
/root/SimGear-0.3.8/simgear/sound/sample_openal.cxx:189: undefined
reference to `alutUnloadWAV'
/usr/local//lib/libsgsound.a(soundmgr_openal.o)(.text+0xa8): In function
`SGSoundMgr::SGSoundMgr[not-in-charge]()':
/root/SimGear-0.3.8/simgear/sound/soundmgr_openal.cxx:74: undefined
reference to `alutInit'
/usr/local//lib/libsgsound.a(soundmgr_openal.o)(.text+0xaf):/root/SimGear-0.3.8/simgear/sound/soundmgr_openal.cxx:75:
undefined reference to `alutExit'
/usr/local//lib/libsgsound.a(soundmgr_openal.o)(.text+0x5f8): In
function `SGSoundMgr::SGSoundMgr[in-charge]()':
/root/SimGear-0.3.8/simgear/sound/soundmgr_openal.cxx:74: undefined
reference to `alutInit'
/usr/local//lib/libsgsound.a(soundmgr_openal.o)(.text+0x5ff):/root/SimGear-0.3.8/simgear/sound/soundmgr_openal.cxx:75:
undefined reference to `alutExit'
collect2: ld returned 1 exit status
make[2]: *** [fgfs] Error 1
make[2]: Leaving directory `/root/FlightGear-0.9.8/src/Main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/FlightGear-0.9.8/src'
make: *** [all-recursive] Error 1
I am compiling on Slackware 10.1
Any help would be appreciated.
--
Sam Ingarfield
Student, Western Australia
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d