From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 7 02:12:32 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D0AA16A411 for ; Wed, 7 Feb 2007 02:12:26 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id C5F3C13C4A7 for ; Wed, 7 Feb 2007 02:12:25 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l172CPeH058638; Tue, 6 Feb 2007 18:12:25 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l172CPqG058637; Tue, 6 Feb 2007 18:12:25 -0800 (PST) (envelope-from rizzo) Date: Tue, 6 Feb 2007 18:12:25 -0800 From: Luigi Rizzo To: yang yang Message-ID: <20070206181225.B58529@xorpc.icir.org> References: <20070205022434.D34136@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from kk_q@msn.com on Wed, Feb 07, 2007 at 12:27:46AM +0800 Cc: freebsd-multimedia@freebsd.org Subject: Re: Luigi Rizzo's webcam pkg compile error 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: Wed, 07 Feb 2007 02:12:32 -0000 On Wed, Feb 07, 2007 at 12:27:46AM +0800, yang yang wrote: > cvsup, and edit devel/linux-kmod-compat/Mikefile, remark these 3 lines: > #.if ${OSVERSION} < 602100 > #IGNORE= requires a recent USB stack, not present in ${OSVERSION} > #.endif > > devel/linux-kmod-compat > multimedia/linux-gspca-kmod > make install clean, successfully. > > # kldload gspca.ko > kldload: can't load gspca.ko: Exec format error > > /var/log/message: > kernel: link_elf_obj: symbol __start_set_ldev_info undefined > kernel: kldload: Unsupported file type hmmm... it seems that on your platform (amd64 ?) the toolchain does not handle well some of the linker set tricks that i use to pass information from the linux module to the freebsd module. No idea why though, maybe you could try ask on the amd64 list if there is one... cheers luigi