[MPlayer-dev-eng] [PATCH] mga_vid for 2.6 - updated

Diego Biurrun diego at biurrun.de
Mon Jul 12 03:36:41 CEST 2004


scognito at libero.it writes:
> On 08/07/2004 20:15:43, Ferdinand O. Tempel wrote:
> 
> Doesn't compile here (debian sid, linux 2.4.26):
> 
> Zelda:~/mplayer/main/drivers$ make
> make mga_vid.o mga_vid_test
> make[1]: Entering directory `/home/scognito/mplayer/main/drivers'
> cc -O2  -D__KERNEL__  -DMODULE           -include /lib/modules/`uname
> -r`/build/include/linux/modversions.h -Wall -I/lib/modules/`uname
> -r`/build/include -I/lib/modules/`uname -r`/build/include/asm -c mga_vid.c
> In file included from /lib/modules/2.4.26/build/include/linux/spinlock.h:6,
>                  from /lib/modules/2.4.26/build/include/linux/module.h:11,
>                  from mga_vid.c:45:
> /lib/modules/2.4.26/build/include/asm/system.h: In function `__set_64bit_var':
> /lib/modules/2.4.26/build/include/asm/system.h:190: warning: dereferencing
> type-punned pointer will break strict-aliasing rules
> /lib/modules/2.4.26/build/include/asm/system.h:190: warning: dereferencing
> type-punned pointer will break strict-aliasing rules
> mga_vid.c: In function `cleanup_module':
> mga_vid.c:1853: error: structure has no member named `dev_handle'
> mga_vid.c:1853: warning: implicit declaration of function `devfs_unregister'
> mga_vid.c:1853: error: structure has no member named `dev_handle'
> /lib/modules/2.4.26/build/include/asm/uaccess.h: At top level:
> mga_vid.c:431: warning: `mga_max_cards' defined but not used
> make[1]: *** [mga_vid.o] Error 1javascript:errsend ()
> make[1]: Leaving directory `/home/scognito/mplayer/main/drivers'
> make: *** [all] Error 2

It works for me with 2.4.27-pre2, Debian unstable.  But I do use
devfs, maybe this is the reason?

Diego




More information about the MPlayer-dev-eng mailing list