On Sat, 2010-03-20 at 14:51 +0100, Sedat Dilek wrote: 
> Hi,
> 
> while upgrading my mesa from 7.8 GIT branch, I saw with
> 
> commit 41a87a43e11c664935349f938022d58d3e22da4e
> "glapi: Correctly generate static disatches for X86."
> 
> the build breaking (especially with xdemos).
> 
> - Sedat -
> 
> [build.log]
> ....
> ccache gcc -I../../include  -g -O2 -Wall -Wmissing-prototypes -std=c99
> -ffast-math -fvisibility=hidden -fno-strict-aliasing -g  -fPIC
> -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
> -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS
> -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
> -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
> glxdemo.c -L../../lib -lGL -L/usr/lib  -lm -lX11 -lpthread -o glxdemo
> ../../lib/libGL.so: undefined reference to `glBlitFramebufferEXT'
> ../../lib/libGL.so: undefined reference to `glDeleteVertexArraysAPPLE'
> ../../lib/libGL.so: undefined reference to `glIsVertexArrayAPPLE'
> ../../lib/libGL.so: undefined reference to `glBlendEquationSeparateEXT'
> collect2: ld returned 1 exit status
> make[2]: *** [glsync] Error 1
> make[2]: *** Waiting for unfinished jobs....
> ../../lib/libGL.so: undefined reference to `glBlitFramebufferEXT'
> 
> ../../lib/libGL.so: undefined reference to `glDeleteVertexArraysAPPLE'
> ../../lib/libGL.so: undefined reference to `glIsVertexArrayAPPLE'
> ../../lib/libGL.so: undefined reference to `glBlendEquationSeparateEXT'
> collect2: ld returned 1 exit status
> make[2]: *** [glxdemo] Error 1
> ../../lib/libGL.so: undefined reference to `glBlitFramebufferEXT'
> ../../lib/libGL.so: undefined reference to `glDeleteVertexArraysAPPLE'
> ../../lib/libGL.so: undefined reference to `glIsVertexArrayAPPLE'
> ../../lib/libGL.so: undefined reference to `glBlendEquationSeparateEXT'
> collect2: ld returned 1 exit status
> make[2]: *** [glthreads] Error 1

These demos are broken: Those GL API calls aren't part of the Linux
OpenGL ABI, so their addresses need to be retrieved with
glXGetProcAddress().


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to