Re: [Linux-uvc-devel] Unable to make with Fedora Core 5
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Laurent P. <lau...@sk...> - 2006-03-25 17:14:50
|
> The fllowing is what I receive when I attempt to "Make" with driver > version 25 > > > 2.6.15-1.2054_FC5 > uvcdriver]$ make > Building USB Video Class driver... > make[1]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686' > CC [M] /usr/local/src/uvcdriver/uvcvideo.o > /usr/local/src/uvcdriver/uvcvideo.c: In function ‘uvc_v4l2_do_ioctl’: > /usr/local/src/uvcdriver/uvcvideo.c:2054: error: ‘v4l2_ioctl_names’ > undeclared (first use in this function) > /usr/local/src/uvcdriver/uvcvideo.c:2054: error: (Each undeclared > identifier is reported only once > /usr/local/src/uvcdriver/uvcvideo.c:2054: error: for each function it > appears in.) > /usr/local/src/uvcdriver/uvcvideo.c: At top level: > /usr/local/src/uvcdriver/uvcvideo.c:3433: error: unknown field ‘owner’ > specified in initializer > /usr/local/src/uvcdriver/uvcvideo.c:3433: warning: initialization from > incompatible pointer type > make[2]: *** [/usr/local/src/uvcdriver/uvcvideo.o] Error 1 > make[1]: *** [_module_/usr/local/src/uvcdriver] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686' > make: *** [uvcvideo] Error 2 > uvcdriver]$ That's because FC5 includes a 2.6.16 beta kernel, which advertises the 2.6.15 kernel version but includes changes from 2.6.16 which breaks source compatibility. the linux-uvc driver should work with 2.6.16, but think your kernel is a 2.6.15. Try to modify the version number in the kernel Makefile to 2.6.16 and see if it helps. Laurent Pinchart |