From: Michel <mi...@tu...> - 2007-05-29 06:25:34
|
On Mon, 2007-05-28 at 08:19 -0600, Brian Paul wrote: > Dieter Nützel wrote: > > progs/xdemos> time nice +19 make > > gcc -I../../include -Wall -Wmissing-prototypes -std=c99 -ffast-math -O -march=athlon-mp -fomit-frame-pointer -m3dnow -msse -mmmx -mfpmath=sse,387 -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM > > texture_from_pixmap.c -L../../lib -lglut -lGLU -lGL -lm -o > > texture_from_pixmap > > /tmp/cc089W35.o: In function `main': > > texture_from_pixmap.c:(.text+0x811): undefined reference to > > `glXBindTexImageEXT' > > collect2: ld returned 1 exit status > > make: *** [texture_from_pixmap] Fehler 1 > > > > My glx.h has it. > > Latest glxproto.h CVS not. > > As long as you've got the latest Mesa sources, and everything compiled > OK, this shouldn't be happening. > > You could run 'nm' on libGL.so and see that glXBindTexImageEXT is > defined. Actually, I thought it's not (supposed to be) exported directly but needs to be obtained with glXGetProcAddress. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer |