error installling bttv2 in linux 2.4.4

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



Hi all.
I tried the procedure with a clean linux-2.4.4 kernel->

> make patch and patch kernel new i2c module
> videodevX-20010501.tgz (tar -zxvf  make make install)
> driver-20010316.tgz           (tar -axvf make make install)

no problem with the patch.
no problem with the videodevX.
When i tried to install bttv2 I get this error ->

gcc -D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.4/include/linux/modversions.h   -c -o bttv-driver.o
bttv-driver.c

bttv-driver.c:346:9: warning: pasting "(" and "KERN_DEBUG" does not give a valid
preprocessing token
bttv-driver.c:436:25: warning: pasting "(" and ""bttv%d: PLL: is off\n"" does not
give a valid preprocessing token
bttv-driver.c:439:17: warning: pasting "(" and ""bttv%d: PLL: switching off\n""
does not give a valid preprocessing token
bttv-driver.c:447:17: warning: pasting "(" and ""bttv%d: PLL: no cha......etc...etc

so I tried to change the code for bttv-driver a little bit.
#define Dprintk(x,args...) if((x)<=bttv_debug) printk(##args)
#define Vprintk(x,args...) if((x)<=bttv_verbose) printk(##args)
changed to ->
#define Dprintk(x,args...)   /* if((x)<=bttv_debug) printk(##args)  */
#define Vprintk(x,args...)   /* if((x)<=bttv_verbose) printk(##args) */

compiled again

bttv-driver.c: In function `queuebuffer':
bttv-driver.c:1754: warning: unused variable `btv'
bttv-driver.c: At top level:
bttv-driver.c:73: warning: `bttv_debug' defined but not used

I do not see this as a problem.
Then I tried to load the module bttv2 and videodevX. no problem with this. I olso
tried to run xawtv (nice app) and it did work.

I hope that this "first time user experience" can be used.

regards Anders Gnistrup






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux