> Hi , following the tip on
> http://bugzilla.kernel.org/show_bug.cgi?id=7767 
> I also install kernel 2.6.19-1.2917.fc7  and kernel-devel 
> 
> but I can't compile git drm 
> because give me the following error
> 
>   CC [M]  /home/sergio/Mesa/drm/linux-core/drm_bo.o
> /home/sergio/Mesa/drm/linux-core/drm_bo.c: In function
> ‘drm_bo_cleanup_refs’:
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:238: warning: passing argument 1
> of ‘schedule_delayed_work’ from incompatible pointer type
> /home/sergio/Mesa/drm/linux-core/drm_bo.c: In function
> ‘drm_bo_delayed_workqueue’:
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:356: warning: passing argument 1
> of ‘schedule_delayed_work’ from incompatible pointer type
> /home/sergio/Mesa/drm/linux-core/drm_bo.c: In function
> ‘drm_bo_driver_finish’:
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:1870: warning: passing argument
> 1 of ‘cancel_delayed_work’ from incompatible pointer type
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:1914:51: error: macro
> "INIT_WORK" passed 3 arguments, but takes just 2
> /home/sergio/Mesa/drm/linux-core/drm_bo.c: In function
> ‘drm_bo_driver_init’:
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:1914: error: ‘INIT_WORK’
> undeclared (first use in this function)
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:1914: error: (Each undeclared
> identifier is reported only once
> /home/sergio/Mesa/drm/linux-core/drm_bo.c:1914: error: for each function
> it appears in.)
> make[2]: *** [/home/sergio/Mesa/drm/linux-core/drm_bo.o] Error 1
> make[1]: *** [_module_/home/sergio/Mesa/drm/linux-core] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2917.fc7-i686

Because of the "Fedora" naming scheme, the kernel version is reported as 
"2.6.19" whereas upstream it is "2.6.20" (2.6.20rc7). The workaround is to 
simply grep for "2.6.20" and to replace it by "2.6.19". Then, the "Fedora" 
kernel is treated correctly, and compilation completes successfully.
"DRI" works again fine for me with the "savage" driver version "2.1.2" on my 
"IBM Thinkpad T23".
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to