[Flightgear-devel] compilation error
Hello, Could someone help me out please? - I'm having a trouble compiling after checking out a copy of CVS today. I have the correct versions of PLIB, SimGear, and MetaKit installed in /usr/local/ - pretty much as per the docs. When I cd into /usr/local/src/FlightGear and run autogen.sh it completes without error as does: ./configure --disable-network-olk --with-x --prefix=/usr/local/FlightGear However, when I issue a make command I get the following error: In file included from ATCdisplay.cxx:28: ../../src/Main/fg_props.hxx:11: simgear/misc/props_io.hxx: No such file or directory Would I be right in thinking that I have screwed up and forgotten something or maybe put something in the wrong place? If it helps I previously had a standard SuSE FlightGear 0.78 rpm installed which I have removed and I'm running SuSE 7.3. Many thanks in advance, Matt. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] compilation error
Matt, If you are building FlightGear from CVS, then you also need SimGear from CVS. Regards, Curt. matthew law writes: > Hello, > > Could someone help me out please? - I'm having a trouble compiling after > checking out a copy of CVS today. > > I have the correct versions of PLIB, SimGear, and MetaKit installed in > /usr/local/ - pretty much as per the docs. When I cd into > /usr/local/src/FlightGear and run autogen.sh it completes without error as > does: > > ./configure --disable-network-olk --with-x --prefix=/usr/local/FlightGear > > However, when I issue a make command I get the following error: > > In file included from ATCdisplay.cxx:28: > ../../src/Main/fg_props.hxx:11: simgear/misc/props_io.hxx: No such file or > directory > > Would I be right in thinking that I have screwed up and forgotten something > or maybe put something in the wrong place? If it helps I previously had a > standard SuSE FlightGear 0.78 rpm installed which I have removed and I'm > running SuSE 7.3. > > Many thanks in advance, > > Matt. > > ___ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities[EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Compilation error for a newbie
I'm building FlightGear-0.7.8, but an error occurs when compiling Main : I'm running a SUN U60 with Solaris 7, plib is v. 1.4.2 simgear is 0.0.16, compiling without network-olk, gcc is 2.95. ... Making all in Main c++ -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -L/usr/local/lib -o fgfs main.o fg_commands.o fg_init.o fg_io.o fg_props.o fgfs.o globals.o options.o splash.o viewer.o viewer_lookat.o viewer_rph.o viewmgr.o ../../src/Aircraft/libAircraft.a ../../src/Autopilot/libAutopilot.a ../../src/Cockpit/libCockpit.a ../../src/Controls/libControls.a ../../src/FDM/libFlight.a ../../src/FDM/Balloon/libBalloon.a ../../src/FDM/JSBSim/libJSBSim.a ../../src/FDM/JSBSim/filtersjb/libfiltersjb.a ../../src/FDM/LaRCsim/libLaRCsim.a ../../src/FDM/UIUCModel/libUIUCModel.a ../../src/GUI/libGUI.a ../../src/Navaids/libNavaids.a ../../src/Scenery/libScenery.a ../../src/Sound/libSound.a ../../src/Airports/libAirports.a ../../src/Network/libNetwork.a ../../src/Objects/libObjects.a ../../src/Time/libTime.a ../../src/WeatherCM/libWeatherCM.a ../../src/Input/libInput.a -lsgroute -lsgsky -lsgephem -lsgtiming -lsgio -lsgscreen-lsgmath -lsgbucket -lsg debug -lsgmagvar -lsgmisc -lsgxml -lsgserial -lplibpu -lplibfnt -lplibssg -lplibsg -lmk4 -lz -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lsocket -lpthread -lm-lplibsl -lnsl -lsocket -lplibsm -lplibul -lm ld: warning: relocation error: R_SPARC_32: file ../../src/FDM/libFlight.a(LaRCsimIC.o): symbol .LLC155: external symbolic relocation against non-allocatable section .stab; cannot be processed at runtime: relocation ignored Undefined first referenced symbol in file .LLC155 ../../src/FDM/libFlight.a(LaRCsimIC.o) ld: fatal: Symbol referencing errors. No output written to fgfs collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `fgfs' Current working directory /cip41/utilis/essjr/FlightGear-0.7.8/src/Main *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /cip41/utilis/essjr/FlightGear-0.7.8/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Anyone can help me ? ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] compilation error after CVS update
Hi guys, I just did a fresh CVS update this evening and I got the following error: main.cxx: In function `bool fgMainInit(int, char **)': main.cxx:1608: implicit declaration of function `int glXGetProcAddressARB(...)' make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/cvsroot/FlightGear/src/Main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cvsroot/FlightGear/src' make: *** [all-recursive] Error 1 I updated Simgear from CVS first and that compiled fine. I also updated fgfsbase as usual. My compilations have been error free recently so I wondered if this is a known issue or just particular to me? I'm on Linux 2.4.18-SuSE with nVidia XFree86 4.xx drivers if it helps. Cheers, Matt. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Compilation error for a newbie
I believe someone reported something similar a while back (perhaps on sun hardware as well.) From the looks of the error message this appears to be some kind of bug down in the compiler/linker level, not a code bug. I don't recall anyone had any good ideas before on this. Could we be overflowing some limited structure in the linker ... two many symbols, too many something? Maybe something we are doing is triggering a bug somewhere? Are you using the gnu linker or the sun linker? I think gcc by default builds against the sun linker. It's probably a pain in the butt, but might be interesting to build gcc against the gnu ld ... Curt. Jerome RENARD writes: > > > I'm building FlightGear-0.7.8, but an error occurs when compiling Main : > > I'm running a SUN U60 with Solaris 7, > plib is v. 1.4.2 > simgear is 0.0.16, > compiling without network-olk, > gcc is 2.95. > > ... > Making all in Main > c++ -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -L/usr/local/lib -o fgfs > main.o fg_commands.o fg_init.o fg_io.o fg_props.o fgfs.o globals.o options.o > splash.o viewer.o viewer_lookat.o viewer_rph.o viewmgr.o > ../../src/Aircraft/libAircraft.a ../../src/Autopilot/libAutopilot.a > ../../src/Cockpit/libCockpit.a ../../src/Controls/libControls.a > ../../src/FDM/libFlight.a ../../src/FDM/Balloon/libBalloon.a > ../../src/FDM/JSBSim/libJSBSim.a > ../../src/FDM/JSBSim/filtersjb/libfiltersjb.a > ../../src/FDM/LaRCsim/libLaRCsim.a ../../src/FDM/UIUCModel/libUIUCModel.a > ../../src/GUI/libGUI.a ../../src/Navaids/libNavaids.a > ../../src/Scenery/libScenery.a ../../src/Sound/libSound.a > ../../src/Airports/libAirports.a ../../src/Network/libNetwork.a > ../../src/Objects/libObjects.a ../../src/Time/libTime.a > ../../src/WeatherCM/libWeatherCM.a ../../src/Input/libInput.a > -lsgroute -lsgsky -lsgephem -lsgtiming -lsgio -lsgscreen-lsgmath > -lsgbucket -lsg > debug -lsgmagvar -lsgmisc -lsgxml -lsgserial -lplibpu > -lplibfnt -lplibssg -lplibsg -lmk4 -lz -lglut -lGLU -lGL -lXmu -lXt -lSM > -lICE -lXi -lXext -lX11 -lsocket -lpthread -lm-lplibsl -lnsl -lsocket > -lplibsm -lplibul -lm > ld: warning: relocation error: R_SPARC_32: file > ../../src/FDM/libFlight.a(LaRCsimIC.o): symbol .LLC155: > external symbolic relocation against non-allocatable section .stab; > cannot be processed at runtime: relocation ignored > Undefined first referenced > symbol in file > .LLC155 ../../src/FDM/libFlight.a(LaRCsimIC.o) > ld: fatal: Symbol referencing errors. No output written to fgfs > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `fgfs' > Current working directory /cip41/utilis/essjr/FlightGear-0.7.8/src/Main > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > Current working directory /cip41/utilis/essjr/FlightGear-0.7.8/src > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > > Anyone can help me ? > > > > ___ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson Intelligent Vehicles Lab FlightGear Project Twin Cities[EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel