Date: Sun, 13 Apr 2008 01:20:59 +0200 From: "Pierre-Evariste Dagand" <pedagand@gmail.com> To: freebsd-multimedia@freebsd.org Subject: linux-gspca-kmod: "symbol msleep undefined" Message-ID: <6cb897b30804121620l3104747en570b2293c1fb5ef6@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I am trying to get my webcam working with the linux-gpsca driver. I have updated my ports to the latest version of linux-kmod-compat and linux-gspca-kmod: linux-kmod-compat-20080408 linux-gspca-kmod-1.0.20 They compile fine, with the following warning for linux-gspca-kmod: > In file included from gspca_core.c:39: > /usr/local/share/linux-kmod-compat/linux_compat/linux/module.h:218:1: warning: "msleep" redefined > In file included from /usr/local/share/linux-kmod-compat/linux_compat/linux/module.h:45, > from gspca_core.c:39: > @/sys/systm.h:307:1: warning: this is the location of the previous definition And: > In file included from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:48, > from /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:44: > @/sys/systm.h:307:1: warning: this is the location of the previous definition > /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c: In function 'linux_msleep': > /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:76: warning: implicit declaration of function 'msleep' > /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:76: warning: nested extern declaration of 'msleep' But when I try to load the module with: > kldload gspca I get: > kldload: can't load gspca: No such file or directory And, in dmesg: > link_elf: symbol msleep undefined The webcam works in Linux, it is: > [spca5xx_probe:8263] Camera type S561 > [spca5xx_getcapability:2241] maxw 352 maxh 288 minw 160 minh 120 > [spca561_init:473] Find spca561 USB Product ID 929 > --- video capability --- > name: Labtec Webcam Elch2 type: 1 > channels: 1 My FreeBSD version is 7.0-RELEASE on i386, with gcc 4.2.1. Am I doing something wrong ? And if it is not a chair-to-keyboard interface bug on my side, I would be pleased to help hunting that bug. Regards, -- Pierre-Evariste DAGAND
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6cb897b30804121620l3104747en570b2293c1fb5ef6>
