Re: Fwd: [Linux-uvc-devel] Compilation error

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

 



Em Wed, 27 May 2009 01:57:55 +0200
Laurent Pinchart <laurent.pinchart@xxxxxxxxx> escreveu:

> Hi everybody,
> 
> ----------  Forwarded Message  ----------
> 
> Subject: [Linux-uvc-devel] Compilation error
> Date: Tuesday 26 May 2009
> From: Phil Lemelin
> To: linux-uvc-devel@xxxxxxxxxxxxxxxx
> 
> Hi uvc-devel list,
> 
> I'm trying to get my usb camera to work ( 174f:8a34 Syntek ) on a older
> system ( 2.6.18-6, debian etch ) and I am not able to compile the source
> code found on the HG repository. The error I get is the following :
> 
> >
> > *snip*
> > CC [M]  /home/phil/uvcvideo-b7cdedd8e305/v4l/av7110_hw.o
> > /home/phil/uvcvideo-b7cdedd8e305/v4l/av7110_hw.c:294: error: expected
> > declaration specifiers or '...' before string constant
> > /home/phil/uvcvideo-b7cdedd8e305/v4l/av7110_hw.c:294: warning: data
> > definition has no type or storage class
> > /home/phil/uvcvideo-b7cdedd8e305/v4l/av7110_hw.c:294: warning: type
> > defaults to 'int' in declaration of 'MODULE_FIRMWARE'
> > /home/phil/uvcvideo-b7cdedd8e305/v4l/av7110_hw.c:294: warning: function
> > declaration isn't a prototype
> > make[3]: *** [/home/phil/uvcvideo-b7cdedd8e305/v4l/av7110_hw.o] Error 1
> > make[2]: *** [_module_/home/phil/uvcvideo-b7cdedd8e305/v4l] Error 2
> > make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory `/home/phil/uvcvideo-b7cdedd8e305/v4l'
> > make: *** [all] Error 2
> >
> 
> -------------------------------------------------------
> 
> Is an update to v4l/versions.txt needed ?

I just applied a patch at tip that restores compilation with legacy kernels,
tested here with a RHEL5 kernel (a patched version of 2.6.16)



Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux