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

Jonas Karlsson jonka750 at student.liu.se
Thu Apr 19 11:37:00 UTC 2007


You should install the kernel headers the way I instructed you. The kernel  
headers is not the same thing as the kernel source. Install the kernel  
headers with 'InstallPackage linux-headers' and try to Compile Mesa again.

/Jonas

On Thu, 19 Apr 2007 13:27:04 +0200, Viola Zoltán <violazoli at gmail.com>  
wrote:

> I not use the "InstallPackage linux-headers" command, but first download  
> it,
> and copy to the /Files/Compile/Sources directory, as this is written in  
> the
> Gobolinux homepage at theselink:
> http://gobolinux.org/index.php?lang=en_US&page=downloads
>
> Kernel headers
>>
>> The kernel headers for this release can be downloaded  
>> here<http://gobolinux.org/download/kernel/linux-2.6.17.11-smp-headers.tar.bz2>.
>> If you need to compile extra drivers, just unpack this tarball at
>> /Files/Compile/Sources and proceed with the driver's installation  
>> process.
>>
>
> Zoli
>
>
>
>
> 2007/4/19, Jonas Karlsson <jonka750 at student.liu.se>:
>>
>> 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/
>> _______________________________________________
>> gobolinux-users mailing list
>> gobolinux-users at lists.gobolinux.org
>> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>>
>
>
>



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


More information about the gobolinux-users mailing list