compiling kernel modules from drm git
kr992
kr992 at interia.pl
Fri Dec 15 11:52:28 PST 2006
>Latest drm git should fix this.
>The kmem_cache_t type was removed from 2.6.20 kernels.
>
>/Thomas
After update drm from git still i have the same error , but do not get
kmem_cache_t warnings
vwer:/usr/src/mesa/drm/linux-core# make
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
make -C /lib/modules/2.6.19-g445722f9/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_auth.o
CC [M] /usr/src/mesa/drm/linux-core/drm_bufs.o
CC [M] /usr/src/mesa/drm/linux-core/drm_context.o
CC [M] /usr/src/mesa/drm/linux-core/drm_dma.o
CC [M] /usr/src/mesa/drm/linux-core/drm_drawable.o
CC [M] /usr/src/mesa/drm/linux-core/drm_drv.o
/usr/src/mesa/drm/linux-core/drm_drv.c: In function 'drm_init':
/usr/src/mesa/drm/linux-core/drm_drv.c:332: warning: ignoring return value
of 'pci_register_driver', declared with attribute warn_unused_result
CC [M] /usr/src/mesa/drm/linux-core/drm_fops.o
CC [M] /usr/src/mesa/drm/linux-core/drm_ioctl.o
CC [M] /usr/src/mesa/drm/linux-core/drm_irq.o
/usr/src/mesa/drm/linux-core/drm_irq.c: In function 'drm_irq_install':
/usr/src/mesa/drm/linux-core/drm_irq.c:137: warning: passing argument 2 of
'request_irq' from incompatible pointer type
CC [M] /usr/src/mesa/drm/linux-core/drm_lock.o
CC [M] /usr/src/mesa/drm/linux-core/drm_memory.o
CC [M] /usr/src/mesa/drm/linux-core/drm_proc.o
CC [M] /usr/src/mesa/drm/linux-core/drm_stub.o
/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:234: warning: ignoring return value
of 'pci_request_regions', declared with attribute warn_unused_result
/usr/src/mesa/drm/linux-core/drm_stub.c:237: 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#
maybe is something else removed from kernel too?
Mike
----------------------------------------------------------------------
smieszne, muzyka, pilka, sexy, kibice, kino, ciekawe, extreme, kabaret
http://link.interia.pl/f19d4 - najlepsze filmy w intermecie
More information about the xorg
mailing list