Hello,
I almost have Flight-Gear compiled for solaris.
I am down to the following error:
gmake[1]: Entering directory `/folks/salman/FlightGear-0.7.10/src/Main'
c++ -DPKGLIBDIR=\"/opt/sis/lib/FlightGear\" -g -O2 -L/opt/sis/lib -L/usr/local/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 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/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/Model/libModel.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
-lsgdebug -lsgmagvar -lsgmisc -lsgxml -lsgserial -lplibpu -lplibfnt -lplibnet
-lplibssg -lplibsg -lplibsl -lplibsm -lmk4 -lz -lnsl -lsocket
-L/usr/openwin/lib -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lsocket
-lpthread -lm -lplibul -lm
../../src/Cockpit/libCockpit.a(hud_card.o): In function `hud_card::zoomed_scale(int,
int)':
/folks/salman/FlightGear-0.7.10/src/Cockpit/hud_card.cxx:1263: undefined reference to
`LLC177'
../../src/FDM/libFlight.a(LaRCsimIC.o): In function `LaRCsimIC::solve(double *,
double)':
/folks/salman/FlightGear-0.7.10/src/FDM/LaRCsimIC.cxx:382: undefined reference to
`LLC150'
collect2: ld returned 1 exit status
gmake[1]: *** [fgfs] Error 1
gmake[1]: Leaving directory `/folks/salman/FlightGear-0.7.10/src/Main'
gmake: *** [all-recursive] Error 1
Also, I had other errors but I eliminated them by adding -lplibsl and -lplibsm to the
Makefile in the src/Main directory.
I would have thought those would automatically be included. I am using simgear0.18
and plib-1.4.2.
Any ideas?
I don't see any functions LLC177 and LLC150 in the files hud_card.cxx an LaRCsimIC.cxx
in the lines referenced in the errors above.
Line 1263 in the hud_card.cxx file is
drawOneLine(xpoint,ypoint+10.0,xpoint-5.0,ypoint+5.0);
and Line 382 in the LaRCsimIC.cxx file is:
return success;
--
Salman Sheikh
301-286-3763
301-286-0220 (fax)
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel