[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 19 08:38:21 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28071

--- Comment #11 from Vinson Lee <vlee at vmware.com> 2010-05-19 08:38:21 PDT ---
(In reply to comment #9)
> The GNU make manual says that a suffix rule cannot have any prerequisite.  It
> seems $(LIB_DEP) in progs/demos/Makefile is simply ignored.  Could you see if
> this patch helps?  It is a workaround instead of a fix.

The workaround patch gets progs/egl building.

0001-egl-Link-drivers-back-to-libEGL.patch
0001-progs-egl-Fix-building-on-cygwin.patch
0001-progs-egl-No-LIB_DEP.patch

$ make
...
make[1]: Entering directory `/home/vlee/mesa/progs/egl/eglut'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/home/vlee/mesa/progs/egl/eglut'
make[1]: Entering directory `/home/vlee/mesa/progs/egl/opengl'
gcc -c -I../../../include  -I../../../progs/egl/eglut -g -O2 -Wall
-Wmissing-pro
totypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing    
-DPTHR
EADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM eglgears.c -o eglgears.o
eglgears.c: In function `gear':
eglgears.c:64: error: `M_PI' undeclared (first use in this function)
eglgears.c:64: error: (Each undeclared identifier is reported only once
eglgears.c:64: error: for each function it appears in.)
make[1]: *** [eglgears.o] Error 1
make[1]: Leaving directory `/home/vlee/mesa/progs/egl/opengl'
make: *** [subdirs] Error 1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list