compiling kernel modules from drm git

Thomas Hellström thomas at tungstengraphics.com
Fri Dec 15 03:47:14 PST 2006


berek wrote:
> hello again
> I had build new kernel from git and i was try make modules (drm.ko , i810.ko 
> i830.ko i915.ko) from drm git linux-core directory
> when i do make i have error:
> vwer:/usr/src/mesa/drm/linux-core# make
> make -C /lib/modules/2.6.19-g200d018e/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` 
> modules
> make[1]: Wejście do katalogu `/usr/src/mesa/linux'
>   CC [M]  /usr/src/mesa/drm/linux-core/drm_stub.o
> In file included from /usr/src/mesa/drm/linux-core/drm_stub.c:37:
> /usr/src/mesa/drm/linux-core/drmP.h:764: warning: 'kmem_cache_t' is deprecated
> /usr/src/mesa/drm/linux-core/drmP.h:765: warning: 'kmem_cache_t' is deprecated
> In file included from /usr/src/mesa/drm/linux-core/drm_stub.c:37:
> /usr/src/mesa/drm/linux-core/drmP.h:1584: warning: 'kmem_cache_t' is 
> deprecated
> /usr/src/mesa/drm/linux-core/drmP.h:1596: warning: 'kmem_cache_t' is 
> deprecated
> /usr/src/mesa/drm/linux-core/drm_stub.c:51: error: size of array 'type name' 
> is negative
> /usr/src/mesa/drm/linux-core/drm_stub.c: In function 'drm_get_dev':
> /usr/src/mesa/drm/linux-core/drm_stub.c:239: warning: ignoring return value 
> of 'pci_request_regions', declared with attribute warn_unused_result
> /usr/src/mesa/drm/linux-core/drm_stub.c:242: warning: ignoring return value 
> of 'pci_enable_device', declared with attribute warn_unused_result
> make[2]: *** [/usr/src/mesa/drm/linux-core/drm_stub.o] Błąd 1
> make[1]: *** [_module_/usr/src/mesa/drm/linux-core] Błąd 2
> make[1]: Opuszczenie katalogu `/usr/src/mesa/linux'
> make: *** [modules] Błąd 2
> vwer:/usr/src/mesa/drm/linux-core#                                 
>
> what could be problem? (is this kernel problem?)
> Mike
>   
Latest drm git should fix this.
The kmem_cache_t type was removed from 2.6.20 kernels.

/Thomas



> ----------------------------------------------------------------------
> Najlepszy prezent dla najlepszego mezczyzny?
> Wygrywaj swiateczne prezenty na http://link.interia.pl/f19d7   >>
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>   






More information about the xorg mailing list