It is always the simple ones that get you!!!

I had two copies of the library files /usr/lib and /usr/local/lib  needless
to say the /usr/lib one was the old one.

Thanks
Geoff


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Curtis L.
Olson
Sent: 28 June 2003 19:01
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] Build Problems


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


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to