ov51x-jpeg-source won't build in Karmic Alpha6

Bug #433635 reported by Michał Rudnicki
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
ov51x-jpeg (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ov51x-jpeg-source

I tried to compile kernel module provided in package ov51x-jpeg-source using module-assistant. This module is required in order for Skype to work with my web cam Creative Live! Notebook.

# lsusb | grep Creative
Bus 002 Device 003: ID 041e:4068 Creative Technology, Ltd WebCam Live! Notebook

# lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

# apt-cache policy ov51x-jpeg-source
ov51x-jpeg-source:
  Installed: 1.5.9-1
  Candidate: 1.5.9-1
  Version table:
 *** 1.5.9-1 0
        500 http://ie.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Attached is output from module-assistant buildlog.

I am aware that this driver is for v4l1 which is now obsolete, but Skype video won't work with "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype" with this cam.

Tags: ov51x webcam
Revision history for this message
Michał Rudnicki (stronger) wrote :
Revision history for this message
Gorbayov (ranalyner) wrote :

i have the same problem

Revision history for this message
Tobias Bradtke (webwurst) wrote :

Problem persists with Karmic final. So i can't get my (old) webcam working.

$ lsusb |grep Webcam
Bus 002 Device 009: ID 05a9:8519 OmniVision Technologies, Inc. OV519 Webcam

Revision history for this message
Marco Bisaccioni (marco-bisaccioni) wrote :

I have the same problem. This is my webcam:
$ lsusb |grep Webcam
Bus 003 Device 002: ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic

I tried to compile ov51x module but I receive this error:
ov51x-jpeg-core.c:543: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)

$ uname -a
Linux mylinux 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

Revision history for this message
MMarking (cpt-mocha) wrote :

Same problem here even with the "hacked" driver from http://www.rastageeks.org/ov51x-jpeg/index.php/Ov51xJpegHackedSource

Any hope of someone fixing this?

# lsusb
Bus 003 Device 002: ID 041e:4067 Creative Technology, Ltd

Revision history for this message
Jarius (jarius) wrote :
Download full text (6.6 KiB)

Same problem here with Hercules Blog Webcam.

Maybe, because kernel-header file gspca.h has NULL byte size??

Tested on up2date karmic with all updates.

compile errors from:

root@chaotiker87:~# module-assistant a-i ov51x-jpeg
# Build the module ▒
 │ /usr/bin/make KERNEL_DIR=/usr/src/linux KDIR=/usr/src/linux ▒
 │ KVERS=2.6.31-14-generic ▒
 │ make[2]: Betrete Verzeichnis '/usr/src/modules/ov51x-jpeg' ▒
 │ /usr/bin/make -C /usr/src/linux M=/usr/src/modules/ov51x-jpeg modules ▒
 │ make[3]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.31-14-generic' ▒
 │ CC [M] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o ▮
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function ▒
 │ ‘create_proc_ov511_cam’: ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:677: error: implicit ▒
 │ declaration of function ‘info’ ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:681: error: ‘struct ▒
 │ proc_dir_entry’ has no member named ‘owner’
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:681: error: ‘struct ▒
 │ proc_dir_entry’ has no member named ‘owner’ ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:689: error: ‘struct ▒
 │ proc_dir_entry’ has no member named ‘owner’ ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:700: error: ‘struct ▒
 │ proc_dir_entry’ has no member named ‘owner’ ▮
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:712: error: ‘struct ▒
 │ proc_dir_entry’ has no member named ‘owner’ ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function ▒
 │ ‘proc_ov511_create’: ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:766: error: ‘struct ▒
 │ proc_dir_entry’ has no member named ‘owner’
/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function ▒
 │ ‘ov51x_clear_snapshot’: ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:1691: error: implicit ▒
 │ declaration of function ‘warn’ ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function ▒
 │ ‘ov51x_v4l1_ioctl’: ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing ▒
 │ argument 1 of ‘video_usercopy’ from incompatible pointer type ▮
 │ include/media/v4l2-ioctl.h:298: note: expected ‘struct file *’ but ▒
 │ argument is of type ‘struct inode *’ ▒
 │ /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing ▒
 │ argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘unsigned int’ but ↑
 │ argument i...

Read more...

Revision history for this message
usul (usul-timedout) wrote :

Exactly the same thing is happening for me :-(

:~/ov51x-jpeg-1.5.9# make
make -C /lib/modules/2.6.31-14-generic-pae/build M=/root/ov51x-jpeg-1.5.9 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic-pae'
  CC [M] /root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function ‘create_proc_ov511_cam’:
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:677: error: implicit declaration of function ‘info’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:681: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:689: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:700: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:712: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function ‘proc_ov511_create’:
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:766: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function ‘ov51x_clear_snapshot’:
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:1691: error: implicit declaration of function ‘warn’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function ‘ov51x_v4l1_ioctl’:
/root/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:298: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/root/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:298: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/root/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:298: note: expected ‘v4l2_kioctl’ but argument is of type ‘long unsigned int’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: error: too many arguments to function ‘video_usercopy’
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: At top level:
/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6651: warning: initialization from incompatible pointer type
make[2]: *** [/root/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
make[1]: *** [_module_/root/ov51x-jpeg-1.5.9] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic-pae'
make: *** [all] Error 2

Hopefully someone will do a fix soon.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.