Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: under kernel 2.4.0-test6 ???



On Sun, 27 Aug 2000, Gregoire Favre wrote:

> Hello,
> 
> I try to compil DVB driver 0.6 under linux-2.4.0-test6 (with reiserfs-3.6.13)
> and I got the following:
> DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
> make[1]: Entering directory `/usr/src/linux-2.4.0-test6-reiserfs-3.6.13'
> make -C  /usr/src/DVB/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe  -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -DMODULE" MAKING_MODULES=1 modules
> make[2]: Entering directory `/usr/src/DVB/driver'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe  -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -DMODULE   -DEXPORT_SYMTAB -c i2c-core.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe  -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -DMODULE   -DEXPORT_SYMTAB -c videodev.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe  -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -DMODULE   -DEXPORT_SYMTAB -c saa7146_core.c
> saa7146_core.c: In function `rvmalloc':
> saa7146_core.c:130: warning: implicit declaration of function `MAP_NR'
> saa7146_core.c:130: invalid type argument of `->'
> saa7146_core.c:151: invalid type argument of `->'
> saa7146_core.c: In function `rvfree':
> saa7146_core.c:177: invalid type argument of `->'
> saa7146_core.c:188: invalid type argument of `->'
> make[2]: *** [saa7146_core.o] Error 1
> make[2]: Leaving directory `/usr/src/DVB/driver'
> make[1]: *** [_mod_/usr/src/DVB/driver] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.0-test6-reiserfs-3.6.13'
> make: *** [here] Error 2
> 
> Any idea on how I could compil it?
> 
> I will try under test7, but I have got some reject when patching due to my need for reiserfs...

Replace all references of "MAP_NR" to "virt_to_page"

---
Terry Hardie					terry@net.com
SHOUTip Engineering Product Manager		ICQ#: 977679
net.com, 6530 Paseo Padre Parkway
Mailstop #2207, Fremont, CA 94555, USA		V: +1-510-574-2366



Home | Main Index | Thread Index