[gobolinux-users] Beryl, Mesa, error...

Jonas Karlsson jonka750 at student.liu.se
Thu Apr 19 10:01:02 UTC 2007


On Thu, 19 Apr 2007 11:43:21 +0200, Viola Zoltán <violazoli at gmail.com>  
wrote:

> I probe Compile Beryl, but not know, in witch order should I have. I  
> probe
> first "Compile Beryl-Core". It have dependencies. And, as I Compile the
> Mesa, it make me the following error:
>
> makedepend: warning:  ../common/dri_util.c (reading  
> /usr/include/sys/mman.h,
> line 26): cannot find include file "stddef.h"
>         not in ./stddef.h
>         not in ../../../../../src/mesa/drivers/dri/common/stddef.h
>         not in server/stddef.h
>         not in ../../../../../include/stddef.h
>         not in ../../../../../include/GL/internal/stddef.h
>         not in ../../../../../src/mesa/stddef.h
>         not in ../../../../../src/mesa/main/stddef.h
>         not in ../../../../../src/mesa/glapi/stddef.h
>         not in ../../../../../src/mesa/math/stddef.h
>         not in ../../../../../src/mesa/transform/stddef.h
>         not in ../../../../../src/mesa/shader/stddef.h
>         not in ../../../../../src/mesa/swrast/stddef.h
>         not in ../../../../../src/mesa/swrast_setup/stddef.h
>         not in ../../../../../src/egl/main/stddef.h
>         not in ../../../../../src/egl/drivers/dri/stddef.h
>         not in /Programs/Xorg/7.1/include/stddef.h
>         not in /Programs/Xorg/7.1/include/drm/stddef.h
>         not in /usr/include/stddef.h
> make[6]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2
> /src/mesa/drivers/dri/i810'

Do you have Linux-Headers installed? Could you try 'InstallPackage  
linux-headers' and try compilation again?


> make[6]: Entering directory `/Files/Compile/Sources/Mesa-6.5.2
[...]
> gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
> -I../../../../../include -I../../../../../include/GL/internal
> -I../../../../../src/mesa -I../../../../../src/mesa/main
> -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
> -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
> -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
> -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
> `pkg-config --cflags libdrm`  -Wall -Wmissing-prototypes -std=c99
> -ffast-math -O -g -fPIC  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L
> -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS
> -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
> -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
> ../common/vblank.c -o ../common/vblank.o
> ../common/vblank.c: In function 'driGetCurrentVBlank':
> ../common/vblank.c:306: error: 'DRM_VBLANK_SECONDARY' undeclared (first  
> use
> in this function)
> ../common/vblank.c:306: error: (Each undeclared identifier is reported  
> only
> once
> ../common/vblank.c:306: error: for each function it appears in.)
> ../common/vblank.c: In function 'driWaitForVBlank':
> ../common/vblank.c:363: error: 'DRM_VBLANK_SECONDARY' undeclared (first  
> use
> in this function)
> make[6]: *** [../common/vblank.o] Error 1
> make[6]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2
> /src/mesa/drivers/dri/i810'
> make[5]: *** [subdirs] Error 1
> make[5]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2
> /src/mesa/drivers/dri'
> make[4]: *** [linux-solo] Error 2
> make[4]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2/src/mesa'
> make[3]: *** [default] Error 2
> make[3]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2/src/mesa'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2/src'
> make[1]: *** [default] Error 1
> make[1]: Leaving directory `/Files/Compile/Sources/Mesa-6.5.2'
> make: *** [linux-dri] Error 2
> Compile: Build failed.
>
I don't know if that last error depends on the first error, but could you  
try to install the linux headers and try to compile Mesa again?

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-users mailing list