linux-gspca-kmod: "symbol msleep undefined"
Pierre-Evariste Dagand
pedagand at gmail.com
Sat Apr 12 23:48:55 UTC 2008
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
More information about the freebsd-multimedia
mailing list