>а что в ядре то и на что ругань?
...
linking kernel
smbfs_smb.o: In function `smbfs_smb_lockandx':
smbfs_smb.o(.text+0x90): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0x9d): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0xaa): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0xc3): undefined reference to `mb_put_mem'
smbfs_smb.o(.text+0xd6): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0xe3): undefined reference to `mb_put_uint8'
smbfs_smb.o(.text+0xf3): undefined reference to `mb_put_uint32le'
smbfs_smb.o(.text+0x10d): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x127): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x143): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x152): undefined reference to `mb_put_uint32le'
smbfs_smb.o(.text+0x167): undefined reference to `mb_put_uint32le'
smbfs_smb.o: In function `smbfs_smb_statfs2':
smbfs_smb.o(.text+0x201): undefined reference to `mb_init'
smbfs_smb.o(.text+0x209): undefined reference to `mb_put_uint16le'
smbfs_smb.o(.text+0x23a): undefined reference to `md_get_uint32'
smbfs_smb.o(.text+0x244): undefined reference to `md_get_uint32le'
smbfs_smb.o(.text+0x24e): undefined reference to `md_get_uint32le'
smbfs_smb.o(.text+0x258): undefined reference to `md_get_uint32le'
smbfs_smb.o(.text+0x265): undefined reference to `md_get_uint16le'
smbfs_smb.o: In function `smbfs_smb_statfs':
smbfs_smb.o(.text+0x32d): undefined reference to `md_get_uint16le'
smbfs_smb.o(.text+0x33f): undefined reference to `md_get_uint16le'
smbfs_smb.o(.text+0x351): undefined reference to `md_get_uint16le'
smbfs_smb.o(.text+0x366): undefined reference to `md_get_uint16le'
smbfs_smb.o: In function `smbfs_smb_setfsize':
smbfs_smb.o(.text+0x420): undefined reference to `mb_put_mem'
smbfs_smb.o(.text+0x42d): undefined reference to `mb_put_uint16le'
...
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
Stop in /usr/obj/usr/src/sys/k45_2.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
конфигурация такая:
machine i386
cpu I586_CPU
ident K45_2
maxusers 0
makeoptions CONF_CFLAGS=-fno-builtin
options CPU_FASTER_5X86_FPU
options CPU_WT_ALLOC
options NO_F00F_HACK
options NO_MEMORY_HOLE
options USER_LDT
options INET #InterNETworking
options IPSEC
options IPSEC_ESP
options NETSMB
options NETSMBCRYPTO
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_FORWARD
options IPFIREWALL_VERBOSE_LIMIT=100
options IPDIVERT
options IPFILTER
options IPFILTER_LOG
options IPSTEALTH
options TCPDEBUG
options RANDOM_IP_ID
options ICMP_BANDLIM
options DUMMYNET
options BRIDGE
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options MSDOSFS
options NTFS
options SMBFS
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options QUOTA
options SUIDDIR
options EXT2FS
pseudo-device pty
pseudo-device speaker
pseudo-device gzip
pseudo-device vn
#pseudo-device md
pseudo-device snp 3
device isa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID #Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
device sio2 at isa? disable port IO_COM3 irq 5
device sio3 at isa? disable port IO_COM4 irq 9
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device rl # RealTek 8129/8139
device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
#pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
options PPP_BSDCOMP
options PPP_DEFLATE
options PPP_FILTER
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device bpf #Berkeley packet filter
прошу сильно не бить -- второй раз FreeBSD kernel собираю :-)