STEVE555
19th June 2009, 11:21 PM
Hi everyone,
I've recently taken the plunge to upgrade to Rawhide.I have been compiling the D.R.M,Mesa and the nouveau source code.I'm having trouble compiling them.
The compiling Mesa ends with this error:
glut_input.c:22:35: error: X11/extensions/XInput.h: No such file or directory
glut_input.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
glut_input.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
glut_input.c:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
glut_input.c: In function ‘queryTabletPos’:
glut_input.c:117: error: ‘XDeviceState’ undeclared (first use in this function)
glut_input.c:117: error: (Each undeclared identifier is reported only once
glut_input.c:117: error: for each function it appears in.)
glut_input.c:117: error: ‘state’ undeclared (first use in this function)
glut_input.c:118: error: ‘XInputClass’ undeclared (first use in this function)
glut_input.c:118: error: ‘any’ undeclared (first use in this function)
glut_input.c:119: error: ‘XValuatorState’ undeclared (first use in this function)
glut_input.c:119: error: ‘v’ undeclared (first use in this function)
glut_input.c:122: warning: implicit declaration of function ‘XQueryDeviceState’
glut_input.c:122: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:130: error: ‘ValuatorClass’ undeclared (first use in this function)
glut_input.c:131: error: expected expression before ‘)’ token
glut_input.c:139: error: expected expression before ‘)’ token
glut_input.c:142: warning: implicit declaration of function ‘XFreeDeviceState’
glut_input.c: In function ‘__glutProcessDeviceEvents’:
glut_input.c:181: error: ‘XDeviceMotionEvent’ undeclared (first use in this function)
glut_input.c:181: error: ‘devmot’ undeclared (first use in this function)
glut_input.c:181: error: expected expression before ‘)’ token
glut_input.c:185: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:190: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:198: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:220: error: ‘XDeviceButtonEvent’ undeclared (first use in this function)
glut_input.c:220: error: ‘devbtn’ undeclared (first use in this function)
glut_input.c:220: error: expected expression before ‘)’ token
glut_input.c:246: error: expected expression before ‘)’ token
glut_input.c: In function ‘probeDevices’:
glut_input.c:317: error: ‘XExtensionVersion’ undeclared (first use in this function)
glut_input.c:317: error: ‘version’ undeclared (first use in this function)
glut_input.c:318: error: ‘XDeviceInfoPtr’ undeclared (first use in this function)
glut_input.c:318: error: expected ‘;’ before ‘device_info’
glut_input.c:319: error: ‘XAnyClassPtr’ undeclared (first use in this function)
glut_input.c:319: error: expected ‘;’ before ‘any’
glut_input.c:320: error: ‘XButtonInfoPtr’ undeclared (first use in this function)
glut_input.c:320: error: expected ‘;’ before ‘b’
glut_input.c:321: error: ‘XValuatorInfoPtr’ undeclared (first use in this function)
glut_input.c:321: error: expected ‘;’ before ‘v’
glut_input.c:322: error: ‘XAxisInfoPtr’ undeclared (first use in this function)
glut_input.c:322: error: expected ‘;’ before ‘a’
glut_input.c:333: warning: implicit declaration of function ‘XGetExtensionVersion’
glut_input.c:337: error: ‘NoSuchExtension’ undeclared (first use in this function)
glut_input.c:342: error: ‘device_info’ undeclared (first use in this function)
glut_input.c:342: warning: implicit declaration of function ‘XListInputDevices’
glut_input.c:349: error: ‘device’ undeclared (first use in this function)
glut_input.c:350: error: ‘any’ undeclared (first use in this function)
glut_input.c:350: error: expected ‘;’ before ‘device’
glut_input.c:352: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:353: error: ‘v’ undeclared (first use in this function)
glut_input.c:354: error: ‘b’ undeclared (first use in this function)
glut_input.c:361: error: ‘ButtonClass’ undeclared (first use in this function)
glut_input.c:362: error: expected ‘;’ before ‘any’
glut_input.c:365: error: ‘ValuatorClass’ undeclared (first use in this function)
glut_input.c:366: error: expected ‘;’ before ‘any’
glut_input.c:370: error: ‘a’ undeclared (first use in this function)
glut_input.c:370: error: ‘XValuatorInfo’ undeclared (first use in this function)
glut_input.c:380: warning: implicit declaration of function ‘XOpenDevice’
glut_input.c:386: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:396: error: expected ‘;’ before ‘any’
glut_input.c:400: error: expected ‘;’ before ‘any’
glut_input.c:422: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:432: error: expected ‘;’ before ‘any’
glut_input.c:436: error: expected ‘;’ before ‘any’
glut_input.c:463: error: expected ‘;’ before ‘any’
glut_input.c:471: warning: implicit declaration of function ‘XFreeDeviceList’
glut_input.c: In function ‘__glutUpdateInputDeviceMask’:
glut_input.c:489: error: ‘XEventClass’ undeclared (first use in this function)
glut_input.c:489: error: expected ‘;’ before ‘eventList’
glut_input.c:495: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:497: warning: implicit declaration of function ‘DeviceMotionNotify’
glut_input.c:498: error: ‘eventList’ undeclared (first use in this function)
glut_input.c:502: warning: implicit declaration of function ‘DeviceButtonPress’
glut_input.c:505: warning: implicit declaration of function ‘DeviceButtonPressGrab’
glut_input.c:508: warning: implicit declaration of function ‘DeviceButtonRelease’
glut_input.c:513: warning: implicit declaration of function ‘DeviceStateNotify’
glut_input.c:518: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:541: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:575: warning: implicit declaration of function ‘XSelectExtensionEvent’
glut_input.c: In function ‘glutDeviceGet’:
glut_input.c:599: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:601: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:603: error: ‘__glutTablet’ undeclared (first use in this function)
gmake[2]: *** [glut_input.o] Error 1
gmake[2]: Leaving directory `/opt/mesa/src/glut/glx'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/opt/mesa/src'
gmake: *** [default] Error 1
Looking at the code,it is stopping with glut,I've tried to re-install freeglut and freeglut-devel,xorg and xcb,but no joy.I even downloaded the glut source code,but that ended with the same start error atyhe top,i.eglut_input.c:22:35: error: X11/extensions/XInput.h: No such file or directory
Can someone tell me which package to re-install or a way to get round this problem?
Any help would be greatly appreciated.
Regards,
STEVE555
I've recently taken the plunge to upgrade to Rawhide.I have been compiling the D.R.M,Mesa and the nouveau source code.I'm having trouble compiling them.
The compiling Mesa ends with this error:
glut_input.c:22:35: error: X11/extensions/XInput.h: No such file or directory
glut_input.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
glut_input.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
glut_input.c:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
glut_input.c: In function ‘queryTabletPos’:
glut_input.c:117: error: ‘XDeviceState’ undeclared (first use in this function)
glut_input.c:117: error: (Each undeclared identifier is reported only once
glut_input.c:117: error: for each function it appears in.)
glut_input.c:117: error: ‘state’ undeclared (first use in this function)
glut_input.c:118: error: ‘XInputClass’ undeclared (first use in this function)
glut_input.c:118: error: ‘any’ undeclared (first use in this function)
glut_input.c:119: error: ‘XValuatorState’ undeclared (first use in this function)
glut_input.c:119: error: ‘v’ undeclared (first use in this function)
glut_input.c:122: warning: implicit declaration of function ‘XQueryDeviceState’
glut_input.c:122: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:130: error: ‘ValuatorClass’ undeclared (first use in this function)
glut_input.c:131: error: expected expression before ‘)’ token
glut_input.c:139: error: expected expression before ‘)’ token
glut_input.c:142: warning: implicit declaration of function ‘XFreeDeviceState’
glut_input.c: In function ‘__glutProcessDeviceEvents’:
glut_input.c:181: error: ‘XDeviceMotionEvent’ undeclared (first use in this function)
glut_input.c:181: error: ‘devmot’ undeclared (first use in this function)
glut_input.c:181: error: expected expression before ‘)’ token
glut_input.c:185: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:190: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:198: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:220: error: ‘XDeviceButtonEvent’ undeclared (first use in this function)
glut_input.c:220: error: ‘devbtn’ undeclared (first use in this function)
glut_input.c:220: error: expected expression before ‘)’ token
glut_input.c:246: error: expected expression before ‘)’ token
glut_input.c: In function ‘probeDevices’:
glut_input.c:317: error: ‘XExtensionVersion’ undeclared (first use in this function)
glut_input.c:317: error: ‘version’ undeclared (first use in this function)
glut_input.c:318: error: ‘XDeviceInfoPtr’ undeclared (first use in this function)
glut_input.c:318: error: expected ‘;’ before ‘device_info’
glut_input.c:319: error: ‘XAnyClassPtr’ undeclared (first use in this function)
glut_input.c:319: error: expected ‘;’ before ‘any’
glut_input.c:320: error: ‘XButtonInfoPtr’ undeclared (first use in this function)
glut_input.c:320: error: expected ‘;’ before ‘b’
glut_input.c:321: error: ‘XValuatorInfoPtr’ undeclared (first use in this function)
glut_input.c:321: error: expected ‘;’ before ‘v’
glut_input.c:322: error: ‘XAxisInfoPtr’ undeclared (first use in this function)
glut_input.c:322: error: expected ‘;’ before ‘a’
glut_input.c:333: warning: implicit declaration of function ‘XGetExtensionVersion’
glut_input.c:337: error: ‘NoSuchExtension’ undeclared (first use in this function)
glut_input.c:342: error: ‘device_info’ undeclared (first use in this function)
glut_input.c:342: warning: implicit declaration of function ‘XListInputDevices’
glut_input.c:349: error: ‘device’ undeclared (first use in this function)
glut_input.c:350: error: ‘any’ undeclared (first use in this function)
glut_input.c:350: error: expected ‘;’ before ‘device’
glut_input.c:352: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:353: error: ‘v’ undeclared (first use in this function)
glut_input.c:354: error: ‘b’ undeclared (first use in this function)
glut_input.c:361: error: ‘ButtonClass’ undeclared (first use in this function)
glut_input.c:362: error: expected ‘;’ before ‘any’
glut_input.c:365: error: ‘ValuatorClass’ undeclared (first use in this function)
glut_input.c:366: error: expected ‘;’ before ‘any’
glut_input.c:370: error: ‘a’ undeclared (first use in this function)
glut_input.c:370: error: ‘XValuatorInfo’ undeclared (first use in this function)
glut_input.c:380: warning: implicit declaration of function ‘XOpenDevice’
glut_input.c:386: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:396: error: expected ‘;’ before ‘any’
glut_input.c:400: error: expected ‘;’ before ‘any’
glut_input.c:422: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:432: error: expected ‘;’ before ‘any’
glut_input.c:436: error: expected ‘;’ before ‘any’
glut_input.c:463: error: expected ‘;’ before ‘any’
glut_input.c:471: warning: implicit declaration of function ‘XFreeDeviceList’
glut_input.c: In function ‘__glutUpdateInputDeviceMask’:
glut_input.c:489: error: ‘XEventClass’ undeclared (first use in this function)
glut_input.c:489: error: expected ‘;’ before ‘eventList’
glut_input.c:495: error: ‘__glutTablet’ undeclared (first use in this function)
glut_input.c:497: warning: implicit declaration of function ‘DeviceMotionNotify’
glut_input.c:498: error: ‘eventList’ undeclared (first use in this function)
glut_input.c:502: warning: implicit declaration of function ‘DeviceButtonPress’
glut_input.c:505: warning: implicit declaration of function ‘DeviceButtonPressGrab’
glut_input.c:508: warning: implicit declaration of function ‘DeviceButtonRelease’
glut_input.c:513: warning: implicit declaration of function ‘DeviceStateNotify’
glut_input.c:518: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:541: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:575: warning: implicit declaration of function ‘XSelectExtensionEvent’
glut_input.c: In function ‘glutDeviceGet’:
glut_input.c:599: error: ‘__glutSpaceball’ undeclared (first use in this function)
glut_input.c:601: error: ‘__glutDials’ undeclared (first use in this function)
glut_input.c:603: error: ‘__glutTablet’ undeclared (first use in this function)
gmake[2]: *** [glut_input.o] Error 1
gmake[2]: Leaving directory `/opt/mesa/src/glut/glx'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/opt/mesa/src'
gmake: *** [default] Error 1
Looking at the code,it is stopping with glut,I've tried to re-install freeglut and freeglut-devel,xorg and xcb,but no joy.I even downloaded the glut source code,but that ended with the same start error atyhe top,i.eglut_input.c:22:35: error: X11/extensions/XInput.h: No such file or directory
Can someone tell me which package to re-install or a way to get round this problem?
Any help would be greatly appreciated.
Regards,
STEVE555