Attila Kinali
2005-04-07 08:41:56 UTC
Hi,
On Tue, 5 Apr 2005 13:36:59 +0200 (CEST)
[...]
the only changes were either clean ups or removal of deprecated functions.
Please note, that i don't have the time to support non-vanilla
kernels as i already lack the time to fully support the mainline.
Please also note that there is a mplayer-matrox mailinglist
for anything related to mga_vid, you should subscripe and
send any further mails there.
Attila Kinali
On Tue, 5 Apr 2005 13:36:59 +0200 (CEST)
---------- Forwarded message ----------
Date: Mon, 4 Apr 2005 21:45:27 +0200 (CEST)
Subject: [MPlayer-dev-eng] mga_vid.c smp problem
Hi.
./configure --enable-gui --enable-menu --enable-mga --enable-xmga
--with-reallibdir=/usr/lib/win32 --with-xanimlibdir=/usr/lib/win32
I use gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
I use FC3 with kernel 2.6.10-1.770_FC3smp. I dont have smp but got a HT
processor so thats the reason that I use smp.
mga-vid-2.6.10-2005-01-11.tar.gz wont build on my smp box :(
make mga_vid.ko mga_vid_test
make[1]: Entering directory `/usr/src/mga-vid-2.6.10'
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/mga-vid-2.6.10 modules
make[2]: Entering directory `/lib/modules/2.6.10-1.770_FC3smp/build'
CC [M] /usr/src/mga-vid-2.6.10/mga_vid.o
In file included from include/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
include/asm/system.h:193: warning: dereferencing type-punned pointer will break
strict-aliasing rules
include/asm/system.h:193: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
Missing file #1Date: Mon, 4 Apr 2005 21:45:27 +0200 (CEST)
Subject: [MPlayer-dev-eng] mga_vid.c smp problem
Hi.
./configure --enable-gui --enable-menu --enable-mga --enable-xmga
--with-reallibdir=/usr/lib/win32 --with-xanimlibdir=/usr/lib/win32
I use gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
I use FC3 with kernel 2.6.10-1.770_FC3smp. I dont have smp but got a HT
processor so thats the reason that I use smp.
mga-vid-2.6.10-2005-01-11.tar.gz wont build on my smp box :(
make mga_vid.ko mga_vid_test
make[1]: Entering directory `/usr/src/mga-vid-2.6.10'
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/mga-vid-2.6.10 modules
make[2]: Entering directory `/lib/modules/2.6.10-1.770_FC3smp/build'
CC [M] /usr/src/mga-vid-2.6.10/mga_vid.o
In file included from include/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
include/asm/system.h:193: warning: dereferencing type-punned pointer will break
strict-aliasing rules
include/asm/system.h:193: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a
functio
n)
include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a
func
tion)
Those two errors might be because of the missing file #1.from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a
functio
n)
include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a
func
tion)
In file included from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory
Missing file #2from include/linux/sched.h:23,
from include/linux/module.h:10,
include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory
[...]
However, mga-vid-2.6.11-2005-03-06.tar.gz will build just fine. But later it
wont work, probably because its not the right kernel :)
I have tried to rewrite the Makefile and link files where it expect them to be.
Like in /lib/modules/2.6.10-1.770_FC3smp/build/include/asm I tried
Actualy mga-vid-2.6.11-2005-03-06 should work with .10 kernels too, aswont work, probably because its not the right kernel :)
I have tried to rewrite the Makefile and link files where it expect them to be.
Like in /lib/modules/2.6.10-1.770_FC3smp/build/include/asm I tried
the only changes were either clean ups or removal of deprecated functions.
lrwxrwxrwx 1 root 26 Mar 31 06:57 mach_apicdef.h ->
mach-bigsmp/mach_apicdef.h
lrwxrwxrwx 1 root 25 Mar 31 06:58 mach_mpspec.h ->
mach-bigsmp/mach_mpspec.h
but it didnt help either :(
I'd guess that your kernel isn't correctly configured.mach-bigsmp/mach_apicdef.h
lrwxrwxrwx 1 root 25 Mar 31 06:58 mach_mpspec.h ->
mach-bigsmp/mach_mpspec.h
but it didnt help either :(
Help?
Try a vanilla kernel from kernel.org and tell me the results.Please note, that i don't have the time to support non-vanilla
kernels as i already lack the time to fully support the mainline.
Please also note that there is a mplayer-matrox mailinglist
for anything related to mga_vid, you should subscripe and
send any further mails there.
Attila Kinali
--
郷に入れば郷に従え
郷に入れば郷に従え