Build GENERIC with IPX support

Marek Salwerowicz marek_sal at wp.pl
Sat May 11 23:14:22 UTC 2013


Hi list,

I am using 9.1-RELEASE amd64 FreeBSD
I order to connect my FreeBSD box to NetWare servers, I am trying to 
recompile the kernel.

To GENERIC config I've added following options:

options         IPX
options         NCP
options         NWFS


unfortunately, during buildkernel process I got an error:

nwfs_subr.o: In function `ncp_lookup_volume':
/usr/src/sys/fs/nwfs/nwfs_subr.c:499: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:500: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:501: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:502: undefined reference to 
`mb_put_uint16le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:504: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:505: undefined reference to 
`mb_put_uint32be'
/usr/src/sys/fs/nwfs/nwfs_subr.c:506: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:507: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:512: undefined reference to 
`md_get_uint32le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:513: undefined reference to 
`md_get_uint32le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:514: undefined reference to `md_get_uint8'
nwfs_subr.o: In function `ncp_get_namespaces':
/usr/src/sys/fs/nwfs/nwfs_subr.c:237: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:238: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:239: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:240: undefined reference to 
`mb_put_uint16le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:241: undefined reference to 
`mb_put_uint32le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:242: undefined reference to 
`mb_put_uint32le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:247: undefined reference to 
`mb_put_uint16le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:255: undefined reference to 
`md_get_uint32le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:256: undefined reference to `md_get_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:257: undefined reference to `md_get_uint8'
nwfs_subr.o: In function `ncp_setattr':
/usr/src/sys/fs/nwfs/nwfs_subr.c:393: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:394: undefined reference to `mb_put_mem'
/usr/src/sys/fs/nwfs/nwfs_subr.c:395: undefined reference to 
`mb_put_uint32be'
/usr/src/sys/fs/nwfs/nwfs_subr.c:396: undefined reference to 
`mb_put_uint16be'
nwfs_subr.o: In function `ncp_search_for_file_or_subdir':
/usr/src/sys/fs/nwfs/nwfs_subr.c:110: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:111: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:112: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:113: undefined reference to 
`mb_put_uint16le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:114: undefined reference to 
`mb_put_uint32le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:115: undefined reference to `mb_put_mem'
/usr/src/sys/fs/nwfs/nwfs_subr.c:116: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:117: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:118: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:123: undefined reference to `md_get_mem'
/usr/src/sys/fs/nwfs/nwfs_subr.c:124: undefined reference to `md_get_uint8'
nwfs_subr.o: In function `ncp_obtain_info':
/usr/src/sys/fs/nwfs/nwfs_subr.c:152: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:153: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:154: undefined reference to `mb_put_uint8'
/usr/src/sys/fs/nwfs/nwfs_subr.c:155: undefined reference to 
`mb_put_uint16le'
/usr/src/sys/fs/nwfs/nwfs_subr.c:156: undefined reference to 
`mb_put_uint32le'
ncp_mod.o: In function `sncp_request':
/usr/src/sys/netncp/ncp_mod.c:157: undefined reference to `mb_put_mem'
/usr/src/sys/netncp/ncp_mod.c:165: undefined reference to `md_get_mem'
ncp_mod.o: In function `ncp_conn_frag_rq':
/usr/src/sys/netncp/ncp_mod.c:450: undefined reference to `mb_put_mem'
/usr/src/sys/netncp/ncp_mod.c:465: undefined reference to `md_get_mem'
ncp_ncp.o: In function `ncp_negotiate_buffersize':
/usr/src/sys/netncp/ncp_ncp.c:164: undefined reference to `mb_put_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:168: undefined reference to `md_get_uint16be'
ncp_ncp.o: In function `ncp_get_encryption_key':
/usr/src/sys/netncp/ncp_ncp.c:312: undefined reference to `md_get_mem'
ncp_ncp.o: In function `ncp_login_unencrypted':
/usr/src/sys/netncp/ncp_ncp.c:388: undefined reference to `mb_put_uint16be'
ncp_ncp.o: In function `ncp_login_encrypted':
/usr/src/sys/netncp/ncp_ncp.c:363: undefined reference to `mb_put_mem'
/usr/src/sys/netncp/ncp_ncp.c:364: undefined reference to `mb_put_uint16be'
ncp_ncp.o: In function `ncp_get_bindery_object_id':
/usr/src/sys/netncp/ncp_ncp.c:283: undefined reference to `mb_put_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:289: undefined reference to `md_get_uint32be'
/usr/src/sys/netncp/ncp_ncp.c:290: undefined reference to `md_get_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:291: undefined reference to `md_get_mem'
ncp_ncp.o: In function `ncp_negotiate_size_and_options':
/usr/src/sys/netncp/ncp_ncp.c:185: undefined reference to `mb_put_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:186: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_ncp.c:191: undefined reference to `md_get_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:193: undefined reference to `md_get_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:194: undefined reference to `md_get_uint8'
ncp_ncp.o: In function `ncp_write':
/usr/src/sys/netncp/ncp_ncp.c:470: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_ncp.c:471: undefined reference to `mb_put_mem'
/usr/src/sys/netncp/ncp_ncp.c:472: undefined reference to `mb_put_uint32be'
/usr/src/sys/netncp/ncp_ncp.c:473: undefined reference to `mb_put_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:474: undefined reference to `mb_put_uio'
ncp_ncp.o: In function `ncp_read':
/usr/src/sys/netncp/ncp_ncp.c:431: undefined reference to `md_get_uio'
/usr/src/sys/netncp/ncp_ncp.c:420: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_ncp.c:421: undefined reference to `mb_put_mem'
/usr/src/sys/netncp/ncp_ncp.c:422: undefined reference to `mb_put_uint32be'
/usr/src/sys/netncp/ncp_ncp.c:423: undefined reference to `mb_put_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:428: undefined reference to `md_get_uint16be'
/usr/src/sys/netncp/ncp_ncp.c:430: undefined reference to `md_get_mem'
ncp_rq.o: In function `ncp_request_int':
/usr/src/sys/netncp/ncp_rq.c:281: undefined reference to `mb_fixhdr'
/usr/src/sys/netncp/ncp_rq.c:409: undefined reference to `md_initm'
/usr/src/sys/netncp/ncp_rq.c:420: undefined reference to `md_get_mem'
ncp_rq.o: In function `ncp_sign_packet':
/usr/src/sys/netncp/ncp_rq.c:239: undefined reference to `mb_put_mem'
ncp_rq.o: In function `ncp_rq_pathstring':
/usr/src/sys/netncp/ncp_rq.c:172: undefined reference to `mb_put_uint8'
ncp_rq.o: In function `ncp_rq_dbase_path':
/usr/src/sys/netncp/ncp_rq.c:199: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_rq.c:200: undefined reference to `mb_put_mem'
/usr/src/sys/netncp/ncp_rq.c:201: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_rq.c:217: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_rq.c:218: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_rq.c:213: undefined reference to `mb_put_uint8'
/usr/src/sys/netncp/ncp_rq.c:205: undefined reference to `mb_put_uint8'
ncp_rq.o:/usr/src/sys/netncp/ncp_rq.c:208: more undefined references to 
`mb_put_uint8' follow
ncp_rq.o: In function `ncp_rq_dbase_path':
/usr/src/sys/netncp/ncp_rq.c:209: undefined reference to `mb_put_mem'
ncp_rq.o: In function `ncp_rq_pstring':
/usr/src/sys/netncp/ncp_rq.c:186: undefined reference to `mb_put_uint8'
ncp_rq.o: In function `ncp_rq_done':
/usr/src/sys/netncp/ncp_rq.c:138: undefined reference to `mb_done'
/usr/src/sys/netncp/ncp_rq.c:139: undefined reference to `md_done'
ncp_rq.o: In function `ncp_rq_init_any':
/usr/src/sys/netncp/ncp_rq.c:116: undefined reference to `mb_init'
/usr/src/sys/netncp/ncp_rq.c:125: undefined reference to `mb_reserve'
/usr/src/sys/netncp/ncp_rq.c:120: undefined reference to `mb_reserve'
ncp_rq.o: In function `ncp_rq_alloc_subfn':
/usr/src/sys/netncp/ncp_rq.c:92: undefined reference to `mb_reserve'
/usr/src/sys/netncp/ncp_rq.c:93: undefined reference to `mb_put_uint8'
ncp_rq.o: In function `ncp_rq_pathstring':
/usr/src/sys/netncp/ncp_rq.c:175: undefined reference to `mb_put_mem'
ncp_rq.o: In function `ncp_rq_pstring':
/usr/src/sys/netncp/ncp_rq.c:189: undefined reference to `mb_put_mem'
*** [kernel.debug] Error code 1

Stop in /tmp/obj/usr/src/sys/GENERICIPX.
*** [buildkernel] Error code 1

Stop in /usr/src.
*** [buildkernel] Error code 1

Stop in /usr/src.
641.92s user 284.90s system 102% cpu 15:03.37s total
marek at bsd-gen:/usr/src%


Does anyone still uses IPX and could help me compiling the kernel ?

Regards,
-- 
Marek Salwerowicz


More information about the freebsd-stable mailing list