Compile error with xorg git/Mesa 7.0.1 or 6.5.2.

Francis SOUYRI francis.souyri at apec.fr
Wed Oct 24 00:13:41 PDT 2007


Hello,

    I try to compile xorg from the git download (git_xorg.sh), but it 
failed with Mesa 7.0.1 there is no '__DRIcopySubBufferExtension' defined 
with  Mesa 6.5.2 there is no vbo directory.

MESA 7.0.1:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../include -I../../hw/xfree86/os-support
-I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common
-I../../hw/xfree86/dri -I../../mi
-I/usr/src/package/xorg/Mesa-7.0.1//include -DHAVE_DIX_CONFIG_H -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/usr/src/package/xorg/install/include
-I/usr/src/package/xorg/install/include/pixman-1 -I../../include
-I../../include -I../../Xext -I../../composite -I../../damageext
-I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow
-I../../miext/damage -I../../render -I../../randr -I../../fb
-I/usr/src/package/xorg/install/include
-I/usr/src/package/xorg/install/include -I/usr/include/drm
-I/usr/src/package/xorg/install/include/X11/dri
-I/usr/src/package/xorg/Mesa-7.0.1//src/mesa/glapi
-I/usr/src/package/xorg/Mesa-7.0.1//src/mesa/main -DXFree86Server -g -O2
-MT glxdri.lo -MD -MP -MF .deps/glxdri.Tpo -c glxdri.c  -fPIC -DPIC -o
.libs/glxdri.o
glxdri.c:77: error: expected specifier-qualifier-list before
'__DRIcopySubBufferExtension'
glxdri.c:110: error: '__DRI_CREATE_NEW_SCREEN_STRING' undeclared here
(not in a function)
glxdri.c: In function '__glXDRIleaveServer':
glxdri.c:120: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:120: warning: initialization makes integer from pointer without
a cast
glxdri.c:123: error: '__GLXDRIscreen' has no member named
'texOffsetOverride'
glxdri.c:123: warning: initialization from incompatible pointer type
glxdri.c:129: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:130: error: '__GLXDRIdrawable' has no member named 'offset'
glxdri.c:131: error: '__GLXDRIscreen' has no member named 'texOffsetStart'
glxdri.c:131: error: called object '<erroneous-expression>' is not a
function
glxdri.c:131: warning: statement with no effect
glxdri.c:142: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:142: warning: initialization makes integer from pointer without
a cast
glxdri.c:145: error: '__GLXDRIscreen' has no member named
'texOffsetOverride'
glxdri.c:145: warning: initialization from incompatible pointer type
glxdri.c:151: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:152: error: '__GLXDRIscreen' has no member named 'texOffset'


Mesa 6.5.2:

checking for clock_gettime in -lrt... yes
checking for a useful monotonic clock ...... yes
checking for XV... yes
checking for XLIB... yes
checking for GL... yes
Creating destination directories for mesa module ...
error: Source directory
/usr/src/package/xorg/Mesa-6.5.2/src/mesa/vbo does not exist
configure: error: Failed to link Mesa source tree. Please specify a
proper path to Mesa sources, or disable GLX.

Best regards.

Francis




More information about the xorg mailing list