You are not logged in.
Does anyone have working PKGBUILD for mesa-git?
The one in AUR http://aur.archlinux.org/packages.php?ID=8266 does not seem to work anymore and it is not the easyest package to build myself .
Offline
I posted this in the comments: http://pastebin.com/f656a07aa
It's a split package so the AUR can't host it but it should work.
Offline
Thanks, somewhy I missed that comment.
But it fails for me. Original build failed with
nv04_context.c: In function 'nv04_init_hwctx':
nv04_context.c:44: error: 'NV04_TEXTURED_TRIANGLE_NOP' undeclared (first use in this function)
nv04_context.c:44: error: (Each undeclared identifier is reported only once
nv04_context.c:44: error: for each function it appears in.)
nv04_context.c:47: error: 'NV04_TEXTURED_TRIANGLE_CONTROL' undeclared (first use in this function)
nv04_context.c:50: error: 'NV04_TEXTURED_TRIANGLE_BLEND' undeclared (first use in this function)
nv04_context.c:53: error: 'NV04_TEXTURED_TRIANGLE_FORMAT' undeclared (first use in this function)
nv04_context.c:55: error: 'NV04_TEXTURED_TRIANGLE_FILTER' undeclared (first use in this function)
nv04_context.c:57: error: 'NV04_TEXTURED_TRIANGLE_COLORKEY' undeclared (first use in this function)
nv04_context.c:61: error: 'NV04_TEXTURED_TRIANGLE_FOGCOLOR' undeclared (first use in this function)
nv04_context.c: In function 'nv04_create':
nv04_context.c:91: warning: assignment from incompatible pointer type
make[4]: *** [nv04_context.o] Error 1
make[4]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium/drivers/nv04'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium/drivers'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src'
make: *** [default] Error 1
==> ERROR: Build Failed.
Then I removed unnecessary parts for me and left only 'mesa-git' 'libgl-git' 'ati-dri-git' packages and changed autogen.sh enable flags to
--enable-debug \
--enable-glx-tls \
--enable-gallium-svga \
--enable-gallium-radeon \
After that I got
In file included from radeon_buffer.c:33:
radeon_buffer.h:43:23: error: radeon_bo.h: No such file or directory
radeon_buffer.h:44:23: error: radeon_cs.h: No such file or directory
In file included from radeon_drm.h:46,
from radeon_buffer.h:46,
from radeon_buffer.c:33:
radeon_r300.h:31:27: error: radeon_cs_gem.h: No such file or directory
radeon_buffer.c:35:27: error: radeon_bo_gem.h: No such file or directory
radeon_buffer.c: In function 'radeon_buffer_create':
radeon_buffer.c:76: error: 'RADEON_GEM_DOMAIN_VRAM' undeclared (first use in this function)
radeon_buffer.c:76: error: (Each undeclared identifier is reported only once
radeon_buffer.c:76: error: for each function it appears in.)
radeon_buffer.c:79: error: 'RADEON_GEM_DOMAIN_GTT' undeclared (first use in this function)
radeon_buffer.c:85: warning: implicit declaration of function 'radeon_bo_open'
radeon_buffer.c:86: warning: assignment makes pointer from integer without a cast
radeon_buffer.c: In function 'radeon_buffer_user_create':
radeon_buffer.c:105: warning: implicit declaration of function 'radeon_bo_map'
radeon_buffer.c:106: error: dereferencing pointer to incomplete type
radeon_buffer.c:107: warning: implicit declaration of function 'radeon_bo_unmap'
radeon_buffer.c: In function 'radeon_buffer_del':
radeon_buffer.c:136: warning: implicit declaration of function 'radeon_bo_unref'
radeon_buffer.c: In function 'radeon_buffer_map':
radeon_buffer.c:152: warning: implicit declaration of function 'radeon_bo_is_busy'
radeon_buffer.c:156: warning: implicit declaration of function 'radeon_bo_is_referenced_by_cs'
radeon_buffer.c:168: error: dereferencing pointer to incomplete type
radeon_buffer.c: In function 'radeon_pipe_winsys':
radeon_buffer.c:265: warning: implicit declaration of function 'radeon_bo_manager_gem_ctor'
radeon_buffer.c:265: warning: assignment makes pointer from integer without a cast
make[5]: *** [radeon_buffer.o] Error 1
make[5]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium/winsys/drm/radeon/core'
make[4]: *** [default] Error 1
make[4]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium/winsys/drm/radeon'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium/winsys/drm'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src/gallium/winsys'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/bender/stuff/programs/mesa/src/mesa-build/src'
make: *** [default] Error 1
==> ERROR: Build Failed.
Any ideas?
Offline
You probably need to update libdrm-git.
Offline
Yes, that was it.
Offline