xorg-server-1.4.99.901 compile failure at GL/glx

Michael Verret axxium.zenlnx at gmail.com
Tue May 6 10:45:37 PDT 2008


Hi,

I cannot get xorg-server-1.4.99.901 to build beyond this point:

glxdri.c:112: error: '__DRI_CREATE_NEW_SCREEN_STRING' undeclared here (not
in a function)
glxdri.c: In function '__glXDRIleaveServer':
glxdri.c:122: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:122: warning: initialization makes integer from pointer without a
cast
glxdri.c:125: error: '__GLXDRIscreen' has no member named
'texOffsetOverride'
glxdri.c:125: warning: initialization from incompatible pointer type
glxdri.c:131: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:132: error: '__GLXDRIdrawable' has no member named 'offset'
glxdri.c:133: error: '__GLXDRIscreen' has no member named 'texOffsetStart'
glxdri.c:133: error: called object '<erroneous-expression>' is not a
function
glxdri.c:133: warning: statement with no effect
glxdri.c:144: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:144: warning: initialization makes integer from pointer without a
cast
glxdri.c:147: error: '__GLXDRIscreen' has no member named
'texOffsetOverride'
glxdri.c:147: warning: initialization from incompatible pointer type
glxdri.c:153: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:154: error: '__GLXDRIscreen' has no member named 'texOffset'
glxdri.c:154: error: request for member 'setTexOffset' in something not a
structure or union
glxdri.c:154: error: '__GLXDRIdrawable' has no member named 'ctx'
glxdri.c:154: error: request for member 'driContext' in something not a
structure or union
glxdri.c:155: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:156: error: '__GLXDRIdrawable' has no member named 'offset'
glxdri.c:158: error: called object '<erroneous-expression>' is not a
function
glxdri.c:158: warning: statement with no effect
glxdri.c: In function '__glXDRIenterServer':
glxdri.c:174: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c: In function '__glXDRIdoReleaseTexImage':
glxdri.c:187: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:187: warning: initialization makes integer from pointer without a
cast
glxdri.c:190: error: '__GLXDRIscreen' has no member named
'texOffsetOverride'
glxdri.c:190: warning: initialization from incompatible pointer type
glxdri.c:208: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:208: warning: statement with no effect
glxdri.c: In function '__glXDRIdrawableDestroy':
glxdri.c:231: error: too few arguments to function
'private->driDrawable.destroyDrawable'
glxdri.c:231: warning: statement with no effect
glxdri.c: In function '__glXDRIdrawableSwapBuffers':
glxdri.c:259: error: too few arguments to function
'private->driDrawable.swapBuffers'
glxdri.c:259: warning: statement with no effect
glxdri.c: In function '__glXDRIdrawableSwapInterval':
glxdri.c:272: error: '__GLXDRIscreen' has no member named 'swapControl'
glxdri.c:273: error: '__GLXDRIscreen' has no member named 'swapControl'
glxdri.c:273: error: request for member 'setSwapInterval' in something not a
structure or union
glxdri.c:273: error: called object '<erroneous-expression>' is not a
function
glxdri.c:273: warning: statement with no effect
glxdri.c: In function '__glXDRIdrawableCopySubBuffer':
glxdri.c:287: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdri.c:288: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdri.c:288: error: request for member 'copySubBuffer' in something not a
structure or union
glxdri.c:289: error: called object '<erroneous-expression>' is not a
function
glxdri.c:289: warning: statement with no effect
glxdri.c: In function '__glXDRIcontextDestroy':
glxdri.c:298: error: too few arguments to function
'context->driContext.destroyContext'
glxdri.c:298: warning: statement with no effect
glxdri.c: In function '__glXDRIcontextMakeCurrent':
glxdri.c:317: warning: passing argument 2 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri.c:317: warning: passing argument 3 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri.c:317: error: too few arguments to function
'context->driContext.bindContext'
glxdri.c:317: warning: return makes integer from pointer without a cast
glxdri.c: In function '__glXDRIcontextLoseCurrent':
glxdri.c:325: error: too few arguments to function
'context->driContext.unbindContext'
glxdri.c:325: warning: return makes integer from pointer without a cast
glxdri.c: In function '__glXDRIcontextForceCurrent':
glxdri.c:352: warning: passing argument 2 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri.c:352: warning: passing argument 3 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri.c:352: error: too few arguments to function
'context->driContext.bindContext'
glxdri.c:352: warning: return makes integer from pointer without a cast
glxdri.c: In function '__glXDRIbindTexImage':
glxdri.c:410: error: '__GLXDRIscreen' has no member named 'texOffsetStart'
glxdri.c:410: error: '__GLXDRIscreen' has no member named 'texOffset'
glxdri.c:411: error: '__GLXDRIscreen' has no member named
'texOffsetOverride'
glxdri.c:411: warning: initialization from incompatible pointer type
glxdri.c:427: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:427: warning: comparison between pointer and integer
glxdri.c:428: error: '__GLXDRIscreen' has no member named
'lastTexOffsetOverride'
glxdri.c:428: warning: statement with no effect
glxdri.c:435: error: '__GLXDRIdrawable' has no member named 'ctx'
glxdri.c:435: warning: statement with no effect
glxdri.c:437: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:437: warning: comparison between pointer and integer
glxdri.c:440: error: '__GLXDRIdrawable' has no member named 'texname'
glxdri.c:440: warning: statement with no effect
glxdri.c:442: error: '__GLXDRIscreen' has no member named 'texOffset'
glxdri.c:442: error: request for member 'setTexOffset' in something not a
structure or union
glxdri.c:442: error: '__GLXDRIdrawable' has no member named 'ctx'
glxdri.c:442: error: request for member 'driContext' in something not a
structure or union
glxdri.c:444: error: called object '<erroneous-expression>' is not a
function
glxdri.c:444: warning: statement with no effect
glxdri.c:448: error: '__GLXDRIdrawable' has no member named 'pDamage'
glxdri.c:450: error: '__GLXDRIdrawable' has no member named 'pDamage'
glxdri.c:451: warning: statement with no effect
glxdri.c:452: error: '__GLXDRIdrawable' has no member named 'pDamage'
glxdri.c:455: error: '__GLXDRIdrawable' has no member named 'pDamage'
glxdri.c:455: warning: passing argument 2 of 'DamageRegister' from
incompatible pointer type
glxdri.c:460: error: '__GLXDRIdrawable' has no member named 'pDamage'
glxdri.c:460: warning: passing argument 1 of 'DamageRegion' from
incompatible pointer type
glxdri.c:561: error: '__GLXDRIdrawable' has no member named 'pDamage'
glxdri.c:561: warning: passing argument 1 of 'DamageEmpty' from incompatible
pointer type
glxdri.c: In function '__glXDRIscreenDestroy':
glxdri.c:588: error: too few arguments to function
'screen->driScreen.destroyScreen'
glxdri.c:588: warning: statement with no effect
glxdri.c: In function '__glXDRIscreenCreateContext':
glxdri.c:653: warning: passing argument 5 of
'screen->driScreen.createNewContext' makes pointer from integer without a
cast
glxdri.c:653: error: too many arguments to function
'screen->driScreen.createNewContext'
glxdri.c: In function '__glXDRIscreenCreateDrawable':
glxdri.c:707: warning: passing argument 3 of
'driScreen->driScreen.createNewDrawable' makes integer from pointer without
a cast
glxdri.c:707: warning: passing argument 4 of
'driScreen->driScreen.createNewDrawable' makes pointer from integer without
a cast
glxdri.c: At top level:
glxdri.c:831: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'contextModesExtension'
glxdri.c:837: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'systemTimeExtension'
glxdri.c:843: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'getDrawableInfoExtension'
glxdri.c:848: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'damageExtension'
glxdri.c:853: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
glxdri.c: In function 'initializeExtensions':
glxdri.c:897: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
glxdri.c:897: error: 'extensions' undeclared (first use in this function)
glxdri.c:897: error: (Each undeclared identifier is reported only once
glxdri.c:897: error: for each function it appears in.)
glxdri.c:897: error: invalid type argument of 'unary *'
glxdri.c:897: warning: statement with no effect
glxdri.c:900: error: '__DRIscreen' has no member named 'getExtensions'
glxdri.c:900: error: called object '<erroneous-expression>' is not a
function
glxdri.c:900: warning: statement with no effect
glxdri.c: In function '__glXDRIscreenProbe':
glxdri.c:981: error: '__GLXDRIscreen' has no member named 'glx_enable_bits'
glxdri.c:981: warning: passing argument 1 of '__glXInitExtensionEnableBits'
discards qualifiers from pointer target type
glxdri.c:1113: error: 'loader_extensions' undeclared (first use in this
function)
glxdri.c:1114: warning: passing argument 1 of 'createNewScreen' makes
pointer from integer without a cast
glxdri.c:1114: warning: passing argument 2 of 'createNewScreen' makes
integer from pointer without a cast
glxdri.c:1114: warning: passing argument 3 of 'createNewScreen' from
incompatible pointer type
glxdri.c:1114: warning: passing argument 4 of 'createNewScreen' from
incompatible pointer type
glxdri.c:1114: warning: passing argument 6 of 'createNewScreen' from
incompatible pointer type
glxdri.c:1114: warning: passing argument 8 of 'createNewScreen' makes
pointer from integer without a cast
glxdri.c:1114: warning: passing argument 9 of 'createNewScreen' discards
qualifiers from pointer target type
glxdri.c:1114: warning: passing argument 10 of 'createNewScreen' makes
integer from pointer without a cast
glxdri.c:1114: error: too few arguments to function 'createNewScreen'
glxdri.c:1114: warning: assignment discards qualifiers from pointer target
type
glxdri.c:1121: error: '__GLXDRIscreen' has no member named 'texOffsetStart'
glxdri.c:1122: error: '__GLXDRIscreen' has no member named 'texOffsetFinish'
glxdri.c:1122: warning: passing argument 2 of 'DRIGetTexOffsetFuncs' from
incompatible pointer type
glxdri.c:1122: warning: passing argument 3 of 'DRIGetTexOffsetFuncs' from
incompatible pointer type
glxdri.c:1128: error: '__GLXDRIscreen' has no member named 'glx_enable_bits'
glxdri.c:1128: warning: pointer targets in passing argument 1 of
'__glXGetExtensionString' differ in signedness
glxdri.c:1135: error: '__GLXDRIscreen' has no member named 'glx_enable_bits'
glxdri.c:1136: warning: pointer targets in passing argument 1 of
'__glXGetExtensionString' differ in signedness
make[2]: *** [glxdri.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
glxdri2.c:76: error: expected specifier-qualifier-list before
'__DRIcopySubBufferExtension'
glxdri2.c:94: error: '__DRI2_CREATE_NEW_SCREEN_STRING' undeclared here (not
in a function)
glxdri2.c: In function '__glXDRIdrawableDestroy':
glxdri2.c:101: error: too few arguments to function
'private->driDrawable.destroyDrawable'
glxdri2.c:101: warning: statement with no effect
glxdri2.c: In function '__glXDRIdrawableSwapBuffers':
glxdri2.c:125: error: too few arguments to function
'private->driDrawable.swapBuffers'
glxdri2.c:125: warning: statement with no effect
glxdri2.c: In function '__glXDRIdrawableSwapInterval':
glxdri2.c:138: error: '__GLXDRIscreen' has no member named 'swapControl'
glxdri2.c:139: error: '__GLXDRIscreen' has no member named 'swapControl'
glxdri2.c:139: error: request for member 'setSwapInterval' in something not
a structure or union
glxdri2.c:139: error: called object '<erroneous-expression>' is not a
function
glxdri2.c:139: warning: statement with no effect
glxdri2.c: In function '__glXDRIdrawableCopySubBuffer':
glxdri2.c:153: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdri2.c:154: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdri2.c:154: error: request for member 'copySubBuffer' in something not a
structure or union
glxdri2.c:155: error: called object '<erroneous-expression>' is not a
function
glxdri2.c:155: warning: statement with no effect
glxdri2.c: In function '__glXDRIcontextDestroy':
glxdri2.c:164: error: too few arguments to function
'context->driContext.destroyContext'
glxdri2.c:164: warning: statement with no effect
glxdri2.c: In function '__glXDRIcontextMakeCurrent':
glxdri2.c:179: warning: passing argument 2 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri2.c:179: warning: passing argument 3 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri2.c:179: error: too few arguments to function
'context->driContext.bindContext'
glxdri2.c:179: warning: return makes integer from pointer without a cast
glxdri2.c: In function '__glXDRIcontextLoseCurrent':
glxdri2.c:187: error: too few arguments to function
'context->driContext.unbindContext'
glxdri2.c:187: warning: return makes integer from pointer without a cast
glxdri2.c: In function '__glXDRIcontextForceCurrent':
glxdri2.c:214: warning: passing argument 2 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri2.c:214: warning: passing argument 3 of
'context->driContext.bindContext' makes integer from pointer without a cast
glxdri2.c:214: error: too few arguments to function
'context->driContext.bindContext'
glxdri2.c:214: warning: return makes integer from pointer without a cast
glxdri2.c: In function '__glXDRIscreenDestroy':
glxdri2.c:294: error: too few arguments to function
'screen->driScreen.destroyScreen'
glxdri2.c:294: warning: statement with no effect
glxdri2.c: In function '__glXDRIscreenCreateContext':
glxdri2.c:339: warning: passing argument 5 of
'screen->driScreen.createNewContext' makes pointer from integer without a
cast
glxdri2.c:339: error: too many arguments to function
'screen->driScreen.createNewContext'
glxdri2.c: In function '__glXDRIscreenCreateDrawable':
glxdri2.c:379: warning: passing argument 3 of
'driScreen->driScreen.createNewDrawable' makes integer from pointer without
a cast
glxdri2.c:379: warning: passing argument 4 of
'driScreen->driScreen.createNewDrawable' makes pointer from integer without
a cast
glxdri2.c: At top level:
glxdri2.c:417: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'contextModesExtension'
glxdri2.c:423: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'systemTimeExtension'
glxdri2.c:429: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'damageExtension'
glxdri2.c:434: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
glxdri2.c: In function 'initializeExtensions':
glxdri2.c:475: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
glxdri2.c:475: error: 'extensions' undeclared (first use in this function)
glxdri2.c:475: error: (Each undeclared identifier is reported only once
glxdri2.c:475: error: for each function it appears in.)
glxdri2.c:475: error: invalid type argument of 'unary *'
glxdri2.c:475: warning: statement with no effect
glxdri2.c:478: error: '__DRIscreen' has no member named 'getExtensions'
glxdri2.c:478: error: called object '<erroneous-expression>' is not a
function
glxdri2.c:478: warning: statement with no effect
glxdri2.c: In function '__glXDRIscreenProbe':
glxdri2.c:516: error: '__DRI2_CREATE_NEW_SCREEN_FUNC' undeclared (first use
in this function)
glxdri2.c:516: error: 'createNewScreen' undeclared (first use in this
function)
glxdri2.c:516: error: invalid operands to binary *
glxdri2.c:516: warning: statement with no effect
glxdri2.c:545: error: '__GLXDRIscreen' has no member named 'glx_enable_bits'
glxdri2.c:545: warning: passing argument 1 of '__glXInitExtensionEnableBits'
discards qualifiers from pointer target type
glxdri2.c:557: warning: statement with no effect
glxdri2.c:569: error: 'loader_extensions' undeclared (first use in this
function)
glxdri2.c:570: error: called object '*(const char *)&<erroneous-expression>'
is not a function
glxdri2.c:570: warning: assignment discards qualifiers from pointer target
type
glxdri2.c:581: error: '__GLXDRIscreen' has no member named 'glx_enable_bits'
glxdri2.c:581: warning: pointer targets in passing argument 1 of
'__glXGetExtensionString' differ in signedness
glxdri2.c:588: error: '__GLXDRIscreen' has no member named 'glx_enable_bits'
glxdri2.c:589: warning: pointer targets in passing argument 1 of
'__glXGetExtensionString' differ in signedness
make[2]: *** [glxdri2.lo] Error 1
 gcc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86/os-support
-I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common
-I../../hw/xfree86/dri -I../../hw/xfree86/dri2 -I../../mi
-I/root/Xorg/source/xorg-server/xorg-server-1.4.99.901-i486-52.1/Mesa-7.0.3/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
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2
-I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -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/include/drm -I/usr/include/X11/dri
-I/root/Xorg/source/xorg-server/xorg-server-1.4.99.901-i486-52.1/Mesa-7.0.3/src/mesa/glapi
-I/root/Xorg/source/xorg-server/xorg-server-1.4.99.901-i486-52.1/Mesa-7.0.3/src/mesa/main
-DXFree86Server -O2 -march=i486 -mtune=i686 -MT extension_string.lo -MD -MP
-MF .deps/extension_string.Tpo -c extension_string.c  -fPIC -DPIC -o
.libs/extension_string.o
mv -f .deps/extension_string.Tpo .deps/extension_string.Plo
ar cru .libs/libglx.a .libs/glxcmds.o .libs/glxcmdsswap.o .libs/glxext.o
.libs/glxglcore.o .libs/glxscreens.o .libs/glxutil.o
.libs/indirect_program.o .libs/indirect_texture_compression.o
.libs/indirect_util.o .libs/render2.o .libs/render2swap.o .libs/renderpix.o
.libs/renderpixswap.o .libs/rensize.o .libs/single2.o .libs/single2swap.o
.libs/singlepix.o .libs/singlepixswap.o .libs/singlesize.o
.libs/swap_interval.o .libs/xfont.o .libs/glapi.o .libs/glcontextmodes.o
.libs/glthread.o .libs/indirect_dispatch.o .libs/indirect_dispatch_swap.o
.libs/indirect_reqsize.o .libs/indirect_size_get.o .libs/indirect_table.o
ranlib .libs/libglx.a
creating libglx.la
(cd .libs && rm -f libglx.la && ln -s ../libglx.la libglx.la)
make[2]: Leaving directory
`/root/Xorg/source/xorg-server/xorg-server-1.4.99.901-i486-52.1/xorg-server-1.4.99.901/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/Xorg/source/xorg-server/xorg-server-1.4.99.901-i486-52.1/xorg-server-1.4.99.901/GL'
make: *** [all-recursive] Error 1

This is on a system with all X sources installed and up-to-date, w/
xorg-server-1.4.0.90 installed and using mesa-7.0.3. No patches were used
during this compilation. This is the only X related package to fail.

Any ideas why the compilation is choking?

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080506/3145e3b6/attachment.html>


More information about the xorg mailing list