When you build FG, and SG for that matter, first you have to use this export

LDFLAGS="-L/usr/X11R6/lib64 -L/usr/local/lib64" so that the compiler knows to look in those two dirs for the 64 bit libs. You're gonna run into more 64 bit issues if this is CVS or the most recent due to some pointer int conversion issues though. Good luck.

Anita Hammond wrote:

I am running Fedora Core 3 x86_64.
I get the following error messages when running "make" for FlightGear 0.9.8 I have installed plib 1.8.4, OpenAL, zlib, metakit, glut 3.7-12 and glut devel 3.7-12.
There was no problem compiling and installing SimGear  0.3.8.

Can anyone explain what the problem is and/or suggest a solution?

Making all in tests

make[1]: Entering directory `/usr/local/source/FlightGear-0.9.8/tests'

if gcc -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/X11R6/include -I/usr/local//include -g -O2 -D_REENTRANT -MT est-epsilon.o -MD -MP -MF ".deps/est-epsilon.Tpo" -c -o est-epsilon.o est-epsilon.c; \

then mv -f ".deps/est-epsilon.Tpo" ".deps/est-epsilon.Po"; else rm -f ".deps/est-epsilon.Tpo"; exit 1; fi

gcc -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local//lib -o est-epsilon est-epsilon.o

if gcc -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/X11R6/include -I/usr/local//include -g -O2 -D_REENTRANT -MT gl-info.o -MD -MP -MF ".deps/gl-info.Tpo" -c -o gl-info.o gl-info.c; \

then mv -f ".deps/gl-info.Tpo" ".deps/gl-info.Po"; else rm -f ".deps/gl-info.Tpo"; exit 1; fi

gcc -g -O2 -D_REENTRANT -L/usr/X11R6/lib -L/usr/local//lib -o gl-info gl-info.o -lGLU -lGL -ldl -lm

gl-info.o(.text+0xfe): In function `main':

/usr/local/source/FlightGear-0.9.8/tests/gl-info.c:61: undefined reference to `glutInit'

gl-info.o(.text+0x108):/usr/local/source/FlightGear-0.9.8/tests/gl-info.c:62: undefined reference to `glutInitDisplayMode'

gl-info.o(.text+0x112):/usr/local/source/FlightGear-0.9.8/tests/gl-info.c:63: undefined reference to `glutCreateWindow'

collect2: ld returned 1 exit status

make[1]: *** [gl-info] Error 1

make[1]: Leaving directory `/usr/local/source/FlightGear-0.9.8/tests'

make: *** [all-recursive] Error 1


------------------------------------------------------------------------

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d



_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to