I am at a loss.
Ive tried upgrading my gcc and elf (whatever that is) but that had no effect. I installed xfree86 libMesaGL and libMesaGlu, with no effect. The compiler is obviously having no trouble finding the GL library, it just has trouble using it.
Ive searched the net and found compile errors like this one, but I havent found the solution.
Can anyone help me? Once I get Gem built, I wont have to build any more stuff for a while. Im so close! Pleas help!
Heres my config command:
./configure --with-glut --with-gltt --with-ftgl --with-mpeg3 --with-quicktime --with-avi --with-ieee1394 --enable-mmx
And heres my config.log
int main() {
sin()
; return 0; }
configure:2525: checking for main in -lz
configure:2540: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lz -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11 1>&5
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1c): In function `__libc_csu_init\':
: undefined reference to `__init_array_end\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function `__libc_csu_init\':
: undefined reference to `__init_array_start\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x37): In function `__libc_csu_init\':
: undefined reference to `__init_array_start\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x5b): In function `__libc_csu_fini\':
: undefined reference to `__fini_array_end\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x61): In function `__libc_csu_fini\':
: undefined reference to `__fini_array_start\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x7f): In function `__libc_csu_fini\':
: undefined reference to `__fini_array_start\'
/usr/bin/ld: conftest: hidden symbol `__fini_array_end\' isn\'t defined
collect2: ld returned 1 exit status
configure: failed program was:
#line 2533 \"configure\"
#include \"confdefs.h\"
int main() {
main()
; return 0; }
configure:2670: checking for glInitNames in -lGL
configure:2689: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lGL -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11 1>&5
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1c): In function `__libc_csu_init\':
: undefined reference to `__init_array_end\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function `__libc_csu_init\':
: undefined reference to `__init_array_start\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x37): In function `__libc_csu_init\':
: undefined reference to `__init_array_start\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x5b): In function `__libc_csu_fini\':
: undefined reference to `__fini_array_end\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x61): In function `__libc_csu_fini\':
: undefined reference to `__fini_array_start\'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x7f): In function `__libc_csu_fini\':
: undefined reference to `__fini_array_start\'
/usr/bin/ld: conftest: hidden symbol `__fini_array_end\' isn\'t defined
collect2: ld returned 1 exit status
configure: failed program was:
#line 2678 \"configure\"
#include \"confdefs.h\"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glInitNames();
int main() {
glInitNames()
; return 0; }
configure:2715: checking for glInitNames in -lMesaGL
configure:2734: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lMesaGL -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11 1>&5
/usr/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 2723 \"configure\"
#include \"confdefs.h\"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glInitNames();
int main() {
glInitNames()
; return 0; }