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

Viola Zoltán violazoli at gmail.com
Sat Apr 21 16:42:01 UTC 2007


I not have drm.pc in /System/Links/Libraries/pkgconfig.

I use Xorg 7.1, this is in 013. But I have installed LibDRM2.3.0

Zoli

2007/4/21, Jonas Karlsson <jonka750 at student.liu.se>:
>
> Make sure you have you have the file drm.pc in
> /System/Links/Libraries/pkgconfig.
> Which version of Xorg do you have installed? If you have Xorg 7.1 you also
> need to have LibDRM installed. LibDRM is included in Xorg 7.2.
>
> /Jonas
>
> On Sat, 21 Apr 2007 14:47:52 +0200, Viola Zoltán <violazoli at gmail.com>
> wrote:
>
> > Hm, the Mesa make me newly error. I install the linux-kernel-headers,
> > but...
> >
> > 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/texmem.c -o ../common/texmem.o
> > 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.
> >
> >
> > Zoli
> >
> > 2007/4/19, Jonas Karlsson <jonka750 at student.liu.se>:
> >>
> >> 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/
> >> _______________________________________________
> >> 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/
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>



-- 
Honlapom: http://poliverzum.birodalom.net/powi
Fórumom: http://birodalom.net/forum

A #86-os sorszámú hivatalosan bejegyzett GoboLinux felhasználó
The #86 official GoboLinux-user

A GoboLinux felhasználók hivatalos magyar fóruma:
The official forum for the hungarian GoboLinux-users:
http://linux.birodalom.net/smf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gobolinux.org/pipermail/gobolinux-users/attachments/20070421/1ed104d8/attachment.htm 


More information about the gobolinux-users mailing list