You are not logged in.
Hi,
since I installed kernel 2.6.29 I cannot build the ov51x-jpeg webcam driver anymore.
I only modified the PKGBUILD on row 3: _kernver=${uname -r} -> _kernver=`uname -r` (first one did not work for me).
This is the build log:
make -C /lib/modules/2.6.29-ARCH/build M=/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9 modules
make[1]: Entering directory `/usr/src/linux-2.6.29-ARCH'
CC [M] /tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:543: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'create_proc_ov511_cam':
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:677: error: implicit declaration of function 'info'
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'ov51x_clear_snapshot':
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:1691: error: implicit declaration of function 'warn'
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'ov51x_v4l1_ioctl':
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: warning: passing argument 1 of 'video_usercopy' from incompatible pointer type
include/media/v4l2-ioctl.h:296: note: expected 'struct file *' but argument is of type 'struct inode *'
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: warning: passing argument 2 of 'video_usercopy' makes integer from pointer without a cast
include/media/v4l2-ioctl.h:296: note: expected 'unsigned int' but argument is of type 'struct file *'
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: warning: passing argument 4 of 'video_usercopy' makes pointer from integer without a cast
include/media/v4l2-ioctl.h:296: note: expected 'v4l2_kioctl' but argument is of type 'long unsigned int'
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: error: too many arguments to function 'video_usercopy'
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: At top level:
/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6651: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
make[1]: *** [_module_/tmp/yaourt-tmp-stefano/aur-ov51x-jpeg/ov51x-jpeg/src/ov51x-jpeg-1.5.9] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-ARCH'
make: *** [all] Error 2
I checked the v4l_compat_ioctl32 driver, but I only have the v4l2_compat_ioctl32 and v4l1_compact. I am using a stock kernel 2.6.29.3-1 for x86_64.
Any hints?
Thanks,
gm
Offline
Hi
I have the same problem within i686.
The new 2.6.29 kernel is not compatible with this version of the driver.
I suppose we have to wait ....
Serge
Last edited by cserge (2009-05-18 13:05:28)
Offline