From owner-freebsd-stable@FreeBSD.ORG Mon Dec 7 15:39:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E765106568F for ; Mon, 7 Dec 2009 15:39:18 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3DDDB8FC13 for ; Mon, 7 Dec 2009 15:39:18 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E756F46B06; Mon, 7 Dec 2009 10:39:17 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 0F2228A026; Mon, 7 Dec 2009 10:39:17 -0500 (EST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Mon, 7 Dec 2009 10:12:44 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <200912071118.47820.wolfgang@riegler.homeip.net> In-Reply-To: <200912071118.47820.wolfgang@riegler.homeip.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200912071012.44416.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 07 Dec 2009 10:39:17 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Wolfgang Riegler Subject: Re: kldload: can't load msdosfs_iconv: Exec format error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 15:39:18 -0000 On Monday 07 December 2009 5:18:47 am Wolfgang Riegler wrote: > Hi, > > I hope somebody can help me :-) > > I have some trouble loading the kernel modules msdosfs_iconv, cd9660_iconv und udf_iconv. The error > is always "kldload: can't load msdosfs_iconv: Exec format error" Look in 'dmesg' for the real error message. > Compiling the kernel with option msdosfs_iconv fails with this error: > > msdosfs_iconv.o(.text+0xb): In function `msdosfs_iconv_mod_handler': > : undefined reference to `msdosfs_iconv' > msdosfs_iconv.o(.text+0x31): In function `msdosfs_iconv_mod_handler': > : undefined reference to `iconv_vfs_refcount' > msdosfs_iconv.o(.text+0x3c): In function `msdosfs_iconv_mod_handler': > : undefined reference to `msdosfs_iconv' > msdosfs_iconv.o(.data+0x0): undefined reference to `iconv_open' > msdosfs_iconv.o(.data+0x8): undefined reference to `iconv_close' > msdosfs_iconv.o(.data+0x10): undefined reference to `iconv_conv' > msdosfs_iconv.o(.data+0x18): undefined reference to `iconv_conv_case' > msdosfs_iconv.o(.data+0x20): undefined reference to `iconv_convchr' > msdosfs_iconv.o(.data+0x28): undefined reference to `iconv_convchr_case' > *** Error code 1 You need 'options LIBICONV' in your kernel config for this approach. -- John Baldwin