Recent mesa commit - still compile failure here

Jens Stroebel dr-xorg at bcsoft.de
Fri Apr 4 04:20:22 PDT 2008


Johannes Engel wrote:
> Ben Gamari schrieb:
>> Kristian,
>>
>> Is it possible that your recent commit
>> (dc836edf49a08a7fd77fc1f127818b0550558581: Initialize
>> GLX_EXT_texture_from_pixmap attributes correctly.) broke GLX?
> Rebuilding xserver from git solves that problem. :)

Not here:

####################################################################
  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86/os-support
-I../../hw/xfree86/os-su
pport/bus -I../../hw/xfree86/common -I../../hw/xfree86/dri
-I../../hw/xfree86/dri2 -I../../mi -
I/usr/src/Mesa-git20080404/include -DHAVE_DIX_CONFIG_H -Wall
-Wpointer-arith -Wstrict-prototype
s -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -D_BSD_SOUR
CE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE
-I/opt/Xorg/include -I/opt/Xo
rg/include/pixman-1 -I/usr/include/freetype2 -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../../dam
ageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow
-I../../miext/damage -I../../r
ender -I../../randr -I../../fb -I/opt/Xorg/include -I/opt/Xorg/include
-I/usr/include/drm -I/op
t/Xorg/include/X11/dri -I/usr/src/Mesa-git20080404/src/mesa/glapi
-I/usr/src/Mesa-git20080404/s
rc/mesa/main -DXFree86Server -g3 -O0 -MT glxdri.lo -MD -MP -MF
.deps/glxdri.Tpo -c glxdri.c  -f
PIC -DPIC -o .libs/glxdri.o
glxdri.c:73: error: field 'driScreen' has incomplete type
glxdri.c:95: error: field 'driContext' has incomplete type
glxdri.c:101: error: field 'driDrawable' has incomplete type
glxdri.c:112: error: '__DRI_CREATE_NEW_SCREEN_STRING' undeclared here
(not in a function)
glxdri.c: In function '__glXDRIleaveServer':
glxdri.c:158: warning: passing argument 1 of
'screen->texOffset->setTexOffset' from incompatibl
e pointer type
glxdri.c: In function '__glXDRIdrawableDestroy':
glxdri.c:231: error: request for member 'destroyDrawable' in something
not a structure or union
glxdri.c:231: error: called object '*(&<erroneous-expression>)' is not a
function
glxdri.c:231: warning: statement with no effect
glxdri.c: In function '__glXDRIdrawableSwapBuffers':
glxdri.c:259: error: request for member 'swapBuffers' in something not a
structure or union
glxdri.c:259: error: called object '*(&<erroneous-expression>)' is not a
function
glxdri.c:259: warning: statement with no effect
glxdri.c: In function '__glXDRIdrawableSwapInterval':
glxdri.c:273: warning: passing argument 1 of
'screen->swapControl->setSwapInterval' from incomp
atible pointer type
glxdri.c: In function '__glXDRIdrawableCopySubBuffer':
glxdri.c:289: warning: passing argument 1 of
'screen->copySubBuffer->copySubBuffer' from incompatible pointer type
glxdri.c: In function '__glXDRIcontextDestroy':
glxdri.c:298: error: request for member 'destroyContext' in something
not a structure or union
glxdri.c:298: error: called object '<erroneous-expression>' is not a
function
glxdri.c:298: warning: statement with no effect
glxdri.c: In function '__glXDRIcontextMakeCurrent':
glxdri.c:315: error: request for member 'bindContext' in something not a
structure or union
glxdri.c:317: error: called object '*(&<erroneous-expression>)' is not a
function
glxdri.c:317: warning: return makes integer from pointer without a cast
glxdri.c: In function '__glXDRIcontextLoseCurrent':
glxdri.c:325: error: request for member 'unbindContext' in something not
a structure or union
glxdri.c:325: error: called object '*(&<erroneous-expression>)' is not a
function
glxdri.c:325: warning: return makes integer from pointer without a cast
glxdri.c: In function '__glXDRIcontextForceCurrent':
glxdri.c:350: error: request for member 'bindContext' in something not a
structure or union
glxdri.c:352: error: called object '*(&<erroneous-expression>)' is not a
function
glxdri.c:352: warning: return makes integer from pointer without a cast
glxdri.c: In function '__glXDRIbindTexImage':
glxdri.c:444: warning: passing argument 1 of
'screen->texOffset->setTexOffset' from incompatible pointer type
glxdri.c: In function '__glXDRIscreenDestroy':
glxdri.c:588: error: request for member 'destroyScreen' in something not
a structure or union
glxdri.c:588: error: called object '<erroneous-expression>' is not a
function
glxdri.c:588: warning: statement with no effect
glxdri.c: In function '__glXDRIscreenCreateContext':
glxdri.c:613: warning: assignment from incompatible pointer type
glxdri.c:647: error: request for member 'private' in something not a
structure or union
glxdri.c:648: error: request for member 'createNewContext' in something
not a structure or union
glxdri.c:653: error: called object '<erroneous-expression>' is not a
function
glxdri.c:653: warning: statement with no effect
glxdri.c:655: error: request for member 'private' in something not a
structure or union
glxdri.c: In function '__glXDRIscreenCreateDrawable':
glxdri.c:703: error: request for member 'private' in something not a
structure or union
glxdri.c:704: error: request for member 'createNewDrawable' in something
not a structure or union
glxdri.c:707: error: called object '<erroneous-expression>' is not a
function
glxdri.c:707: warning: statement with no effect
glxdri.c:709: error: request for member 'private' in something not a
structure or union
glxdri.c: At top level:
glxdri.c:831: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'contextModesExtension'
glxdri.c:846: warning: initialization from incompatible pointer type
glxdri.c:850: warning: initialization from incompatible pointer type
glxdri.c:854: error: 'contextModesExtension' undeclared here (not in a
function)
glxdri.c:854: error: request for member 'base' in something not a
structure or union
glxdri.c:854: error: initializer element is not constant
glxdri.c:854: error: (near initialization for 'loader_extensions[0]')
glxdri.c: In function 'initializeExtensions':
glxdri.c:900: error: request for member 'getExtensions' in something not
a structure or union
glxdri.c:900: error: called object '<erroneous-expression>' is not a
function
glxdri.c: In function '__glXDRIscreenProbe':
glxdri.c:939: error: 'PFNCREATENEWSCREENFUNC' undeclared (first use in
this function)
glxdri.c:939: error: (Each undeclared identifier is reported only once
glxdri.c:939: error: for each function it appears in.)
glxdri.c:939: warning: statement with no effect
glxdri.c:939: error: expected ';' before 'createNewScreen'
glxdri.c:1049: error: 'createNewScreen' undeclared (first use in this
function)
glxdri.c:1049: warning: statement with no effect
glxdri.c:1104: error: request for member 'private' in something not a
structure or union
glxdri.c:1114: error: called object '*(&<erroneous-expression>)' is not
a function
glxdri.c:1114: warning: statement with no effect
glxdri.c:1116: error: request for member 'private' in something not a
structure or union
make[2]: *** [glxdri.lo] Error 1
make[2]: Leaving directory
`/usr/src/rpm/BUILD/xorg-git-server-2008-04-04/xserver/GL/glx'
####################################################################

		greets,
		  jens

PS: everything from git HEAD, 2008-04-04
-- 
dr-xorg at bcsoft.de
		23.....56.......drifting
By caffeine alone I set my mind in motion, By the beans of Java
do thoughts acquire speed,  hands acquire shaking,  the shaking
becomes a warning, By caffeine alone do I set my mind in motion



More information about the xorg mailing list