From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 8 23:24:45 2008 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 7F46F1065676; Mon, 8 Sep 2008 23:24:45 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 426EF8FC26; Mon, 8 Sep 2008 23:24:45 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id C3B7A730A8; Tue, 9 Sep 2008 01:09:26 +0200 (CEST) Date: Tue, 9 Sep 2008 01:09:26 +0200 From: Luigi Rizzo To: Bruce M Simpson Message-ID: <20080908230926.GA38057@onelab2.iet.unipi.it> References: <48C58754.6040802@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C58754.6040802@incunabulum.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-multimedia@freebsd.org, Luigi Rizzo , pedagand@gmail.com Subject: Re: devel/linux-kmod-compat bit me 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: Mon, 08 Sep 2008 23:24:45 -0000 On Mon, Sep 08, 2008 at 09:13:08PM +0100, Bruce M Simpson wrote: > "link_elf: symbol msleep undefined"... > > Further here: > http://www.daemonforums.org/showthread.php?p=12764#post12764 > > This just bit me, the attached fixes seem to work for me (I can load the > drivers into the kernel). ok... > It turns out that the __FreeBSD_version cpp conditional is incorrect for > 7.0-RELEASE shipping systems. The key observation was that on line 76 of > linux_compat.c, msleep() is in fact undefined. > > The only cam I have at the moment is the Trust Spacec@m 380 which is not > supported by the ported ov511 driver, I'm waiting on more units arriving. have you tried multimedia/linux-gspca-kmod instead, which supports more than 100 different (and more modern) webcams ? cheers luigi