I can't run X from my Slackware packages so I tried to build my own. I downloaded the source for all the components. I built every package (sometimes not getting them in the right order and having to figure that out - instructions for the right order would be nice) but when I try to build xorg-server I get the errors below. All the GLX source is in xorg-server; how can it be wrong? I find it a curious coincidence that the package xorg-server halts right after loading driswrast. CC glxdriswrast.o In file included from glxdriswrast.c:49: glxdricommon.h:32: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token glxdricommon.h:36: warning: type defaults to 'int' in declaration of '__DRIcoreExtension' glxdricommon.h:36: error: expected ';', ',' or ')' before '*' token glxdricommon.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systemTimeExtension' glxdriswrast.c:74: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token glxdriswrast.c: In function '__glXDRIdrawableDestroy': glxdriswrast.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:98: error: 'core' undeclared (first use in this function) glxdriswrast.c:98: error: (Each undeclared identifier is reported only once glxdriswrast.c:98: error: for each function it appears in.) glxdriswrast.c:98: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIdrawableSwapBuffers': glxdriswrast.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:114: error: 'core' undeclared (first use in this function) glxdriswrast.c:114: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer': glxdriswrast.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:126: error: 'copySubBuffer' undeclared (first use in this function) glxdriswrast.c:127: error: '__GLXDRIscreen' has no member named 'copySubBuffer' glxdriswrast.c: In function '__glXDRIcontextDestroy': glxdriswrast.c:139: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextMakeCurrent': glxdriswrast.c:152: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextLoseCurrent': glxdriswrast.c:163: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextCopy': glxdriswrast.c:174: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextForceCurrent': glxdriswrast.c:186: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIscreenDestroy': glxdriswrast.c:251: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIscreenCreateContext': glxdriswrast.c:268: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:268: error: 'core' undeclared (first use in this function) glxdriswrast.c:268: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:269: warning: ISO C90 forbids mixed declarations and code glxdriswrast.c:290: error: '__GLXDRIconfig' has no member named 'driConfig' glxdriswrast.c: In function '__glXDRIscreenCreateDrawable': glxdriswrast.c:339: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:340: error: '__GLXDRIconfig' has no member named 'driConfig' glxdriswrast.c: In function 'swrastPutImage': glxdriswrast.c:370: error: '__DRI_SWRAST_IMAGE_OP_DRAW' undeclared (first use in this function) glxdriswrast.c:373: error: '__DRI_SWRAST_IMAGE_OP_SWAP' undeclared (first use in this function) glxdriswrast.c: At top level: glxdriswrast.c:398: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swrastLoaderExtension' glxdriswrast.c:405: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c: In function 'initializeExtensions': glxdriswrast.c:414: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:414: error: 'extensions' undeclared (first use in this function) glxdriswrast.c:415: warning: ISO C90 forbids mixed declarations and code glxdriswrast.c:417: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIscreenProbe': glxdriswrast.c:447: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:447: error: 'extensions' undeclared (first use in this function) glxdriswrast.c:448: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:448: warning: ISO C90 forbids mixed declarations and code glxdriswrast.c:448: error: 'driConfigs' undeclared (first use in this function) glxdriswrast.c:449: warning: ISO C90 forbids mixed declarations and code glxdriswrast.c:471: error: '__DRI_DRIVER_EXTENSIONS' undeclared (first use in this function) glxdriswrast.c:479: error: '__DRI_CORE' undeclared (first use in this function) glxdriswrast.c:479: warning: left-hand operand of comma expression has no effect glxdriswrast.c:479: warning: left-hand operand of comma expression has no effect glxdriswrast.c:479: warning: left-hand operand of comma expression has no effect glxdriswrast.c:479: warning: left-hand operand of comma expression has no effect glxdriswrast.c:480: error: '__DRI_CORE_VERSION' undeclared (first use in this function) glxdriswrast.c:481: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:481: error: expected ')' before '__DRIcoreExtension' glxdriswrast.c:481: warning: type defaults to 'int' in declaration of 'type name' glxdriswrast.c:483: error: '__DRI_SWRAST' undeclared (first use in this function) glxdriswrast.c:483: warning: left-hand operand of comma expression has no effect glxdriswrast.c:483: warning: left-hand operand of comma expression has no effect glxdriswrast.c:483: warning: left-hand operand of comma expression has no effect glxdriswrast.c:483: warning: left-hand operand of comma expression has no effect glxdriswrast.c:484: error: '__DRI_SWRAST_VERSION' undeclared (first use in this function) glxdriswrast.c:485: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:485: error: expected ')' before '__DRIswrastExtension' glxdriswrast.c:485: warning: type defaults to 'int' in declaration of 'type name' glxdriswrast.c:489: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:489: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:496: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:497: error: 'loader_extensions' undeclared (first use in this function) glxdriswrast.c:509: warning: implicit declaration of function 'glxConvertConfigs' glxdriswrast.c:509: warning: nested extern declaration of 'glxConvertConfigs' glxdriswrast.c:509: error: '__GLXDRIscreen' has no member named 'core' make[1]: *** [glxdriswrast.lo] Error 1 make: *** [all-recursive] Error 1
Looks exactly like bug 19650, caused by trying to build against too old of a version of Mesa.
I'm unhappy that I searched on glxdriwrast and found 'zarro' bugs. I use Mesa 7.7, the latest stable release. I just downloaded 7.8rc1.
I needed the source for Mesa. Building Mesa 7.7 instead of using the package solved my problem.
(In reply to comment #2) > I'm unhappy that I searched on glxdriwrast and found 'zarro' bugs. The freedesktop.org bugzilla, like most bugzillas, defaults to only searching open bugs, not closed or resolved ones. If you're using the simple search field, you can use "ALL" as the first word of the search to search all bugs, including closed/resolved, or you can use the advanced search form and select all the states from the scrollbox.
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.