hi, if i want to compile the bttv driver 0.9.11/12 on a system with the kernel 2.6.0-test5, i get this errors:
------snip-----
win2k bttv-0.9.12 # make
make -C /lib/modules/2.6.0-test5/build
SUBDIRS=/home/denny/progs/bttv-0.9.12 modules
make[1]: Entering directory `/usr/src/linux-2.6.0-test5'
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC [M] /home/denny/progs/bttv-0.9.12/video-buf.o
CC [M] /home/denny/progs/bttv-0.9.12/btcx-risc.o
CC [M] /home/denny/progs/bttv-0.9.12/ir-common.o
CC [M] /home/denny/progs/bttv-0.9.12/bttv-driver.o
CC [M] /home/denny/progs/bttv-0.9.12/bttv-cards.o
CC [M] /home/denny/progs/bttv-0.9.12/bttv-risc.o
CC [M] /home/denny/progs/bttv-0.9.12/bttv-if.o
CC [M] /home/denny/progs/bttv-0.9.12/bttv-vbi.o
CC [M] /home/denny/progs/bttv-0.9.12/bttv-input.o
/home/denny/progs/bttv-0.9.12/bttv-input.c: In function
`bttv_input_init':
/home/denny/progs/bttv-0.9.12/bttv-input.c:121: warning: `mask_keycode'
might be used uninitialized in this function
/home/denny/progs/bttv-0.9.12/bttv-input.c:122: warning: `mask_keydown'
might be used uninitialized in this function
/home/denny/progs/bttv-0.9.12/bttv-input.c:123: warning: `ir_type' might
be used uninitialized in this function
LD [M] /home/denny/progs/bttv-0.9.12/bttv.o
CC [M] /home/denny/progs/bttv-0.9.12/ir-kbd-i2c.o
In file included from /home/denny/progs/bttv-0.9.12/ir-kbd-i2c.c:41:
/home/denny/progs/bttv-0.9.12/ir-common.h:24:40: missing binary operator
before '('
/home/denny/progs/bttv-0.9.12/ir-kbd-i2c.c: In function `ir_attach':
/home/denny/progs/bttv-0.9.12/ir-kbd-i2c.c:261: `ir_codes_rc5_tv'
undeclared (first use in this function)
/home/denny/progs/bttv-0.9.12/ir-kbd-i2c.c:261: (Each undeclared
identifier is reported only once
/home/denny/progs/bttv-0.9.12/ir-kbd-i2c.c:261: for each function it
appears in.)
make[2]: *** [/home/denny/progs/bttv-0.9.12/ir-kbd-i2c.o] Error 1
make[1]: *** [/home/denny/progs/bttv-0.9.12] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.0-test5'
make: *** [default] Error 2
I patched my kernel with the newest "kraxel" patches for 2.5, but it
doesn't helps too.
On 2.4.22 everything is working.
any suggestions?
--
cu denny
Gnupg key can be found under pgp.mit.edu, key ID 0x73137598
signature.asc
Description: This is a digitally signed message part
