Hi all. I get the following errors while compiling X server 1.5.3, Mesa here is v7.1. Please help. xdriswrast.Tpo -c glxdriswrast.c -fPIC -DPIC -o .libs/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:67: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token glxdriswrast.c: In function '__glXDRIdrawableDestroy': glxdriswrast.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:92: error: 'core' undeclared (first use in this function) glxdriswrast.c:92: error: (Each undeclared identifier is reported only once glxdriswrast.c:92: error: for each function it appears in.) glxdriswrast.c:92: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIdrawableSwapBuffers': glxdriswrast.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:116: error: 'core' undeclared (first use in this function) glxdriswrast.c:116: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer': glxdriswrast.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:128: error: 'copySubBuffer' undeclared (first use in this function) glxdriswrast.c:129: error: '__GLXDRIscreen' has no member named 'copySubBuffer' glxdriswrast.c: In function '__glXDRIcontextDestroy': glxdriswrast.c:141: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextMakeCurrent': glxdriswrast.c:154: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextLoseCurrent': glxdriswrast.c:165: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextCopy': glxdriswrast.c:176: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIcontextForceCurrent': glxdriswrast.c:188: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIscreenDestroy': glxdriswrast.c:253: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIscreenCreateContext': glxdriswrast.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:270: error: 'core' undeclared (first use in this function) glxdriswrast.c:270: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:293: error: '__GLXDRIconfig' has no member named 'driConfig' glxdriswrast.c: In function '__glXDRIscreenCreateDrawable': glxdriswrast.c:347: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:348: error: '__GLXDRIconfig' has no member named 'driConfig' glxdriswrast.c: In function 'swrastPutImage': glxdriswrast.c:378: error: '__DRI_SWRAST_IMAGE_OP_DRAW' undeclared (first use in this function) glxdriswrast.c:381: error: '__DRI_SWRAST_IMAGE_OP_CLEAR' undeclared (first use in this function) glxdriswrast.c:384: error: '__DRI_SWRAST_IMAGE_OP_SWAP' undeclared (first use in this function) glxdriswrast.c: At top level: glxdriswrast.c:409: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swrastLoaderExtension' glxdriswrast.c:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c: In function 'initializeExtensions': glxdriswrast.c:425: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:425: error: 'extensions' undeclared (first use in this function) glxdriswrast.c:428: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c: In function '__glXDRIscreenProbe': glxdriswrast.c:458: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:458: error: 'extensions' undeclared (first use in this function) glxdriswrast.c:459: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token glxdriswrast.c:459: error: 'driConfigs' undeclared (first use in this function) glxdriswrast.c:483: error: '__DRI_DRIVER_EXTENSIONS' undeclared (first use in this function) glxdriswrast.c:491: error: '__DRI_CORE' undeclared (first use in this function) glxdriswrast.c:492: error: '__DRI_CORE_VERSION' undeclared (first use in this function) glxdriswrast.c:493: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:493: error: expected ')' before '__DRIcoreExtension' glxdriswrast.c:493: warning: type defaults to 'int' in declaration of 'type name' glxdriswrast.c:495: error: '__DRI_SWRAST' undeclared (first use in this function) glxdriswrast.c:496: error: '__DRI_SWRAST_VERSION' undeclared (first use in this function) glxdriswrast.c:497: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:497: error: expected ')' before '__DRIswrastExtension' glxdriswrast.c:497: warning: type defaults to 'int' in declaration of 'type name' glxdriswrast.c:501: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:501: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:508: error: '__GLXDRIscreen' has no member named 'swrast' glxdriswrast.c:509: error: 'loader_extensions' undeclared (first use in this function) glxdriswrast.c:520: warning: implicit declaration of function 'glxConvertConfigs' glxdriswrast.c:520: warning: nested extern declaration of 'glxConvertConfigs' glxdriswrast.c:520: error: '__GLXDRIscreen' has no member named 'core' glxdriswrast.c:520: warning: assignment makes pointer from integer without a cast make[1]: *** [glxdriswrast.lo] Error 1 make[1]: Leaving directory `/root/montavista/rpm/BUILD/xorg-server-1.5.3/glx' make: *** [all-recursive] Error 1
Regards, Vandana
_______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg