It could always be something more subtle, but this almost sounds like
you may have built simgear with a different version of the compiler
than flightgear, or perhaps have multiple copies of simgear installed
on your system???

Curt.


Geoff Drake writes:
> Can some one help me?  It has been sometime since I worked in C++ (I mainly 
> use java these days) ad I am stuck with this problem.
> 
> I have got the lastest CVS copies of plib, SimGear and FlightGear and when I 
> build it I get the following error building FlightGear (everything else seems 
> to build ok).
> 
> make[1]: Entering directory `/usr/local/src/FlightGear/source/tests'
> g++  -g -O2 -D_REENTRANT  -L/usr/X11R6/lib -o test-up  test-up.o -lsgmath 
> -lsgdebug -lplibsg -lplibul -lm  -lm 
> test-up.o: In function `main':
> /usr/local/src/FlightGear/source/tests/test-up.cxx:31: undefined reference to 
> `sgGeodToGeoc(double const&, double const&, double*, double*)'
> test-up.o: In function `main':
> /usr/local/include/simgear/math/point3d.hxx:283: undefined reference to 
> `sgGeodToGeoc(double const&, double const&, double*, double*)'
> collect2: ld returned 1 exit status
> make[1]: *** [test-up] Error 1
> make[1]: Leaving directory `/usr/local/src/FlightGear/source/tests'Unnamed
> make: *** [all-recursive] Error 1
> 
> 
> I've checked the file that these functions are defined in and I cannot see any 
> obvious problem.  
> 
> Does the panel have any thoughts?
> 
> Regards
> Geof
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    curt 'at' me.umn.edu             curt 'at' flightgear.org
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