On Wed, 24 Nov 2004, Brian Smith wrote:
> Ruth,
>
> What's the full linker line immediately before the error? We
> should be able to see what flags are being fed to the linker to tell it
> which libs to look at from that.
Ok, here is the final bit that caused the errors:
rm -fr .libs/libglut.la .libs/libglut.* .libs/libglut.*
gcc -shared libglut_la-freeglut_callbacks.lo
libglut_la-freeglut_cursor.lo libglut_la-freeglut_display.lo
libglut_la-freeglut_ext.lo libglut_la-freeglut_font.lo
libglut_la-freeglut_glutfont_definitions.lo
libglut_la-freeglut_font_data.lo libglut_la-freeglut_stroke_roman.lo
libglut_la-freeglut_stroke_mono_roman.lo libglut_la-freeglut_gamemode.lo
libglut_la-freeglut_geometry.lo libglut_la-freeglut_init.lo
libglut_la-freeglut_joystick.lo libglut_la-freeglut_main.lo
libglut_la-freeglut_menu.lo libglut_la-freeglut_misc.lo
libglut_la-freeglut_overlay.lo libglut_la-freeglut_state.lo
libglut_la-freeglut_structure.lo libglut_la-freeglut_teapot.lo
libglut_la-freeglut_videoresize.lo libglut_la-freeglut_window.lo -lm -lGL
-lGLU -lXext -lX11 -Wl,-soname -Wl,libglut.so.3 -o .libs/libglut.so.3.8.0
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [libglut.la] Error 1
make[2]: Leaving directory `/home/che/c510/CCPN/freeglut-2.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/che/c510/CCPN/freeglut-2.2.0'
make: *** [all] Error 2
Hope this makes sense to somebody!
Cheers
Ruth
|