That looks really ugly ... could it be bugs/problems with the sun
linker?  Have you tried building simple C++ programs with this same
version of gcc?  Did you biuld plib, simgear, flightgear, etc. all
with the same compiler?

Curt.


Salman Sheikh writes:
> Got that fixed. Now on file linking I get the following error:
> 
> 
> c++ -DPKGLIBDIR=\"/folks/salman/bin/lib/FlightGear\" -g -O2 -L/folks/salman/bin/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/ATC/libATC.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/YASim/libYASim.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 -lsgtimi!
 ng!
>  -lsgio -lsgscreen    -lsgmath -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml      
> -lsgserial              -lplibpu -lplibfnt -lplibnet -lplibssg -lplibsg         
>-lmk4 -lz       -L/space1/glut-3.7/lib/glut -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE 
>-lXi -lXext -lX11 -lsocket -lpthread -lm     -lplibul -lm 
> ld: warning: relocation error: R_SPARC_32: file 
>../../src/Cockpit/libCockpit.a(hud_card.o): symbol .LLC238:
>       external symbolic relocation against non-allocatable section .stab;
>       cannot be processed at runtime: relocation ignored
> 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
> slScheduler::playSample(slSample *, int, slPreemptMode, int, void (*)(slSample *, 
>slEvent, int))../../src/Sound/libSound.a(soundmgr.o)
> slScheduler::~slScheduler(void)     ../../src/Sound/libSound.a(soundmgr.o)
> slDSP::open(char *, int, int, int)  ../../src/Sound/libSound.a(soundmgr.o)
> gethostbyname                       ../../src/FDM/JSBSim/libJSBSim.a(FGfdmSocket.o)  
>(symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> smMixer::smMixer(void)              ../../src/Sound/libSound.a(soundmgr.o)
> slDSP::close(void)                  ../../src/Sound/libSound.a(soundmgr.o)
> slScheduler::loopSample(slSample *, int, slPreemptMode, int, void (*)(slSample *, 
>slEvent, int))../../src/Sound/libSound.a(soundmgr.o)
> __slPendingError                    ../../src/Sound/libSound.a(soundmgr.o)
> .LLC155                             ../../src/FDM/libFlight.a(LaRCsimIC.o)
> gethostbyaddr                       ../../src/FDM/JSBSim/libJSBSim.a(FGfdmSocket.o)  
>(symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> slSample::autoMatch(slDSP *)        ../../src/Sound/libSound.a(soundmgr.o)
> inet_addr                           /folks/salman/bin/lib/libplibnet.a(netSocket.o)  
>(symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> slScheduler::init(void)             ../../src/Sound/libSound.a(soundmgr.o)
> slScheduler::stopSample(slSample *, int)../../src/Sound/libSound.a(soundmgr.o)
> .LLC238                             ../../src/Cockpit/libCockpit.a(hud_card.o)
> inet_ntoa                           /folks/salman/bin/lib/libplibnet.a(netSocket.o)  
>(symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> smMixer::~smMixer(void)             ../../src/Sound/libSound.a(soundmgr.o)
> slScheduler::addSampleEnvelope(slSample *, int, int, slEnvelope *, 
>slEnvelopeType)../../src/Sound/libSound.a(soundmgr.o)
> slSample::loadFile(char *)          ../../src/Sound/libSound.a(soundmgr.o)
> slScheduler::realUpdate(int)        ../../src/Sound/libSound.a(soundmgr.o)
> ld: fatal: Symbol referencing errors. No output written to fgfs
> collect2: ld returned 1 exit status
> make: *** [fgfs] Error 1
> 
> 
> 
> 
> 
> On Tue, 5 Mar 2002 21:26:48 -0000
> "D Luff" <[EMAIL PROTECTED]> wrote:
> 
> > Salman Sheikh writes:
> > 
> > > Hello All,
> > > 
> > > Got past the first error. Got a new one:
> > > 
> > > Making all in NetworkOLK
> > > c++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src  
>-I/folks/salman/bin/include -I/usr/local/include  -g -O2 -c net_send.cxx
> > > net_send.cxx: In function `void fgd_init()':
> > > net_send.cxx:277: `INADDR_NONE' undeclared (first use this function)
> > > net_send.cxx:277: (Each undeclared identifier is reported only once
> > > net_send.cxx:277: for each function it appears in.)
> > > make[1]: *** [net_send.o] Error 1
> > > make: *** [all-recursive] Error 1
> > > 
> > > 
> > > Any ideas anyone?
> > 
> > Hi Salman,
> > 
> > NetworkOLK isn't needed to run the sim, so you can:
> > 
> > ./configure --with-network-olk=no
> > 
> > Cheers - Dave
> > 
> > --
> > [EMAIL PROTECTED]
> > 
> > _______________________________________________
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> > 
> 
> 
> -- 
>  Salman Sheikh                                        
>  NASA/GSFC Code 564                                   
>  Greenbelt, MD 20771                          
>  301-286-3763 301-286-0220 (fax)                              
> 
> _______________________________________________
> 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

Reply via email to