kldload: can't load msdosfs_iconv: Exec format error

Wolfgang Riegler wolfgang at riegler.homeip.net
Mon Dec 7 17:47:33 UTC 2009


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.
> 


More information about the freebsd-stable mailing list