Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2009 18:30:27 +0100
From:      Wolfgang Riegler <wolfgang@riegler.homeip.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: kldload: can't load msdosfs_iconv: Exec format error
Message-ID:  <200912071830.27369.wolfgang@riegler.homeip.net>
In-Reply-To: <200912071012.44416.jhb@freebsd.org>
References:  <200912071118.47820.wolfgang@riegler.homeip.net> <200912071012.44416.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you, 'options LIBICONV' solves my problem

Wolfgang

Am Montag 07 Dezember 2009 16:12:44 schrieb John Baldwin:
> 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.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912071830.27369.wolfgang>