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

Bug#677533: video: USB webcam fails since kernel 3.2



2012/7/11 Jean-Francois Moine <moinejf@free.fr>:
> On Wed, 11 Jul 2012 14:14:24 +0300
> Martin-Éric Racine <martin-eric.racine@iki.fi> wrote:
>
>>   CC [M]  /home/perkelix/gspca-2.15.18/build/ov534_9.o
>> /home/perkelix/gspca-2.15.18/build/ov534_9.c: In function ‘sd_init’:
>> /home/perkelix/gspca-2.15.18/build/ov534_9.c:1353:3: error: implicit
>> declaration of function ‘err’ [-Werror=implicit-function-declaration]
>> cc1: some warnings being treated as errors
>> make[2]: *** [/home/perkelix/gspca-2.15.18/build/ov534_9.o] Virhe 1
>> make[1]: *** [_module_/home/perkelix/gspca-2.15.18/build] Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-rc6+'
>> make: *** [modules] Error 2
>
> Sorry, I did not compile yet with kernel >= 3.4.
>
> So, please, edit the file build/ov534_9.c (and possibly other sources),
> changing  the calls to 'err' to 'pr_err'.

This was was required for both build/ov534_9.c and build/spca505.c to
build agaist 3.5.

Sure enough, this seems to fix support for this camera in both Cheese
and Skype. Hurray! :-)

Now, the only thing that remains is for this to be merged in the 3.5
tree, then backported to the 3.2 tree that is used for Debian's
upcoming Wheezy stable release (and for Ubuntu's recently released
Precise also).

Thanks again to everyone for the hand-holding!

Cheers!
Martin-Éric

PS: Jonathan, do you feel like investigating why
arch/x86/Makefile_32.cpu wasn't included in the
linux-headers-3.5.0-rc6+_3.5.0-rc6+-1_i386.deb package that was
generated by the 'make deb-pkg' target?



Reply to: