[MPlayer-matrox] RE: mga_vid for 2.6, first beta

Ferdinand O. Tempel ftempel at linuxops.net
Tue Jan 18 23:56:12 CET 2005


On Tue, 2005-01-18 at 20:23 +0200, Andres Kärner wrote:
> Hi,

What's the difference between:
/usr/src/linux-2.6.5-7.111.19 and
/usr/src/linux-2.6.5-7.111.19-obj

It looks like the build procedure is picking and matching kernel parts
from various places in the same build. No wonder it fails.

I'd start tracing from the beginning: /lib/modules/`uname -r`/build and
go from there, see what needs to go where.

Ferdinand O. Tempel

> I'm using SuSE 9.1 on latest apt-get upgrade level and when I tried to compile 
> mga-vid-2.6.9 then I get error:
> 
> andres at arvuti:~/install/mga-vid-2.6.9> make
> make mga_vid.ko mga_vid_test
> make[1]: Entering directory `/home/andres/install/mga-vid-2.6.9'
> make -C /lib/modules/`uname -r`/build 
> SUBDIRS=/home/andres/install/mga-vid-2.6.9 modules
> make[2]: Entering directory `/usr/src/linux-2.6.5-7.111.19-obj/i386/default'
> make -C ../../../linux-2.6.5-7.111.19 
> O=../linux-2.6.5-7.111.19-obj/i386/default modules
> 
> WARNING: Symbol version 
> dump /usr/src/linux-2.6.5-7.111.19-obj/i386/default/Module.symvers is  
> missing, modules will have CONFIG_MODVERSIONS disabled.
> 
>   CC [M]  /home/andres/install/mga-vid-2.6.9/mga_vid.o
> <command 
> line>:138983453:47200: /lib/modules/2.6.5-7.111.19-default/build/include/config/modversions.h: 
> No such file or directory
> In file included from include2/asm/processor.h:18,
>                  from include2/asm/thread_info.h:13,
>                  from /usr/src/linux-2.6.5-7.111.19/include/linux/thread_info.h:21,
>                  from /usr/src/linux-2.6.5-7.111.19/include/linux/spinlock.h:12,
>                  from /usr/src/linux-2.6.5-7.111.19/include/linux/capability.h:45,
>                  from /usr/src/linux-2.6.5-7.111.19/include/linux/sched.h:7,
>                  from /usr/src/linux-2.6.5-7.111.19/include/linux/module.h:10,
>                  from /home/andres/install/mga-vid-2.6.9/mga_vid.c:48:
> include2/asm/system.h: In function `__set_64bit_var':
> include2/asm/system.h:193: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> include2/asm/system.h:193: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> In file included from /home/andres/install/mga-vid-2.6.9/mga_vid.c:52:
> /usr/src/linux-2.6.5-7.111.19/include/linux/cdev.h: At top level:
> /usr/src/linux-2.6.5-7.111.19/include/linux/cdev.h:26: warning: `struct inode' 
> declared inside parameter list
> /usr/src/linux-2.6.5-7.111.19/include/linux/cdev.h:26: warning: its scope is 
> only this definition or declaration, which is probably not what you want
> make[5]: *** [/home/andres/install/mga-vid-2.6.9/mga_vid.o] Error 1
> make[4]: *** [_module_/home/andres/install/mga-vid-2.6.9] Error 2
> make[3]: *** [modules] Error 2
> make[2]: *** [modules] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.5-7.111.19-obj/i386/default'
> make[1]: *** [mga_vid.ko] Error 2
> make[1]: Leaving directory `/home/andres/install/mga-vid-2.6.9'
> make: *** [all] Error 2
> 
> I use SuSE latest kernel
> andres at arvuti:~/install/mga-vid-2.6.9> uname -a
> Linux arvuti 2.6.5-7.111.19-default #1 Fri Dec 10 15:10:58 UTC 2004 i686 i686 
> i386 GNU/Linux
> 
> Can someone provide some help on this?
> 
> I tried to compile mga_vid what is included in MPlayer-1.0pre6a/drivers but 
> this gave also errors...
> 
> rgds-
> Andres
> 
> _______________________________________________
> MPlayer-matrox mailing list
> MPlayer-matrox at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-matrox
> 




More information about the MPlayer-matrox mailing list