Discussion:
mga_vid for 2.6, first beta
Andres Kärner
2005-01-18 18:23:33 UTC
Permalink
Hi,

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:

***@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
***@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
Attila Kinali
2005-01-18 21:17:12 UTC
Permalink
On Tue, 18 Jan 2005 20:23:33 +0200
Post by Andres Kärner
<command
No such file or directory
Looks like a broken installation. This file should be there,
no matter whether modversion is enabled or not (normaly it is).

Attila Kinali
--
All christians are terrorists.
Ferdinand O. Tempel
2005-01-18 22:56:12 UTC
Permalink
Post by Andres Kärner
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
Post by Andres Kärner
I'm using SuSE 9.1 on latest apt-get upgrade level and when I tried to compile
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
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,
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
/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
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
http://mplayerhq.hu/mailman/listinfo/mplayer-matrox
David Burau
2005-01-20 07:25:45 UTC
Permalink
Hi,
isn't that a typical SUSE problem with the kernel source? I guess a similar
problem had been discussed in this list. Is there an archiv with old mails
anywere?

David Burau
Post by Ferdinand O. Tempel
Post by Ferdinand O. Tempel
Hi,
/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
Post by Ferdinand O. Tempel
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
Post by Ferdinand O. Tempel
I'm using SuSE 9.1 on latest apt-get upgrade level and when I tried to
compile
Post by Ferdinand O. Tempel
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'
Post by Ferdinand O. Tempel
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
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,
Post by Ferdinand O. Tempel
from
/usr/src/linux-2.6.5-7.111.19/include/linux/spinlock.h:12,
Post by Ferdinand O. Tempel
from
/usr/src/linux-2.6.5-7.111.19/include/linux/capability.h:45,
Post by Ferdinand O. Tempel
from
/usr/src/linux-2.6.5-7.111.19/include/linux/sched.h:7,
Post by Ferdinand O. Tempel
from
/usr/src/linux-2.6.5-7.111.19/include/linux/module.h:10,
Post by Ferdinand O. Tempel
include2/asm/system.h:193: warning: dereferencing type-punned pointer
will
Post by Ferdinand O. Tempel
break strict-aliasing rules
include2/asm/system.h:193: warning: dereferencing type-punned pointer
will
Post by Ferdinand O. Tempel
break strict-aliasing rules
/usr/src/linux-2.6.5-7.111.19/include/linux/cdev.h:26: warning: `struct
inode'
Post by Ferdinand O. Tempel
declared inside parameter list
/usr/src/linux-2.6.5-7.111.19/include/linux/cdev.h:26: warning: its
scope is
Post by Ferdinand O. Tempel
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'
Post by Ferdinand O. Tempel
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
Linux arvuti 2.6.5-7.111.19-default #1 Fri Dec 10 15:10:58 UTC 2004 i686
i686
Post by Ferdinand O. Tempel
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
Post by Ferdinand O. Tempel
this gave also errors...
rgds-
Andres
_______________________________________________
MPlayer-matrox mailing list
http://mplayerhq.hu/mailman/listinfo/mplayer-matrox
_______________________________________________
MPlayer-matrox mailing list
http://mplayerhq.hu/mailman/listinfo/mplayer-matrox
--
GMX im TV ... Die Gedanken sind frei ... Schon gesehen?
Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
Loading...