[linux-dvb] Can not compile the latest CVS code.

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

 



Wei Weng wrote:

> I checked out the source with
>
>
> cvs -d :pserver:anonymous@xxxxxxxxxxxxxxx:/cvs/video4linux login
> cvs -z3 -d :pserver:anonymous@xxxxxxxxxxxxxxx:/cvs/video4linux co -P 
> v4l-dvb
>
> (As instructed on the webpage: http://www.linuxtv.org/cvs.php)
>
> Then
>
> cd v4l-dvb
> make
>
> After a bunch of messages similar to CC [M]  
> /home/wweng/Download/v4l-dvb/v4l/vp702x.o
>
> I get the following errors:
>
> /home/wweng/Download/v4l-dvb/v4l/bt832.c:48: error: `normal_i2c_range' 
> undeclared here (not in a function)
> /home/wweng/Download/v4l-dvb/v4l/bt832.c:48: error: initializer 
> element is not constant
> /home/wweng/Download/v4l-dvb/v4l/bt832.c:48: error: (near 
> initialization for `addr_data.normal_i2c_range')
> /home/wweng/Download/v4l-dvb/v4l/bt832.c:50: warning: 
> 'normal_i2c_range' defined but not used
>
> I am compiling this under fedora core 3, gcc 3.4 


The attached patch (thanks to Colin Guthrie <linuxtv@xxxxxxxxxxxxxx>) 
SHOULD fix it for you... Which kernel version are you running?

I havent had much time this week to apply backwards-compat patches... I 
hope to have time tomorrow to check this patch and apply it to cvs.

I hope this helps... Please let me know.

-- 
Michael Krufky

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_normal_i2c_range_2.6.12_again.diff
Type: text/x-patch
Size: 2198 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060113/accbedf9/fix_normal_i2c_range_2.6.12_again.bin

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux