ov51x-jpeg-source won't compile on karmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ov51x-jpeg (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi there,
Unable to compile module ov51x-jpeg-source.
Maybe, because kernel-header file gspca.h has NULL byte size??
Tested on up2date karmic with all updates.
root@chaotiker87:~# lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
root@chaotiker87:~# apt-cache policy ov51x-jpeg-source
ov51x-jpeg-source:
Installiert: 1.5.9-1
Kandidat: 1.5.9-1
Versions-Tabelle:
*** 1.5.9-1 0
500 http://
100 /var/lib/
compile errors from:
root@chaotiker87:~# module-assistant a-i ov51x-jpeg
# Build the module ▒
│ /usr/bin/make KERNEL_
│ KVERS=2.
│ make[2]: Betrete Verzeichnis '/usr/src/
│ /usr/bin/make -C /usr/src/linux M=/usr/
│ make[3]: Betrete Verzeichnis '/usr/src/
│ CC [M] /usr/src/
│ /usr/src/
│ ‘create_
│ /usr/src/
│ declaration of function ‘info’ ▒
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’
/usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▒
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▒
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▮
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’ ▒
│ /usr/src/
│ ‘proc_ov511_
│ /usr/src/
│ proc_dir_entry’ has no member named ‘owner’
/usr/src/
│ ‘ov51x_
│ /usr/src/
│ declaration of function ‘warn’ ▒
│ /usr/src/
│ ‘ov51x_v4l1_ioctl’: ▒
│ /usr/src/
│ argument 1 of ‘video_usercopy’ from incompatible pointer type ▮
│ include/
│ argument is of type ‘struct inode *’ ▒
│ /usr/src/
│ argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/
│ argument is of type ‘struct file *’ ▒
│ /usr/src/
│ argument 4 of ‘video_usercopy’ makes pointer from integer without a cast ▒
│ include/
│ argument is of type ‘long unsigned int’ ▒
│ /usr/src/
│ arguments to function ‘video_usercopy’ ▒
│ /usr/src/
│ /usr/src/
│ initialization from incompatible pointer type ▒
│ make[4]: *** [/usr/src/
│ make[3]: *** [_module_
│ make[3]: Verlasse Verzeichnis '/usr/src/
│ make[2]: *** [all] Fehler 2
root@chaotiker87:~# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 004 Device 002: ID 0518:0002 EzKEY Corp. EZ-9900C Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 06f8:3002 Guillemot Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@chaotiker87:~# tail -f /var/log/messages
Nov 20 19:56:49 chaotiker87 kernel: [ 2441.072031] usb 1-8: new high speed USB device using ehci_hcd and address 4
Nov 20 19:56:49 chaotiker87 kernel: [ 2441.206278] usb 1-8: configuration #1 chosen from 1 choice
root@chaotiker87:~# ls -al /usr/src/
total 8
drwxr-xr-x 2 root root 4096 2009-11-15 15:19 .
drwxr-xr-x 38 root root 4096 2009-10-22 23:23 ..
-rw-r--r-- 1 root root 0 2009-10-16 20:09 conex.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 etoms.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 finepix.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 mars.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 mr97310a.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 ov519.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 ov534.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 pac207.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 pac7311.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 sn9c20x.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 sonixb.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 sonixj.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 spca500.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 spca501.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 spca505.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 spca506.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 spca508.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 spca561.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 sq905c.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 sq905.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 stk014.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 sunplus.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 t613.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 tv8532.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 vc032x.h
-rw-r--r-- 1 root root 0 2009-10-16 20:09 zc3xx.h
What happend to the header files?
Changed in ov51x-jpeg (Ubuntu): | |
status: | New → Confirmed |
Same Problems here, for instance:
ov51x-jpeg- core.c: 6434: error: implicit declaration of function ‘info’
by commenting out the PDBUG s and some other debug functionality, and adding some headers, the following problem remains:
rc = video_usercopy( inode, file, cmd, arg, ov51x_v4l1_ ioctl_internal) ;
error: too many arguments to function ‘video_usercopy’
This could be connected to the problem: readlist. com/lists/ vger.kernel. org/linux- kernel/ 10/51849. html
http://
The following appears in /var/log/messages, when the module is loaded:
Nov 27 19:21:23 de kernel: [ 4993.657566] Pid: 3767, comm: v4l_id Tainted: P (2.6.31-15-generic #50-Ubuntu) System Product Name ioctl+0x7/ 0x30 [ov51x_jpeg] open+0xcd/ 0x190 open+0xb9/ 0x230 to_filp+ 0x55/0x70 open+0x0/ 0x190 open+0x53a/ 0x890 prot+0xcd/ 0xf0 open+0x50/ 0x150 call+0x7/ 0xb
Nov 27 19:21:23 de kernel: [ 4993.657573] EIP: 0060:[<f81b31a7>] EFLAGS: 00010286 CPU: 0
Nov 27 19:21:23 de kernel: [ 4993.657587] EIP is at ov51x_v4l1_
Nov 27 19:21:23 de kernel: [ 4993.657593] EAX: 40048d5c EBX: 00000000 ECX: f99238d0 EDX: f81b31a0
Nov 27 19:21:23 de kernel: [ 4993.657598] ESI: f3cc1400 EDI: f4c9ec04 EBP: f3de5e48 ESP: f3de5e44
Nov 27 19:21:23 de kernel: [ 4993.657604] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Nov 27 19:21:23 d kernel: [ 4993.657618] 00000000 f3de5e5c f9923932 00000000 f575af40 00000000 f3de5e80 c01eaa5d
Nov 27 19:21:23 d kernel: [ 4993.657632] <0> f3cc1400 f60485b8 c0894300 00000000 f3cc1400 f60485b8 f69ed000 f3de5e9c
Nov 27 19:21:23 d kernel: [ 4993.657646] <0> c01e5a39 f353ca18 00000000 f353ca18 f3cc1400 f3de5ef0 f3de5eb8 c01e5c95
Nov 27 19:21:23 de kernel: [ 4993.657677] [<f9923932>] ? v4l2_open+0x62/0xa0 [videodev]
Nov 27 19:21:23 de kernel: [ 4993.657691] [<c01eaa5d>] ? chrdev_
Nov 27 19:21:23 de kernel: [ 4993.657699] [<c01e5a39>] ? __dentry_
Nov 27 19:21:23 de kernel: [ 4993.657707] [<c01e5c95>] ? nameidata_
Nov 27 19:21:23 de kernel: [ 4993.657715] [<c01ea990>] ? chrdev_
Nov 27 19:21:23 de kernel: [ 4993.657723] [<c01f39ba>] ? do_filp_
Nov 27 19:21:23 de kernel: [ 4993.657732] [<c012d3cd>] ? kmap_atomic_
Nov 27 19:21:23 de kernel: [ 4993.657740] [<c01e57d0>] ? do_sys_
Nov 27 19:21:23 de kernel: [ 4993.657747] [<c01e5939>] ? sys_open+0x29/0x40
Nov 27 19:21:23 de kernel: [ 4993.657755] [<c010336c>] ? syscall_
Nov 27 19:21:23 de kernel: [ 4993.657858] ---[ end trace 445aa8a72c8c7ce3 ]
(and the camera doesnt work)
Thanks and regards,
Phonon