[Mesa-dev] [Bug 76489] Mesa git (011569b5b7) compilation issue: render2.c:49:4: error: implicit declaration of function '__glMap1d_size' [-Werror=implicit-function-declaration]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 23 11:19:38 PDT 2014


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

--- Comment #2 from Dâniel Fraga <fragabr at gmail.com> ---
(In reply to comment #1)
> Seems like I might need to eat my own words :-)
> 
> * Can you make sure that you do not have any local changes and/or danglin'
> files - git reset --hard origin/master && git clean -fxd
> 
> * What platform/distribution are you using ?
> 
> * Can you complete the build if you explicitly define __GNU__ (see bug
> 67740) ?

Hi Emil ;) I did the git reset and clean and it didn't work. I'm using Linux
(x86_64) with a installation similar to Linux from scratch. I compile
everything. Just Mesa is causing problems.

I tried the CFLAGS=-D__GNU__ and it solved the above errors, but now I got
another error:

make[3]: Entering directory '/usr/local/src/git/modular/x/mesa/mesa/src/glx'
  CCLD     libGL.la
./.libs/libglx.a(glxcmds.o): In function `glXGetProcAddressARB':
glxcmds.c:(.text+0x9b8): undefined reference to `__indirect_get_proc_address'
./.libs/libglx.a(indirect_init.o): In function `__glXNewIndirectAPI':
indirect_init.c:(.text+0x124): undefined reference to `__indirect_glAccum'
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
./.libs/libglx.a(indirect_init.o): relocation R_X86_64_PC32 against undefined
hidden symbol `__indirect_glAccum' can not be used when making a shared object
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:692: recipe for target 'libGL.la' failed
make[3]: *** [libGL.la] Error 1
make[3]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/glx'
Makefile:779: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/glx'
Makefile:528: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src'
Makefile:579: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Any hints?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140323/ae6ce82b/attachment-0001.html>


More information about the mesa-dev mailing list