glapi_mapi_tmp.h:883:1: error: conflicting types for ‘glDebugMessageCallbackARB’
Pekka Paalanen
ppaalanen at gmail.com
Mon Mar 12 00:35:58 PDT 2012
On Sun, 11 Mar 2012 00:29:42 -0500
darxus at chaosreigns.com wrote:
> I tried to update my wayland build script, for ubuntu oneric. I got
> everything manually built and running under X with nouveau, updated my
> script, ran it, and I've been getting this error when trying to build mesa
> ever since, including when I go back and build manually from scratch.
> I thought it was because of some ubuntu packages the script installed
> that used to be necessary, but I removed them all and added them back
> as necessary. Any ideas what I'm doing wrong? I've wiped my install
> directory to completely start over lots of times.
>
> Also, it looks like the build instructions won't work with nouveau due to
> lack of something like --with-gallium-drivers=nouveau to enable the nouveau
> gallium driver?
>
> The script, not working for me, is here:
> http://www.chaosreigns.com/wayland/buildscript/wayland-build-ubuntu-oneric.sh
> Run as "mkdir ~/install; cd install; ../wayland-build-ubuntu-oneric.sh".
>
> More of the output from building mesa:
>
> mklib: Making Linux shared library: libglapi.so.0.0.0
> mklib: Installing libglapi.so.0.0.0 libglapi.so.0 libglapi.so in ../../../lib
> make[2]: Leaving directory `/home/darxus/install/mesa/src/mapi/shared-glapi'
> make[2]: Entering directory `/home/darxus/install/mesa/src/mapi/glapi'
> running /usr/bin/makedepend
> make[2]: Leaving directory `/home/darxus/install/mesa/src/mapi/glapi'
> make[2]: Entering directory `/home/darxus/install/mesa/src/mapi/glapi'
> gcc -c -I../../../include -I../../../src/mapi -I../../../src/mesa -DMAPI_MODE_BRIDGE -DMAPI_ABI_HEADER=\"glapi/glapi_mapi_tmp.h\" -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -g -O2 -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -fvisibility=hidden ../../../src/mapi/mapi/entry.c -o entry.o
> In file included from ../../../src/mapi/mapi/mapi_tmp.h:48:0,
> from ../../../src/mapi/mapi/entry.c:69:
> ../../../src/mapi/glapi/glapi_mapi_tmp.h:883:1: error: conflicting types for ‘glDebugMessageCallbackARB’
> ../../../include/GL/glext.h:7576:21: note: previous declaration of ‘glDebugMessageCallbackARB’ was here
> In file included from ../../../src/mapi/mapi/mapi_tmp.h:48:0,
> from ../../../src/mapi/mapi/entry.c:69:
> ../../../src/mapi/glapi/glapi_mapi_tmp.h:7330:1: error: conflicting types for ‘glDebugMessageCallbackARB’
> ../../../include/GL/glext.h:7576:21: note: previous declaration of ‘glDebugMessageCallbackARB’ was here
> make[2]: *** [entry.o] Error 1
> make[2]: Leaving directory `/home/darxus/install/mesa/src/mapi/glapi'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/darxus/install/mesa/src'
> make: *** [default] Error 1
>
I guess that is handled in
http://lists.freedesktop.org/archives/mesa-dev/2012-March/019912.html
Thanks,
pq
More information about the wayland-devel
mailing list