[gentoo-user] compiling bttv-0.9.12 on 2.6.0-test5/6 fails

2003-09-29 Thread Denny Schierz
hi,

 if i want to compile the bttv driver 0.9.12 on a system with the
 kernel 2.6.0-test5/6, 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.6-test6, but it
 doesn't helps too.

I i removing the IR statements in the make.config, i can compiling the bttv
driver, but not loading ( i expected this error):

Linux video capture interface: v1.00
video_buf: no version magic, tainting kernel.
btcx_risc: no version magic, tainting kernel.
bttv: no version magic, tainting kernel.
bttv: Unknown symbol ir_extract_bits
bttv: Unknown symbol ir_input_init
bttv: Unknown symbol ir_input_nokey
bttv: Unknown symbol ir_input_keydown
bttv: no version magic, tainting kernel.
bttv: Unknown symbol ir_extract_bits
bttv: Unknown symbol ir_input_init
bttv: Unknown symbol ir_input_nokey
bttv: Unknown symbol ir_input_keydown
tuner: no version magic, tainting kernel.

I don't know, which lines i have to comment too. If anybody can compiling the
bttv9.x driver on a 2.6-test5/6, it will be great to do a make in the
directory, compress and send it to [EMAIL PROTECTED]

thanks

cu denny

-
This mail sent through IMP: http://horde.org/imp/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] compiling bttv-0.9.12 on 2.6.0-test5/6 fails

2003-09-29 Thread Meka[ni]
On Mon, 29 Sep 2003 15:53:52 +0200
Denny Schierz [EMAIL PROTECTED] wrote:

 hi,
 
  if i want to compile the bttv driver 0.9.12 on a system with the
  kernel 2.6.0-test5/6, 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.6-test6, but it
  doesn't helps too.
 
 I i removing the IR statements in the make.config, i can compiling the bttv
 driver, but not loading ( i expected this error):
 
 Linux video capture interface: v1.00
 video_buf: no version magic, tainting kernel.
 btcx_risc: no version magic, tainting kernel.
 bttv: no version magic, tainting kernel.
 bttv: Unknown symbol ir_extract_bits
 bttv: Unknown symbol ir_input_init
 bttv: Unknown symbol ir_input_nokey
 bttv: Unknown symbol ir_input_keydown
 bttv: no version magic, tainting kernel.
 bttv: Unknown symbol ir_extract_bits
 bttv: Unknown symbol ir_input_init
 bttv: Unknown symbol ir_input_nokey
 bttv: Unknown symbol ir_input_keydown
 tuner: no version magic, tainting kernel.
 
 I don't know, which lines i have to comment too. If anybody can compiling the
 bttv9.x driver on a 2.6-test5/6, it will be great to do a make in the
 directory, compress and send it to [EMAIL PROTECTED]
 
 thanks
 
 cu denny
 
 -
 This mail sent through IMP: http://horde.org/imp/
 
 --
 [EMAIL PROTECTED] mailing list
 
Read the documentation that comes with kernel about bttv. There is a list of 
other things
you have to include in kernel it self or as a module. Good luck. :o)


Meka[ni]

--
[EMAIL PROTECTED] mailing list