On Thursday 28 October 2004 19:58, Roland Scheidegger wrote: > I can compile the dri linux target, but when I try to compile > progs/tests I get something similar: > gcc -I. -I../../include -DDRI_NEW_INTERFACE_ONLY -Wall -g -O > -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 > -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE > -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 > -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions antialias.c > -L../../lib -lglut -lGLU -lGL -lm -o antialias > ../../lib/libGL.so: undefined reference to `XF86VidModeQueryVersion' > ../../lib/libGL.so: undefined reference to `XF86VidModeGetModeLine' > collect2: ld returned 1 exit status > make: *** [antialias] Fehler 1 > > Looks like it's related to the now-built dri-aware libGL.so. Simply > removing this libGL.so fixed compiling the tests.
Good catch. Add "-lXxf86vm" to GL_LIB_DEPS in the appropriate config file, or just update from CVS (just committed the fix). - ajax
pgptUO9wobWgT.pgp
Description: PGP signature