Cannot compile graphics/dri

Florent Thoumie flz at FreeBSD.org
Thu May 24 11:20:53 UTC 2007


Heinrich Rebehn wrote:
> [snip]
> cc -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` -I/usr/local/include -Wall -O -fPIC
> -Wmissing-prototypes -std=c99 -Wundef -ffast-math  -I/usr/local/include
> -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
> -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
> ../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)
> gmake[6]: *** [../common/vblank.o] Error 1
> gmake[6]: Leaving directory
> `/usr/ports/graphics/dri/work/Mesa-6.5.3/src/mesa/drivers/dri/i810'
> gmake[5]: *** [subdirs] Error 1
> gmake[5]: Leaving directory
> `/usr/ports/graphics/dri/work/Mesa-6.5.3/src/mesa/drivers/dri'
> gmake[4]: *** [linux-solo] Error 2
> gmake[4]: Leaving directory
> `/usr/ports/graphics/dri/work/Mesa-6.5.3/src/mesa'
> gmake[3]: *** [default] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/graphics/dri/work/Mesa-6.5.3/src/mesa'
> gmake[2]: *** [subdirs] Error 1
> gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-6.5.3/src'
> gmake[1]: *** [default] Error 1
> gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-6.5.3'
> gmake: *** [freebsd-dri] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/graphics/dri.
> 
> 
> Any idea what's wrong here?

Outdated graphics/libdrm.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070524/dbfe982a/signature.pgp


More information about the freebsd-x11 mailing list