Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 10:08:19 +0800
From:      Khitai Pang <khitai.pang@outlook.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: building smbfs: undefined reference
Message-ID:  <BLU437-SMTP82F79ED34FA2E432C50ADEFCF50@phx.gbl>
In-Reply-To: <BLU437-SMTP39D4F7B5AF02022F13F0DFFCF10@phx.gbl>
References:  <BLU437-SMTP39D4F7B5AF02022F13F0DFFCF10@phx.gbl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Does anyone has any clue?  Thanks in advance

Khitai

On 2016/1/4 1:33, Khitai Pang wrote:
> I tried mount_smbfs from ports net/samba-smbclient but got the 
> following error:
>
> mount_smbfs: kldload(smbfs): No such file or directory
>
> So I added 'options SMBFS' in my kernel config file, and kernel 
> building failed:
>
> /var/src/sys/fs/smbfs/smbfs_io.c:(.text+0x94): undefined reference to 
> `smb_makescred'
> /var/src/sys/fs/smbfs/smbfs_io.c:(.text+0x367): undefined reference to 
> `smb_makescred'
> /var/src/sys/fs/smbfs/smbfs_io.c:(.text+0x37a): undefined reference to 
> `smb_read'
> smbfs_io.o: In function `smbfs_vinvalbuf':
> /var/src/sys/fs/smbfs/smbfs_io.c:(.text+0x6cb): undefined reference to 
> `smb_td_intr'
> ...
>
> A lot of undefined references.  By simple grep I found that the 
> missing functions are in sys/netsmb, so maybe I should also add 
> 'options NETSMB'?  Anything else?  Where can I find documentation 
> about this?
>
>
> Thanks
> Khitai



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?BLU437-SMTP82F79ED34FA2E432C50ADEFCF50>