On 4/28/04 at 4:10 AM Norman Vine wrote:
>Jon Berndt writes: >> >> > You need to re run configure before make < I left this step out >> > in my original msg :-( > >> > >> > % ./configure >> > >> > > > % make >> > > > % make test >> > >> > Norman >> >> >> I got a successful build. I tried running some of the >> also-successfully-built test programs: >> >> Nothing produced any sound. > >Have you tried my partial build of the openal / win directory > >http://www.vso.cape.com/~nhv/files/fgfs/openal.tgz > >probably best to install this into /usr/local > >i.e. > >cd /usr/local >tar -xzvf $PATH_TO/openal.tgz > I've just tried it, and can't get it to link. I added -lopenal32 to the libraries in src/Main/Makefile.am, output is below: make[2]: Entering directory `/cvs_clean/FlightGear/src/Main' g++ -DPKGLIBDIR=\"/Flightgear_clean/lib/FlightGear\" -Wall -O2 -D_REENTRANT -L/usr/local/lib -o fgf s.exe 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/libContro ls.a ../../src/FDM/libFlight.a ../../src/FDM/Balloon/libBalloon.a ../../src/FDM/ExternalNet/libExter nalNet.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/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/Airport s/libAirports.a ../../src/MultiPlayer/libMultiPlayer.a ../../src/Replay/libReplay.a ../../src/System s/libSystems.a ../../src/Time/libTime.a ../../src/Environment/libEnvironment.a -lsgclouds3d -lsgrout e -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb -lsgmodel -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops -lsgdebug -lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound -lsgserial -lsgstruct ure -lsgenvironment -lsgthreads -lpthread -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul -lz -lopenal32 -lglut32 -lglu32 -lopengl32 -luser32 -lgdi32 ../../src/Input/libInput.a(input.o.b)(.text+0x3e81):input.cxx: undefined reference to `_joyGetDevCap [EMAIL PROTECTED]' /usr/local/lib/libsgsound.a(soundmgr_openal.o)(.text+0x19d):soundmgr_openal. cxx: undefined reference to `_alutInit' /usr/local/lib/libsgsound.a(soundmgr_openal.o)(.text+0x99d):soundmgr_openal. cxx: undefined reference to `_alutInit' /usr/local/lib/libsgsound.a(soundmgr_openal.o)(.text+0x111a):soundmgr_openal .cxx: undefined referenc e to `_alutExit' /usr/local/lib/libsgsound.a(soundmgr_openal.o)(.text+0x130a):soundmgr_openal .cxx: undefined referenc e to `_alutExit' /usr/local/lib/libsgsound.a(sample_openal.o)(.text+0x100a):sample_openal.cxx : undefined reference to `_alutLoadWAVFile' /usr/local/lib/libsgsound.a(sample_openal.o)(.text+0x1178):sample_openal.cxx : undefined reference to `_alutUnloadWAV' /usr/local/lib/libsgsound.a(sample_openal.o)(.text+0x1c0a):sample_openal.cxx : undefined reference to `_alutLoadWAVFile' /usr/local/lib/libsgsound.a(sample_openal.o)(.text+0x1d78):sample_openal.cxx : undefined reference to `_alutUnloadWAV' /usr/local/lib/libsgtiming.a(timestamp.o)(.text+0xd):timestamp.cxx: undefined reference to `_timeGet [EMAIL PROTECTED]' /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libplibjs.a(jsWindows.o)(.tex t+0x366):jsWindows.cxx: undefined reference to [EMAIL PROTECTED]' /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libplibjs.a(jsWindows.o)(.tex t+0x6e4):jsWindows.cxx: undefined reference to [EMAIL PROTECTED]' /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libplibul.a(ulClock.o)(.text+ 0x91):ulClock.cxx: undef ined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make[2]: *** [fgfs.exe] Error 1 make[2]: Leaving directory `/cvs_clean/FlightGear/src/Main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cvs_clean/FlightGear/src' make: *** [all-recursive] Error 1 My gcc version is 3.3.1-3 if that makes any difference: $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-as --prefix=/usr --e xec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man - -infodir=/usr/share/info --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable- threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enab le-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --disable-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verbose --target=i686-pc-cygwin --host=i686- pc-cygwin --build=i686-pc-cygwin Thread model: posix gcc version 3.3.1 (cygming special) And my cygwin.dll is 1.5.7-1. This is following a make clean and re-make of both SimGear and (attempted) FlightGear. Cheers - Dave This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel