On Friday 15 December 2006 13:47, Thomas Hellström wrote:
> 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.
>

Yes, but now there's a different problem with the 2.6.20-rc1 kernel:

<<<<<<<<<<<<<<<<
shlomi:~/Download/unpack/gui/X/nouveau/drm/linux-core$ make
make -C /lib/modules/2.6.20-rc1/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory 
`/home/shlomi/Download/unpack/kernel/2.6.20/linux-2.6.20-rc1'
  CC [M]  /home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core/drm_stub.o
====> /home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core/drm_stub.c:51: 
error: size of array ‘type name’ is negative
/home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core/drm_stub.c: In 
function ‘drm_get_dev’:
/home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core/drm_stub.c:234: 
warning: ignoring return value of ‘pci_request_regions’, declared with 
attribute warn_unused_result
/home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core/drm_stub.c:237: 
warning: ignoring return value of ‘pci_enable_device’, declared with 
attribute warn_unused_result
make[2]: *** 
[/home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core/drm_stub.o] Error 
1
make[1]: *** 
[_module_/home/shlomi/Download/unpack/gui/X/nouveau/drm/linux-core] Error 2
make[1]: Leaving directory 
`/home/shlomi/Download/unpack/kernel/2.6.20/linux-2.6.20-rc1'
make: *** [modules] Error 2
>>>>>>>>>>>>>>>>

I marked the error with ===>.

Regards,

        Shlomi Fish

---------------------------------------------------------------------
Shlomi Fish      [EMAIL PROTECTED]
Homepage:        http://www.shlomifish.org/

Chuck Norris wrote a complete Perl 6 implementation in a day but then
destroyed all evidence with his bare hands, so no one will know his secrets.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to