amd64/78349: making of kernel with options SMBFS and NETSMB fails on amd64

Fredrik Widell fredrik at widell.net
Thu Mar 3 10:20:06 GMT 2005


>Number:         78349
>Category:       amd64
>Synopsis:       making of kernel with options SMBFS and NETSMB fails on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 03 10:20:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Fredrik Widell
>Release:        FreeBSD 5.4-PRERELEASE amd64
>Organization:
KTHNOC
>Environment:
System: FreeBSD nic2.widell.net 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Wed Mar 2 16:53:07 CET 2005 root at nic2.widell.net:/usr/obj/usr/src/sys/GENERIC amd64



>Description:

	Cannot get mount_smbfs to work,
	mount_smbfs -I 10.0.0.1  //widell at host/share /mnt/share 
	mount_smbfs: kldload(smbfs): No such file or directory

	Trying to get mount_smbfs to work I put these 2 lines in my kernelconfig:

	options                SMBFS
	options                NETSMB

	make fails with the following output:
	...
	smb_usr.o(.text+0x590): In function `smb_usr_simplerequest':
	: undefined reference to `md_get_uint16le'
	smb_usr.o(.text+0x5c7): In function `smb_usr_simplerequest':
	: undefined reference to `md_get_mem'
	smb_usr.o(.text+0x654): In function `smb_cpdatain':
	: undefined reference to `mb_init'
	smb_usr.o(.text+0x66c): In function `smb_cpdatain':
	: undefined reference to `mb_put_mem'
	smb_usr.o(.text+0x7c4): In function `smb_usr_t2request':
	: undefined reference to `md_get_mem'
	smb_usr.o(.text+0x816): In function `smb_usr_t2request':
	: undefined reference to `md_get_mem'
	*** Error code 1
	
	Stop in /usr/src/sys/amd64/compile/NIC2.


>How-To-Repeat:
	Make a kernel with the above options,
	options                SMBFS
	options                NETSMB
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list