Incompability betweem 2.3.x and bttv-0.6x ???

FAVRE =?iso-8859-1?Q?Gr=E9goire?= (gregoire.favre@urbanet.ch)
Tue, 01 Jun 1999 17:31:07 +0000


Hello,

as I try to compile the bttv driver, I get:

make 01.06 19:26
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux.3'
make -C /usr/src/bttv/driver CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/bttv/driver'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -DTUNER_DEFAULT= -DCARD_DEFAULT=0 -DBTTV_MAJOR=81 -DUSE_PLL=0 -DEXPORT_SYMTAB -c videodev.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -DTUNER_DEFAULT= -DCARD_DEFAULT=0 -DBTTV_MAJOR=81 -DUSE_PLL=0 -DEXPORT_SYMTAB -c i2c.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -DTUNER_DEFAULT= -DCARD_DEFAULT=0 -DBTTV_MAJOR=81 -DUSE_PLL=0 -c -o bttv.o bttv.c
bttv.c: In function `bttv_read':
bttv.c:1824: warning: passing arg 1 of `interruptible_sleep_on_Rec4be36a' from incompatible pointer type
bttv.c: In function `bttv_ioctl':
bttv.c:2467: warning: passing arg 1 of `interruptible_sleep_on_Rec4be36a' from incompatible pointer type
bttv.c: In function `vbi_read':
bttv.c:2688: warning: passing arg 1 of `interruptible_sleep_on_Rec4be36a' from incompatible pointer type
bttv.c: In function `vbi_poll':
bttv.c:2715: warning: passing arg 2 of `poll_wait' from incompatible pointer type
bttv.c: In function `bttv_irq':
bttv.c:3877: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
bttv.c:3878: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
bttv.c:3891: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
bttv.c:3922: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -DTUNER_DEFAULT= -DCARD_DEFAULT=0 -DBTTV_MAJOR=81 -DUSE_PLL=0 -c -o msp3400.o msp3400.c
msp3400.c: In function `msp3400c_stereo_wake':
msp3400.c:588: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
msp3400.c: In function `msp3400c_thread':
msp3400.c:650: warning: passing arg 1 of `interruptible_sleep_on_Rec4be36a' from incompatible pointer type
msp3400.c: In function `msp3410d_thread':
msp3400.c:890: warning: passing arg 1 of `interruptible_sleep_on_Rec4be36a' from incompatible pointer type
msp3400.c: At top level:
msp3400.c:1026: `MUTEX' undeclared here (not in a function)
msp3400.c: In function `msp3400c_attach':
msp3400.c:1198: `MUTEX_LOCKED' undeclared (first use in this function)
msp3400.c:1198: (Each undeclared identifier is reported only once
msp3400.c:1198: for each function it appears in.)
msp3400.c:1271: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
msp3400.c: In function `msp3400c_detach':
msp3400.c:1279: `MUTEX_LOCKED' undeclared (first use in this function)
msp3400.c:1295: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
msp3400.c: In function `msp3400c_command':
msp3400.c:1355: warning: passing arg 1 of `__wake_up_Re61f00a9' from incompatible pointer type
make[2]: *** [msp3400.o] Error 1
make[2]: Leaving directory `/usr/src/bttv/driver'
make[1]: *** [_mod_/usr/src/bttv/driver] Error 2
make[1]: Leaving directory `/usr/src/linux.3'
make: *** [here] Error 2
Exit 2

What shall I do?

And if I cd to the bttv driver, there are a strange i2c link and some strange include in bttv.c???

Please, don't cc to me: I am on the list...

Thanks,

Greg ICQ:16624071
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Gregoire Favre, Institut de Mathématique de l'Universite de Lausanne
+41 21 692 35 73, http://www.unil.ch/ima/docs/Personnes/gfavre

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/