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

Jan Knutar jknutar at nic.fi
Tue Jul 13 06:30:01 CEST 2004


On Monday 12 July 2004 19:34, Ferdinand O. Tempel wrote:

> without the CFLAGS, things work too. That is interresting. Can you
> figure out for me which CFLAG is the culprit? Start with getting rid of
> the modversions.h -include, as that looks like a good candidate
> (conveniently eliminates some of the compile warnings too). Doesn't make
> it any more obvious as to what is wrong, but it at least can help
> providing a workaround for those running into it.

CFLAGS = -O2  -D__KERNEL__  -DMODULE     -include $(KERNEL_INCLUDES)/config/modversions.h -Wall
=> insmod: error inserting './mga_vid.ko': -1 Bad address
CFLAGS = -O2  -D__KERNEL__  -DMODULE     -Wall
=> insmod: error inserting './mga_vid.ko': -1 Bad address
CFLAGS = -O2  -D__KERNEL__       -Wall
=> insmod: error inserting './mga_vid.ko': -1 Bad address
CFLAGS = -O2     -Wall
=> insmod: error inserting './mga_vid.ko': -1 Bad address
CFLAGS = -Wall
=> insmod: error inserting './mga_vid.ko': -1 Bad address
CFLAGS = 
=> insmod: error inserting './mga_vid.ko': -1 Bad address
#CFLAGS = 
=> Success!

Hm, should I test all 31 possibilities? :-)




More information about the MPlayer-dev-eng mailing list