[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 19 09:39:39 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=28071
--- Comment #12 from Vinson Lee <vlee at vmware.com> 2010-05-19 09:39:39 PDT ---
(In reply to comment #10)
> This patch tries to fix the issue by fixing the library suffix in cygwin. This
> is a real fix, but I could not test it. If it is not too much trouble, could
> you see if this fixes the issue too? I would like to apply this patch instead
> of the workaround above.
I did a 'make realclean; autogen.sh; make'. This patch gets progs/egl working
too. It also stops the unnecessary rebuilding of some DLLs on incremental makes
as well.
0001-egl-Link-drivers-back-to-libEGL.patch
0001-progs-egl-Fix-building-on-cygwin.patch
0001-configure.ac-Fix-cygwin-suffix.patch
$ make
...
make[2]: Entering directory `/home/vlee/mesa/progs/egl/eglut'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/vlee/mesa/progs/egl/eglut'
make[2]: 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[2]: *** [eglgears.o] Error 1
make[2]: Leaving directory `/home/vlee/mesa/progs/egl/opengl'
make[1]: *** [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