Quote:
|
1f40
Originally Posted by cmillican
Ok, I installed that, but now I just get different errors:
Code:
$ make
Making all in tests
make[1]: Entering directory `/tmp/FlightGear-0.9.10/tests'
gcc -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local/lib -o al-info al-info.o -lopenal -ldl -lm -lpthread
if g++ -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/local/include -g -O2 -D_REENTRANT -MT test-gethostname.o -MD -MP -MF ".deps/test-gethostname.Tpo" -c -o test-gethostname.o test-gethostname.cxx; \
then mv -f ".deps/test-gethostname.Tpo" ".deps/test-gethostname.Po"; else rm -f ".deps/test-gethostname.Tpo"; exit 1; fi
g++ -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local/lib -o test-gethostname test-gethostname.o
if g++ -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/local/include -g -O2 -D_REENTRANT -MT test-mktime.o -MD -MP -MF ".deps/test-mktime.Tpo" -c -o test-mktime.o test-mktime.cxx; \
then mv -f ".deps/test-mktime.Tpo" ".deps/test-mktime.Po"; else rm -f ".deps/test-mktime.Tpo"; exit 1; fi
g++ -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local/lib -o test-mktime test-mktime.o
if g++ -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/local/include -g -O2 -D_REENTRANT -MT test-text.o -MD -MP -MF ".deps/test-text.Tpo" -c -o test-text.o test-text.cxx; \
then mv -f ".deps/test-text.Tpo" ".deps/test-text.Po"; else rm -f ".deps/test-text.Tpo"; exit 1; fi
g++ -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local/lib -o test-text test-text.o
if g++ -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/local/include -g -O2 -D_REENTRANT -MT test-up.o -MD -MP -MF ".deps/test-up.Tpo" -c -o test-up.o test-up.cxx; \
then mv -f ".deps/test-up.Tpo" ".deps/test-up.Po"; else rm -f ".deps/test-up.Tpo"; exit 1; fi
g++ -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local/lib -o test-up test-up.o -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz -ldl -lm
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libsgmisc.so: undefined reference to `SGPropertyNode::getDoubleValue() const'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libsgmisc.so: undefined reference to `SGPropertyNode::setDoubleValue(double)'
collect2: ld returned 1 exit status
make[1]: *** [test-up] Error 1
make[1]: Leaving directory `/tmp/FlightGear-0.9.10/tests'
make: *** [all-recursive] Error 1
Thanks,
Chris
|
hello. i'm using ubuntu 8.04, and i installed all dependencies for flightgear-1.0 including "simgear-dev" from synaptics. Then when i compiled the flightgear code, i got exactly the same error.
Solution: download simgear-1.0.0 code from
http://www.simgear.org/downloads.html, compile it and install it. (autogen, configure, make, sudo make install)
Ready: I compiled FlightGear again and everything was ok, i'm now fliying
I hope it helps
(excuse my writing, I'm practicing)
--------------------------------------------------------------
"pack your six senses, come to Peru, land of the Incas"
http://www.peru.info/perueng.asp
--------------------------------------------------------------