[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can't link against libglut

I am trying to compile a test program that uses glut. Trying to link against
the library using

g++ -lglut test.cpp

causes the following error:

litshi@glut$ g++-3.4 -Wall -lGL -lGLU -lglut -O test.cpp
/usr/bin/ld: BFD 2.16.91 20051117 Debian GNU/Linux assertion fail ../../bfd/elflink.c:6193
/usr/bin/ld: a.out: local symbol `__fini_array_end' in a.out is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

This happens even if the test program doesn't contain anything (it has an empty
main and no include), any idea's?
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.

Reply to: