I've just upgraded SimGear, but I was getting the following errors when I was 
trying to compile FlightGear today:

localhost:/usr/local/src/FlightGear-0.9.8# make
Making all in tests
make[1]: Entering directory `/usr/local/src/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 -lSM -lICE -lXi -lXext -lX11 -ldl -lm
gl-info.o(.text+0xd): In function `getPrints':
/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:28: undefined reference to 
`glGetString'
gl-info.o(.text+0x44): In function `getPrint2f':
/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:34: undefined reference to 
`glGetFloatv'
gl-info.o(.text+0x84): In function `getPrintf':
/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:41: undefined reference to 
`glGetFloatv'
gl-info.o(.text+0xc4): In function `getPrint2i':
/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:48: undefined reference to 
`glGetIntegerv'
gl-info.o(.text+0x104): In function `getPrinti':
/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:55: undefined reference to 
`glGetIntegerv'
gl-info.o(.text+0x147): In function `main':
/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:61: undefined reference to 
`glutInit'
gl-info.o(.text+0x153):/usr/local/src/FlightGear-0.9.8/tests/gl-info.c:62: 
undefined reference to `glutInitDisplayMode'
gl-info.o(.text+0x15f):/usr/local/src/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/src/FlightGear-0.9.8/tests'
make: *** [all-recursive] Error 1



I am seeing double slashes in the above outputs.  These double slashes also 
appeared while I was running configure:
checking for extra include and lib directories...
   + found /usr/local/FlightGear/bin
   + found /usr/X11R6/include
   + found /usr/X11R6/lib
   + found /usr/X11R6/bin
   + found /usr/local//include
   + found /usr/local//lib
   + found /usr/local//bin



I've moved to Xorg recently by downloading the Debian packages from ubuntu 
repostory.  I've also got glut and mesa from the same server, but I'm not 
sure whether this downloads contribute to the above errors.

I have no idea what I did wrong, so any advise will be helpful.

Thanks in advance,
Ampere

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

Reply via email to