http://bugs.freedesktop.org/show_bug.cgi?id=22382

           Summary: Mesa 7.6 from git not compiling fully
           Product: Mesa
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLUT
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: stevenward...@hotmail.com


Hi to all,
         I've found another problem compiling Mesa 7.6 from git.
I use the configure options:

./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --datadir=/usr/share --sysconfdir=/etc
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --mandir=/usr/share/man --docdir=/usr/share/doc
--enable-selinux --x-libraries=/usr/lib --enable-32-bit --enable-xcb
--enable-gallium-nouveau --with-x --with-dri-driverdir=/usr/lib/dri
--with-xorg-driver-dir=/usr/lib/xorg/modules/drivers
--with-state-trackers=dri,egl,xorg,glx --enable-motif --enable-gl-osmesa
--with-osmesa-bits=32 --disable-gallium-intel --disable-gallium-radeon
--with-expat=/usr/lib
(I also use --with-demos=xdemos,demos,trivial,tests at the end of my configure
options,but not at the time I did this compile.)I then run gmake,but the build
fails with this new 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

I'm currently using Fedora Rawhide,I also compile D.R.M and Nouveau from git as
w well.I have posted the error message on the Fedora Rawhide forum,thinking it
might've been their freeGLUT packages not working properly,I have tried to
re-install them via yum,but that has no effect.

Regards,
       STEVE555


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to