Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B25E5106567A for ; Sat, 12 Apr 2008 23:48:55 +0000 (UTC) (envelope-from pedagand@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 795658FC1D for ; Sat, 12 Apr 2008 23:48:55 +0000 (UTC) (envelope-from pedagand@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so1051381wfa.7 for ; Sat, 12 Apr 2008 16:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=56rkflVARLUKASlxWo4oT7HS+3Yq5m7Yg3e8OyN11S0=; b=lUHmjVZ+h0bgMNN1l6hCTT5HvL3yAIkNeYC9ABZwmZknXaOa1ZQsFm5KyTVNccBg13BSutffb4+0PdDwHvGtB1lbAACboRAlRDcBYGnW2dXmGt2qyQVCh6H3KFBAMQyw/ktyTwqPXXS3ISouoVVIjHZkx8fap/IJR5WfnBCVf08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Lrqbr/WMm0yZp/Lchlaj+sq0AfbKr6tIKDcFa9lk4565RgX43VHrTjkcgD9QidKILNojUDknpocvSz+Z8HsxdJnbKHTUPrtzQdZMygFayvYjQTb3L4iQiyShHSusOVmqZQ5OddDZfHJ6525P7x10rkNdabsqU1X0R2srPqUETCQ= Received: by 10.142.50.15 with SMTP id x15mr1285606wfx.169.1208042459717; Sat, 12 Apr 2008 16:20:59 -0700 (PDT) Received: by 10.142.11.19 with HTTP; Sat, 12 Apr 2008 16:20:59 -0700 (PDT) Message-ID: <6cb897b30804121620l3104747en570b2293c1fb5ef6@mail.gmail.com> Date: Sun, 13 Apr 2008 01:20:59 +0200 From: "Pierre-Evariste Dagand" To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: linux-gspca-kmod: "symbol msleep undefined" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2008 23:48:55 -0000 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