SMBFS - freebsd 4.8 Kernel

Vallo Kallaste kalts at estpak.ee
Mon Apr 14 06:25:09 PDT 2003


On Sun, Apr 13, 2003 at 04:33:00PM -0400, Jeff MacDonald
<jeff at interchange.ca> wrote:

> I added these three lines to my kernel configuration file
> after cvsuping the latest 4.8 sources.
> 
> options         SMBFS
> options         NETSMB
> options         NETSMBCRYPTO
> 
> and when i do a
> 
> make buildkernel KERNCONF=HOMER
> 
> i get this at the end of the compile
> 
> smb_usr.o: In function `smb_usr_simplerequest':
> smb_usr.o(.text+0x398): undefined reference to `mb_put_mem'
> smb_usr.o(.text+0x3c7): undefined reference to `mb_put_mem'
> smb_usr.o(.text+0x409): undefined reference to `md_get_uint8'
> smb_usr.o(.text+0x448): undefined reference to `md_get_mem'
> smb_usr.o(.text+0x464): undefined reference to `md_get_uint16le'
> smb_usr.o(.text+0x4af): undefined reference to `md_get_mem'
> smb_usr.o: In function `smb_cpdatain':
> smb_usr.o(.text+0x4f6): undefined reference to `mb_init'
> smb_usr.o(.text+0x509): undefined reference to `mb_put_mem'
> smb_usr.o: In function `smb_usr_t2request':
> smb_usr.o(.text+0x5ff): undefined reference to `m_fixhdr'
> smb_usr.o(.text+0x61f): undefined reference to `md_get_mem'
> smb_usr.o(.text+0x646): undefined reference to `m_fixhdr'
> smb_usr.o(.text+0x66f): undefined reference to `md_get_mem'
> *** Error code 1

You are missing LIBMCHAIN option I guess. The yet another one you
could be interested on is LIBICONV, but there are rumors that
getting charset conversion to work for smbfs mounts is PITA. Only
rumors, haven't tried myself.
-- 

Vallo Kallaste


More information about the freebsd-questions mailing list