On 11/24/03 at 4:13 PM James Cataldo wrote:

>Hi,
>
>I am having the same make error that Richard Hornby
>reported in October.  I am running Cygwin on XP, not

...

>test-up.o -lsgmath -lsgdebug -lpli
>bsg -lplibul
>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
>cannot
>find -lsgmath
>collect2: ld returned 1 exit status
>make[1]: *** [test-up.exe] Error 1
>make[1]: Leaving directory
>`/usr/local/source/FlightGear-0.9.3/tests'
>make: *** [all-recursive] Error 1
>
>If anyone knows how I can fix this, I would appreciate
>it.
>

Re-run configure for FlightGear with usr/local/lib added to the LDFLAGS:

LDFLAGS="-L/usr/local/lib" ./configure

then run make again.

There are other ways to fix this, such as not installing SimGear into
/usr/local/lib, but the above is probably the simplest fix.

This seems to pop up time and time again, perhaps it could go into the FAQ?

Cheers - Dave



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

Reply via email to