Bug 16361 - Unable to compile xserver
Summary: Unable to compile xserver
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-15 07:07 UTC by Diego
Modified: 2008-06-16 08:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Diego 2008-06-15 07:07:42 UTC
This errors are from today (June 15th) i have updated all the *proto headers, and mesa to the latest git, but still i get these errors:

glxdriswrast.c:68: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer':
glxdriswrast.c:127: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdriswrast.c: In function '__glXDRIbindTexImage':
glxdriswrast.c:199: error: '__GLXDRIscreen' has no member named 'texBuffer'
glxdriswrast.c: In function '__glXDRIscreenCreateDrawable':
glxdriswrast.c:343: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c: In function 'swrastPutImage':
glxdriswrast.c:374: error: '__DRI_SWRAST_IMAGE_OP_DRAW' undeclared (first use in this function)
glxdriswrast.c:374: error: (Each undeclared identifier is reported only once
glxdriswrast.c:374: error: for each function it appears in.)
glxdriswrast.c:377: error: '__DRI_SWRAST_IMAGE_OP_SWAP' undeclared (first use in this function)
glxdriswrast.c: At top level:
glxdriswrast.c:402: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swrastLoaderExtension'
glxdriswrast.c:411: error: 'swrastLoaderExtension' undeclared here (not in a function)
glxdriswrast.c: In function 'initializeExtensions':
glxdriswrast.c:426: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdriswrast.c:427: warning: statement with no effect
glxdriswrast.c:434: error: '__GLXDRIscreen' has no member named 'texBuffer'
glxdriswrast.c:435: warning: statement with no effect
glxdriswrast.c: In function '__glXDRIscreenProbe':
glxdriswrast.c:488: error: '__DRI_SWRAST' undeclared (first use in this function)
glxdriswrast.c:488: warning: passing argument 1 of 'strlen' from incompatible pointer type
glxdriswrast.c:488: warning: passing argument 2 of '__builtin_strcmp' from incompatible pointer type
glxdriswrast.c:488: warning: passing argument 2 of '__builtin_strcmp' from incompatible pointer type
glxdriswrast.c:488: warning: passing argument 1 of 'strlen' from incompatible pointer type
glxdriswrast.c:488: warning: passing argument 2 of '__builtin_strcmp' from incompatible pointer type
glxdriswrast.c:488: warning: passing argument 2 of '__builtin_strcmp' from incompatible pointer type
glxdriswrast.c:489: error: '__DRI_SWRAST_VERSION' undeclared (first use in this function)
glxdriswrast.c:489: warning: comparison between pointer and integer
glxdriswrast.c:490: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:490: error: expected ')' before '__DRIswrastExtension'
glxdriswrast.c:490: warning: type defaults to 'int' in declaration of 'type name'
glxdriswrast.c:490: warning: statement with no effect
glxdriswrast.c:494: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:501: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:501: error: request for member 'createNewScreen' in something not a structure or union
glxdriswrast.c:504: error: called object '*(const struct __DRIextension **)&<erroneous-expression>' is not a function
glxdriswrast.c:504: warning: assignment from incompatible pointer type
Comment 1 Michel Dänzer 2008-06-15 23:30:34 UTC
Your installed GL/internal/dri_interface.h header appears stale. It needs to be from Mesa Git.
Comment 2 Diego 2008-06-16 08:33:11 UTC
>Your installed GL/internal/dri_interface.h header appears stale. It needs to be
>from Mesa Git.

I compiled and installed mesa from GIT "Trunk" before compiling the xserver, besides i made sure that the GL/internal/dri_* files were up to date.

Actually before opening this bug report i tried to fix this myself, but i could not get the thing that was wrong, everything seems to be ok to me.



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.