Per olof Ljungmark
2006-Feb-16 12:23 UTC
smb_ntencrypt: password encryption is not available #2
Well, options NETSMBCRYPTO options NETSMB did not work out very well: Do I need anything else here? qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vnode_if.c touch hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh IKO cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c linking kernel.debug smb_conn.o(.text+0xa1b): In function `smb_vc_create': /usr/src/sys/netsmb/smb_conn.c:443: undefined reference to `iconv_open' smb_conn.o(.text+0xa3f):/usr/src/sys/netsmb/smb_conn.c:446: undefined reference to `iconv_open' smb_conn.o(.text+0xa66):/usr/src/sys/netsmb/smb_conn.c:450: undefined reference to `iconv_open' smb_conn.o(.text+0xa84):/usr/src/sys/netsmb/smb_conn.c:454: undefined reference to `iconv_open' smb_conn.o(.text+0xb98): In function `smb_vc_free': /usr/src/sys/netsmb/smb_conn.c:489: undefined reference to `iconv_close' smb_conn.o(.text+0xbb0):/usr/src/sys/netsmb/smb_conn.c:491: undefined reference to `iconv_close' smb_conn.o(.text+0xbc8):/usr/src/sys/netsmb/smb_conn.c:493: undefined reference to `iconv_close' smb_conn.o(.text+0xbe0):/usr/src/sys/netsmb/smb_conn.c:495: undefined reference to `iconv_close' smb_iod.o(.text+0x550): In function `smb_iod_sendrq': /usr/src/sys/netsmb/smb_iod.c:249: undefined reference to `mb_fixhdr' smb_iod.o(.text+0x8a7): In function `smb_iod_recvall': /usr/src/sys/netsmb/smb_iod.c:346: undefined reference to `md_initm' smb_iod.o(.text+0x8be):/usr/src/sys/netsmb/smb_iod.c:349: undefined reference to `md_append_record' smb_rq.o(.text+0x129): In function `smb_rq_new': /usr/src/sys/netsmb/smb_rq.c:121: undefined reference to `mb_done' smb_rq.o(.text+0x132):/usr/src/sys/netsmb/smb_rq.c:122: undefined reference to `md_done' smb_rq.o(.text+0x138):/usr/src/sys/netsmb/smb_rq.c:123: undefined reference to `mb_init' smb_rq.o(.text+0x154):/usr/src/sys/netsmb/smb_rq.c:126: undefined reference to `mb_put_mem' smb_rq.o(.text+0x15e):/usr/src/sys/netsmb/smb_rq.c:127: undefined reference to `mb_put_uint8' smb_rq.o(.text+0x166):/usr/src/sys/netsmb/smb_rq.c:128: undefined reference to `mb_put_uint32le' smb_rq.o(.text+0x17a):/usr/src/sys/netsmb/smb_rq.c:129: undefined reference to `mb_put_uint8' smb_rq.o(.text+0x1a6):/usr/src/sys/netsmb/smb_rq.c:135: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1bd):/usr/src/sys/netsmb/smb_rq.c:137: undefined reference to `mb_put_mem' smb_rq.o(.text+0x1d4):/usr/src/sys/netsmb/smb_rq.c:140: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1dc):/usr/src/sys/netsmb/smb_rq.c:141: undefined reference to `mb_reserve' smb_rq.o(.text+0x1e7):/usr/src/sys/netsmb/smb_rq.c:142: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1f2):/usr/src/sys/netsmb/smb_rq.c:144: undefined reference to `mb_reserve' smb_rq.o(.text+0x1fd):/usr/src/sys/netsmb/smb_rq.c:145: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x205):/usr/src/sys/netsmb/smb_rq.c:146: undefined reference to `mb_reserve' smb_rq.o(.text+0x213):/usr/src/sys/netsmb/smb_rq.c:147: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x234): In function `smb_rq_done': /usr/src/sys/netsmb/smb_rq.c:154: undefined reference to `mb_done' smb_rq.o(.text+0x23d):/usr/src/sys/netsmb/smb_rq.c:155: undefined reference to `md_done' smb_rq.o(.text+0x422): In function `smb_rq_wstart': /usr/src/sys/netsmb/smb_rq.c:223: undefined reference to `mb_reserve' smb_rq.o(.text+0x496): In function `smb_rq_bstart': /usr/src/sys/netsmb/smb_rq.c:242: undefined reference to `mb_reserve' smb_rq.o(.text+0x645): In function `smb_rq_reply': /usr/src/sys/netsmb/smb_rq.c:338: undefined reference to `md_get_uint32' smb_rq.o(.text+0x65c):/usr/src/sys/netsmb/smb_rq.c:341: undefined reference to `md_get_uint8' smb_rq.o(.text+0x678):/usr/src/sys/netsmb/smb_rq.c:343: undefined reference to `md_get_uint32le' smb_rq.o(.text+0x68a):/usr/src/sys/netsmb/smb_rq.c:345: undefined reference to `md_get_uint8' smb_rq.o(.text+0x694):/usr/src/sys/netsmb/smb_rq.c:346: undefined reference to `md_get_uint8' smb_rq.o(.text+0x6a1):/usr/src/sys/netsmb/smb_rq.c:347: undefined reference to `md_get_uint16le' smb_rq.o(.text+0x6cf):/usr/src/sys/netsmb/smb_rq.c:351: undefined reference to `md_get_uint8' smb_rq.o(.text+0x6dc):/usr/src/sys/netsmb/smb_rq.c:352: undefined reference to `md_get_uint16le' smb_rq.o(.text+0x6e6):/usr/src/sys/netsmb/smb_rq.c:354: undefined reference to `md_get_uint32' smb_rq.o(.text+0x6f0):/usr/src/sys/netsmb/smb_rq.c:355: undefined reference to `md_get_uint32' smb_rq.o(.text+0x6fd):/usr/src/sys/netsmb/smb_rq.c:356: undefined reference to `md_get_uint32' smb_rq.o(.text+0x70a):/usr/src/sys/netsmb/smb_rq.c:358: undefined reference to `md_get_uint16le' smb_rq.o(.text+0x717):/usr/src/sys/netsmb/smb_rq.c:359: undefined reference to `md_get_uint16le' smb_rq.o(.text+0x724):/usr/src/sys/netsmb/smb_rq.c:360: undefined reference to `md_get_uint16le' smb_rq.o(.text+0x734):/usr/src/sys/netsmb/smb_rq.c:361: undefined reference to `md_get_uint16le' smb_rq.o(.text+0x820): In function `smb_t2_done': /usr/src/sys/netsmb/smb_rq.c:421: undefined reference to `mb_done' smb_rq.o(.text+0x829):/usr/src/sys/netsmb/smb_rq.c:422: undefined reference to `mb_done' smb_rq.o(.text+0x832):/usr/src/sys/netsmb/smb_rq.c:423: undefined reference to `md_done' smb_rq.o(.text+0x83b):/usr/src/sys/netsmb/smb_rq.c:424: undefined reference to `md_done' smb_rq.o(.text+0x8ac): In function `smb_t2_placedata': /usr/src/sys/netsmb/smb_rq.c:442: undefined reference to `md_initm' smb_rq.o(.text+0x937): In function `smb_t2_reply': /usr/src/sys/netsmb/smb_rq.c:466: undefined reference to `md_next_record' smb_rq.o(.text+0x9f6):/usr/src/sys/netsmb/smb_rq.c:480: undefined reference to `md_get_uint8' smb_rq.o(.text+0xa15):/usr/src/sys/netsmb/smb_rq.c:486: undefined reference to `md_get_uint16le' smb_rq.o(.text+0xa3b):/usr/src/sys/netsmb/smb_rq.c:490: undefined reference to `md_get_uint16le' smb_rq.o(.text+0xa58):/usr/src/sys/netsmb/smb_rq.c:493: undefined reference to `md_get_uint16le' smb_rq.o(.text+0xa6d):/usr/src/sys/netsmb/smb_rq.c:493: undefined reference to `md_get_uint16le' smb_rq.o(.text+0xa82):/usr/src/sys/netsmb/smb_rq.c:493: undefined reference to `md_get_uint16le' smb_rq.o(.text+0xa97):/usr/src/sys/netsmb/smb_rq.c:493: more undefined references to `md_get_uint16le' follow smb_rq.o(.text+0xb12): In function `smb_t2_reply': /usr/src/sys/netsmb/smb_rq.c:513: undefined reference to `md_get_uint8' smb_rq.o(.text+0xb1a):/usr/src/sys/netsmb/smb_rq.c:514: undefined reference to `md_get_uint8' smb_rq.o(.text+0xb3c):/usr/src/sys/netsmb/smb_rq.c:517: undefined reference to `md_get_uint16' smb_rq.o(.text+0xb54):/usr/src/sys/netsmb/smb_rq.c:518: undefined reference to `md_get_uint16le' smb_rq.o(.text+0xc19):/usr/src/sys/netsmb/smb_rq.c:544: undefined reference to `md_next_record' smb_rq.o(.text+0xca3): In function `smb_t2_request_int': /usr/src/sys/netsmb/smb_rq.c:570: undefined reference to `md_initm' smb_rq.o(.text+0xce2):/usr/src/sys/netsmb/smb_rq.c:578: undefined reference to `md_initm' smb_rq.o(.text+0xd73):/usr/src/sys/netsmb/smb_rq.c:596: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xd7e):/usr/src/sys/netsmb/smb_rq.c:597: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xd8c):/usr/src/sys/netsmb/smb_rq.c:598: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xd9a):/usr/src/sys/netsmb/smb_rq.c:599: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xdab):/usr/src/sys/netsmb/smb_rq.c:600: undefined reference to `mb_put_uint8' smb_rq.o(.text+0xdb3):/usr/src/sys/netsmb/smb_rq.c:601: undefined reference to `mb_put_uint8' smb_rq.o(.text+0xdbb):/usr/src/sys/netsmb/smb_rq.c:602: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xdc3):/usr/src/sys/netsmb/smb_rq.c:603: undefined reference to `mb_put_uint32le' smb_rq.o(.text+0xdce):/usr/src/sys/netsmb/smb_rq.c:604: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xdd4):/usr/src/sys/netsmb/smb_rq.c:605: undefined reference to `mb_fixhdr' smb_rq.o(.text+0xe7f):/usr/src/sys/netsmb/smb_rq.c:627: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xe89):/usr/src/sys/netsmb/smb_rq.c:628: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xe94):/usr/src/sys/netsmb/smb_rq.c:629: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xe9e):/usr/src/sys/netsmb/smb_rq.c:630: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xeae):/usr/src/sys/netsmb/smb_rq.c:631: undefined reference to `mb_put_uint8' smb_rq.o(.text+0xeb6):/usr/src/sys/netsmb/smb_rq.c:632: undefined reference to `mb_put_uint8' smb_rq.o(.text+0xed9):/usr/src/sys/netsmb/smb_rq.c:634: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0xf11):/usr/src/sys/netsmb/smb_rq.c:639: undefined reference to `mb_put_mem' smb_rq.o(.text+0xf1c):/usr/src/sys/netsmb/smb_rq.c:640: undefined reference to `mb_put_uint8' smb_rq.o(.text+0xf22):/usr/src/sys/netsmb/smb_rq.c:641: undefined reference to `mb_fixhdr' smb_rq.o(.text+0xf40):/usr/src/sys/netsmb/smb_rq.c:643: undefined reference to `mb_put_mem' smb_rq.o(.text+0xf50):/usr/src/sys/netsmb/smb_rq.c:644: undefined reference to `md_get_mbuf' smb_rq.o(.text+0xf66):/usr/src/sys/netsmb/smb_rq.c:648: undefined reference to `mb_put_mbuf' smb_rq.o(.text+0xf6f):/usr/src/sys/netsmb/smb_rq.c:650: undefined reference to `mb_fixhdr' smb_rq.o(.text+0xf8d):/usr/src/sys/netsmb/smb_rq.c:652: undefined reference to `mb_put_mem' smb_rq.o(.text+0xf9d):/usr/src/sys/netsmb/smb_rq.c:653: undefined reference to `md_get_mbuf' smb_rq.o(.text+0xfb3):/usr/src/sys/netsmb/smb_rq.c:656: undefined reference to `mb_put_mbuf' smb_rq.o(.text+0x104c):/usr/src/sys/netsmb/smb_rq.c:675: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1057):/usr/src/sys/netsmb/smb_rq.c:676: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x105d):/usr/src/sys/netsmb/smb_rq.c:677: undefined reference to `mb_fixhdr' smb_rq.o(.text+0x10df):/usr/src/sys/netsmb/smb_rq.c:698: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x10e9):/usr/src/sys/netsmb/smb_rq.c:699: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x10fa):/usr/src/sys/netsmb/smb_rq.c:700: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1105):/usr/src/sys/netsmb/smb_rq.c:701: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1112):/usr/src/sys/netsmb/smb_rq.c:702: undefined reference to `mb_put_uint16le' smb_rq.o(.text+0x1123):/usr/src/sys/netsmb/smb_rq.c:703: more undefined references to `mb_put_uint16le' follow smb_rq.o(.text+0x1164): In function `smb_t2_request_int': /usr/src/sys/netsmb/smb_rq.c:710: undefined reference to `mb_put_uint8' smb_rq.o(.text+0x116a):/usr/src/sys/netsmb/smb_rq.c:711: undefined reference to `mb_fixhdr' smb_rq.o(.text+0x1188):/usr/src/sys/netsmb/smb_rq.c:713: undefined reference to `mb_put_mem' smb_rq.o(.text+0x1198):/usr/src/sys/netsmb/smb_rq.c:714: undefined reference to `md_get_mbuf' smb_rq.o(.text+0x11ae):/usr/src/sys/netsmb/smb_rq.c:717: undefined reference to `mb_put_mbuf' smb_rq.o(.text+0x11b7):/usr/src/sys/netsmb/smb_rq.c:719: undefined reference to `mb_fixhdr' smb_rq.o(.text+0x11d5):/usr/src/sys/netsmb/smb_rq.c:721: undefined reference to `mb_put_mem' smb_rq.o(.text+0x11e5):/usr/src/sys/netsmb/smb_rq.c:722: undefined reference to `md_get_mbuf' smb_rq.o(.text+0x11fb):/usr/src/sys/netsmb/smb_rq.c:725: undefined reference to `mb_put_mbuf' smb_rq.o(.text+0x1264):/usr/src/sys/netsmb/smb_rq.c:737: undefined reference to `md_initm' smb_rq.o(.text+0x128a):/usr/src/sys/netsmb/smb_rq.c:742: undefined reference to `md_initm' smb_rq.o(.text+0x12c3):/usr/src/sys/netsmb/smb_rq.c:751: undefined reference to `md_done' smb_rq.o(.text+0x12cf):/usr/src/sys/netsmb/smb_rq.c:752: undefined reference to `md_done' smb_smb.o(.text+0x132): In function `smb_smb_negotiate': /usr/src/sys/netsmb/smb_smb.c:146: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x180):/usr/src/sys/netsmb/smb_smb.c:156: undefined reference to `md_get_uint8' smb_smb.o(.text+0x199):/usr/src/sys/netsmb/smb_smb.c:159: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x218):/usr/src/sys/netsmb/smb_smb.c:174: undefined reference to `md_get_uint8' smb_smb.o(.text+0x227):/usr/src/sys/netsmb/smb_smb.c:175: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x236):/usr/src/sys/netsmb/smb_smb.c:176: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x245):/usr/src/sys/netsmb/smb_smb.c:177: undefined reference to `md_get_uint32le' smb_smb.o(.text+0x257):/usr/src/sys/netsmb/smb_smb.c:178: undefined reference to `md_get_uint32le' smb_smb.o(.text+0x266):/usr/src/sys/netsmb/smb_smb.c:179: undefined reference to `md_get_uint32le' smb_smb.o(.text+0x275):/usr/src/sys/netsmb/smb_smb.c:180: undefined reference to `md_get_uint32le' smb_smb.o(.text+0x285):/usr/src/sys/netsmb/smb_smb.c:181: undefined reference to `md_get_mem' smb_smb.o(.text+0x297):/usr/src/sys/netsmb/smb_smb.c:182: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x2a3):/usr/src/sys/netsmb/smb_smb.c:183: undefined reference to `md_get_uint8' smb_smb.o(.text+0x2eb):/usr/src/sys/netsmb/smb_smb.c:189: undefined reference to `md_get_uint16' smb_smb.o(.text+0x30f):/usr/src/sys/netsmb/smb_smb.c:193: undefined reference to `md_get_mem' smb_smb.o(.text+0x328):/usr/src/sys/netsmb/smb_smb.c:194: undefined reference to `md_get_mem' smb_smb.o(.text+0x39d):/usr/src/sys/netsmb/smb_smb.c:212: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x3b3):/usr/src/sys/netsmb/smb_smb.c:214: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x3cb):/usr/src/sys/netsmb/smb_smb.c:216: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x3da):/usr/src/sys/netsmb/smb_smb.c:217: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x3e9):/usr/src/sys/netsmb/smb_smb.c:218: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x3f8):/usr/src/sys/netsmb/smb_smb.c:219: undefined reference to `md_get_uint32le' smb_smb.o(.text+0x411):/usr/src/sys/netsmb/smb_smb.c:221: undefined reference to `md_get_uint16' smb_smb.o(.text+0x41d):/usr/src/sys/netsmb/smb_smb.c:222: undefined reference to `md_get_uint16' smb_smb.o(.text+0x42c):/usr/src/sys/netsmb/smb_smb.c:223: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x438):/usr/src/sys/netsmb/smb_smb.c:224: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x44c):/usr/src/sys/netsmb/smb_smb.c:227: undefined reference to `md_get_uint16' smb_smb.o(.text+0x458):/usr/src/sys/netsmb/smb_smb.c:228: undefined reference to `md_get_uint16' smb_smb.o(.text+0x48e):/usr/src/sys/netsmb/smb_smb.c:233: undefined reference to `md_get_mem' smb_smb.o(.text+0x65b): In function `smb_smb_ssnsetup': /usr/src/sys/netsmb/smb_smb.c:306: undefined reference to `iconv_convstr' smb_smb.o(.text+0x69f):/usr/src/sys/netsmb/smb_smb.c:313: undefined reference to `iconv_convstr' smb_smb.o(.text+0x72b):/usr/src/sys/netsmb/smb_smb.c:325: undefined reference to `iconv_convstr' smb_smb.o(.text+0x7f7):/usr/src/sys/netsmb/smb_smb.c:368: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x7ff):/usr/src/sys/netsmb/smb_smb.c:369: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x807):/usr/src/sys/netsmb/smb_smb.c:370: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x815):/usr/src/sys/netsmb/smb_smb.c:371: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x826):/usr/src/sys/netsmb/smb_smb.c:372: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x834):/usr/src/sys/netsmb/smb_smb.c:373: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x840):/usr/src/sys/netsmb/smb_smb.c:374: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x84b):/usr/src/sys/netsmb/smb_smb.c:375: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x85f):/usr/src/sys/netsmb/smb_smb.c:377: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x87d):/usr/src/sys/netsmb/smb_smb.c:380: undefined reference to `mb_put_mem' smb_smb.o(.text+0x89f):/usr/src/sys/netsmb/smb_smb.c:383: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x8a7):/usr/src/sys/netsmb/smb_smb.c:384: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x8c0):/usr/src/sys/netsmb/smb_smb.c:385: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x8e1):/usr/src/sys/netsmb/smb_smb.c:389: undefined reference to `mb_put_mem' smb_smb.o(.text+0x8ef):/usr/src/sys/netsmb/smb_smb.c:390: undefined reference to `mb_put_mem' smb_smb.o(.text+0xa4a): In function `smb_smb_ssnclose': /usr/src/sys/netsmb/smb_smb.c:436: undefined reference to `mb_put_uint8' smb_smb.o(.text+0xa52):/usr/src/sys/netsmb/smb_smb.c:437: undefined reference to `mb_put_uint8' smb_smb.o(.text+0xa5a):/usr/src/sys/netsmb/smb_smb.c:438: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xbb5): In function `smb_smb_treeconnect': /usr/src/sys/netsmb/smb_smb.c:527: undefined reference to `iconv_convstr' smb_smb.o(.text+0xc56):/usr/src/sys/netsmb/smb_smb.c:546: undefined reference to `mb_put_uint8' smb_smb.o(.text+0xc5e):/usr/src/sys/netsmb/smb_smb.c:547: undefined reference to `mb_put_uint8' smb_smb.o(.text+0xc66):/usr/src/sys/netsmb/smb_smb.c:548: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xc6e):/usr/src/sys/netsmb/smb_smb.c:549: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xc7f):/usr/src/sys/netsmb/smb_smb.c:550: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xca4):/usr/src/sys/netsmb/smb_smb.c:553: undefined reference to `mb_put_mem' smb_smb.o(.text+0xecb): In function `smb_read': /usr/src/sys/netsmb/smb_smb.c:622: undefined reference to `mb_put_uint8' smb_smb.o(.text+0xed8):/usr/src/sys/netsmb/smb_smb.c:623: undefined reference to `mb_put_uint8' smb_smb.o(.text+0xee5):/usr/src/sys/netsmb/smb_smb.c:624: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xef8):/usr/src/sys/netsmb/smb_smb.c:625: undefined reference to `mb_put_mem' smb_smb.o(.text+0xf09):/usr/src/sys/netsmb/smb_smb.c:626: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0xf2e):/usr/src/sys/netsmb/smb_smb.c:628: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xf3d):/usr/src/sys/netsmb/smb_smb.c:629: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xf4d):/usr/src/sys/netsmb/smb_smb.c:630: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0xf5c):/usr/src/sys/netsmb/smb_smb.c:631: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0xf6d):/usr/src/sys/netsmb/smb_smb.c:632: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0xfc1):/usr/src/sys/netsmb/smb_smb.c:642: undefined reference to `md_get_uint8' smb_smb.o(.text+0xfe0):/usr/src/sys/netsmb/smb_smb.c:648: undefined reference to `md_get_uint8' smb_smb.o(.text+0xfee):/usr/src/sys/netsmb/smb_smb.c:650: undefined reference to `md_get_uint8' smb_smb.o(.text+0xffc):/usr/src/sys/netsmb/smb_smb.c:652: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x100c):/usr/src/sys/netsmb/smb_smb.c:654: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x101c):/usr/src/sys/netsmb/smb_smb.c:656: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x102c):/usr/src/sys/netsmb/smb_smb.c:658: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x103e):/usr/src/sys/netsmb/smb_smb.c:660: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x1050):/usr/src/sys/netsmb/smb_smb.c:662: more undefined references to `md_get_uint16le' follow smb_smb.o(.text+0x1086): In function `smb_read': /usr/src/sys/netsmb/smb_smb.c:667: undefined reference to `md_get_mem' smb_smb.o(.text+0x1096):/usr/src/sys/netsmb/smb_smb.c:669: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x10b8):/usr/src/sys/netsmb/smb_smb.c:672: undefined reference to `md_get_mem' smb_smb.o(.text+0x10d8):/usr/src/sys/netsmb/smb_smb.c:677: undefined reference to `md_get_uio' smb_smb.o(.text+0x1161):/usr/src/sys/netsmb/smb_smb.c:766: undefined reference to `mb_put_mem' smb_smb.o(.text+0x1170):/usr/src/sys/netsmb/smb_smb.c:767: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x1181):/usr/src/sys/netsmb/smb_smb.c:768: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x11a1): In function `smb_read': /usr/src/sys/sys/libkern.h:56: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x11f5): In function `smb_read': /usr/src/sys/netsmb/smb_smb.c:778: undefined reference to `md_get_uint8' smb_smb.o(.text+0x120e):/usr/src/sys/netsmb/smb_smb.c:783: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x121f):/usr/src/sys/netsmb/smb_smb.c:784: undefined reference to `md_get_mem' smb_smb.o(.text+0x122e):/usr/src/sys/netsmb/smb_smb.c:785: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x123b):/usr/src/sys/netsmb/smb_smb.c:786: undefined reference to `md_get_uint8' smb_smb.o(.text+0x124a):/usr/src/sys/netsmb/smb_smb.c:787: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x126d):/usr/src/sys/netsmb/smb_smb.c:792: undefined reference to `md_get_uio' smb_smb.o(.text+0x1367): In function `smb_write': /usr/src/sys/netsmb/smb_smb.c:702: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x1374):/usr/src/sys/netsmb/smb_smb.c:703: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x1381):/usr/src/sys/netsmb/smb_smb.c:704: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x1394):/usr/src/sys/netsmb/smb_smb.c:705: undefined reference to `mb_put_mem' smb_smb.o(.text+0x13a5):/usr/src/sys/netsmb/smb_smb.c:706: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x13b2):/usr/src/sys/netsmb/smb_smb.c:707: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x13bf):/usr/src/sys/netsmb/smb_smb.c:708: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x13cc):/usr/src/sys/netsmb/smb_smb.c:709: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x13f3):/usr/src/sys/netsmb/smb_smb.c:711: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x1403):/usr/src/sys/netsmb/smb_smb.c:712: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x1410):/usr/src/sys/netsmb/smb_smb.c:713: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x1421):/usr/src/sys/netsmb/smb_smb.c:714: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x1446):/usr/src/sys/netsmb/smb_smb.c:718: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x1457):/usr/src/sys/netsmb/smb_smb.c:719: undefined reference to `mb_put_uio' smb_smb.o(.text+0x149b):/usr/src/sys/netsmb/smb_smb.c:727: undefined reference to `md_get_uint8' smb_smb.o(.text+0x14b4):/usr/src/sys/netsmb/smb_smb.c:732: undefined reference to `md_get_uint8' smb_smb.o(.text+0x14c1):/usr/src/sys/netsmb/smb_smb.c:733: undefined reference to `md_get_uint8' smb_smb.o(.text+0x14ce):/usr/src/sys/netsmb/smb_smb.c:734: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x14dd):/usr/src/sys/netsmb/smb_smb.c:735: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x156d):/usr/src/sys/netsmb/smb_smb.c:846: undefined reference to `mb_put_mem' smb_smb.o(.text+0x157d):/usr/src/sys/netsmb/smb_smb.c:847: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x158e):/usr/src/sys/netsmb/smb_smb.c:848: undefined reference to `mb_put_uint32le' smb_smb.o(.text+0x15ae): In function `smb_write': /usr/src/sys/sys/libkern.h:56: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x15d3): In function `smb_write': /usr/src/sys/netsmb/smb_smb.c:852: undefined reference to `mb_put_uint8' smb_smb.o(.text+0x15e3):/usr/src/sys/netsmb/smb_smb.c:853: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x15f6):/usr/src/sys/netsmb/smb_smb.c:855: undefined reference to `mb_put_uio' smb_smb.o(.text+0x1636):/usr/src/sys/netsmb/smb_smb.c:863: undefined reference to `md_get_uint8' smb_smb.o(.text+0x1651):/usr/src/sys/netsmb/smb_smb.c:868: undefined reference to `md_get_uint16le' smb_smb.o(.text+0x16dd): In function `smb_smb_echo': /usr/src/sys/netsmb/smb_smb.c:920: undefined reference to `mb_put_uint16le' smb_smb.o(.text+0x16f5):/usr/src/sys/netsmb/smb_smb.c:923: undefined reference to `mb_put_uint32le' smb_subr.o(.text+0x63f): In function `smb_copy_iconv': /usr/src/sys/netsmb/smb_subr.c:330: undefined reference to `iconv_conv' smb_subr.o(.text+0x672): In function `smb_put_dmem': /usr/src/sys/netsmb/smb_subr.c:342: undefined reference to `mb_put_mem' smb_subr.o(.text+0x688):/usr/src/sys/netsmb/smb_subr.c:346: undefined reference to `mb_put_mem' smb_subr.o(.text+0x6c2): In function `smb_put_dstring': /usr/src/sys/netsmb/smb_subr.c:358: undefined reference to `mb_put_uint8' smb_subr.o(.text+0x6fe): In function `smb_put_asunistring': /usr/src/sys/netsmb/smb_subr.c:370: undefined reference to `iconv_convmem' smb_subr.o(.text+0x709):/usr/src/sys/netsmb/smb_subr.c:371: undefined reference to `mb_put_uint16le' smb_subr.o(.text+0x71d):/usr/src/sys/netsmb/smb_subr.c:375: undefined reference to `mb_put_uint16le' smb_trantcp.o(.text+0x3f8): In function `nb_put_name': /usr/src/sys/netsmb/smb_trantcp.c:218: undefined reference to `mb_put_mem' smb_trantcp.o(.text+0x705): In function `nbssn_rq_request': /usr/src/sys/netsmb/smb_trantcp.c:295: undefined reference to `mb_init' smb_trantcp.o(.text+0x71a):/usr/src/sys/netsmb/smb_trantcp.c:298: undefined reference to `mb_put_uint32le' smb_trantcp.o(.text+0x732):/usr/src/sys/netsmb/smb_trantcp.c:301: undefined reference to `mb_fixhdr' smb_trantcp.o(.text+0x777):/usr/src/sys/netsmb/smb_trantcp.c:306: undefined reference to `mb_detach' smb_trantcp.o(.text+0x77d):/usr/src/sys/netsmb/smb_trantcp.c:307: undefined reference to `mb_done' smb_trantcp.o(.text+0x807):/usr/src/sys/netsmb/smb_trantcp.c:327: undefined reference to `md_initm' smb_trantcp.o(.text+0x84f):/usr/src/sys/netsmb/smb_trantcp.c:343: undefined reference to `md_get_mem' smb_trantcp.o(.text+0x85c):/usr/src/sys/netsmb/smb_trantcp.c:344: undefined reference to `md_get_uint16' smb_trantcp.o(.text+0x8b9):/usr/src/sys/netsmb/smb_trantcp.c:357: undefined reference to `md_done' smb_usr.o(.text+0x3a7): In function `smb_usr_simplerequest': /usr/src/sys/netsmb/smb_usr.c:245: undefined reference to `mb_put_mem' smb_usr.o(.text+0x3d5):/usr/src/sys/netsmb/smb_usr.c:250: undefined reference to `mb_put_mem' smb_usr.o(.text+0x416):/usr/src/sys/netsmb/smb_usr.c:258: undefined reference to `md_get_uint8' smb_usr.o(.text+0x44e):/usr/src/sys/netsmb/smb_usr.c:265: undefined reference to `md_get_mem' smb_usr.o(.text+0x469):/usr/src/sys/netsmb/smb_usr.c:268: undefined reference to `md_get_uint16le' smb_usr.o(.text+0x4ad):/usr/src/sys/netsmb/smb_usr.c:274: undefined reference to `md_get_mem' smb_usr.o(.text+0x4fe): In function `smb_cpdatain': /usr/src/sys/netsmb/smb_usr.c:291: undefined reference to `mb_init' smb_usr.o(.text+0x513):/usr/src/sys/netsmb/smb_usr.c:294: undefined reference to `mb_put_mem' smb_usr.o(.text+0x63a): In function `smb_usr_t2request': /usr/src/sys/netsmb/smb_usr.c:340: undefined reference to `md_get_mem' smb_usr.o(.text+0x689):/usr/src/sys/netsmb/smb_usr.c:353: undefined reference to `md_get_mem' *** Error code 1 Stop in /usr/obj/usr/src/sys/IKO. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.
Per olof Ljungmark
2006-Feb-18 00:51 UTC
smb_ntencrypt: password encryption is not available #2
Per olof Ljungmark wrote:> Well, > options NETSMBCRYPTO > options NETSMB > did not work out very well: > Do I need anything else here? > > > smb_usr.o(.text+0x4ad):/usr/src/sys/netsmb/smb_usr.c:274: undefined > reference to `md_get_mem' > smb_usr.o(.text+0x4fe): In function `smb_cpdatain': > /usr/src/sys/netsmb/smb_usr.c:291: undefined reference to `mb_init' > smb_usr.o(.text+0x513):/usr/src/sys/netsmb/smb_usr.c:294: undefined > reference to `mb_put_mem' > smb_usr.o(.text+0x63a): In function `smb_usr_t2request': > /usr/src/sys/netsmb/smb_usr.c:340: undefined reference to `md_get_mem' > smb_usr.o(.text+0x689):/usr/src/sys/netsmb/smb_usr.c:353: undefined > reference to `md_get_mem' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/IKO. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > _______________________________________________apparently the answer was to use options NETSMBCRYPTO only.