Date: Mon, 7 Dec 2009 10:12:44 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: Wolfgang Riegler <wolfgang@riegler.homeip.net> Subject: Re: kldload: can't load msdosfs_iconv: Exec format error Message-ID: <200912071012.44416.jhb@freebsd.org> In-Reply-To: <200912071118.47820.wolfgang@riegler.homeip.net> References: <200912071118.47820.wolfgang@riegler.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912071012.44416.jhb>
