Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 13:04:49 +0200
From:      Heinrich Rebehn <rebehn@ant.uni-bremen.de>
To:        freebsd-x11@freebsd.org
Subject:   Cannot compile graphics/dri
Message-ID:  <46557151.7010405@ant.uni-bremen.de>

next in thread | raw e-mail | index | archive | help
[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?

--Heinrich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46557151.7010405>