[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 15:32:40 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=76489
--- Comment #3 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #2)
[...]
> 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.
>
Hmmm, are you following the official instructions [1] ? The website indicates
zero problems with mesa 10.0 and 9.2. Would you consider this a regression in
mesa, or is it the first time you're doing such a build ?
> I tried the CFLAGS=-D__GNU__ and it solved the above errors, but now I got
> another error:
>
I'm not sure if you applied to only for the specific folder or for the whole of
mesa. I'm suspecting that this is biting you below.
> 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?
Ideally you can grab a upstream distro and compare the pre-processed source
with the one you're getting. Based on the differences we can stablish easier
where the problem is.
[1] www.linuxfromscratch.org
--
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/dd963ddd/attachment.html>
More information about the mesa-dev
mailing list