FreeBSD 6.3 + Netware + options NCP = Fehler beim kompilen ?

11/02/2008 - 12:01 von Jaromir Prinzler | Report spam
Hallo !

Ich sitze hier immer noch beim installieren von FreeBSD 6.3.
Nun versuche ich gerade die Volumes in's System zu mounten. Dazu benutzte
ich unter Linux
folgende Kommandos :

ncpmount -f 777 -d 777 -m -p cp437 -S PSERVER -U <user> -P <password> -V
DATEN2 /mnt
mount_nwfs -f 777 -d 777 -m -p cp437 -S PSERVER -U <user> -P
<password> -V DATEN2 /mnt

Das ging prima !

Ein Versuch unter FreeBSD bringt mir folgende Meldung:

"Kernel module ncp is not loaded."

Ok! Unter BSD muss ich nun wohl den Kernel mit der Option "options NCP" neu
übersetzen damit ich auf
die Netware 5.1 Server gelange. Diese arbeiten übrigens mit IP und nicht mit
IPX.

Leider bricht der Übersetzungsvorgang mit einer Fehlermeldung ab ?
Irgendetwas scheint ihm zu fehlen ? Aber was ?

MAKE=make sh /usr/src/sys/conf/newvers.sh...
undefined reference to `md_get_mem'

Hat jemand von Euch eine Idee ?

Ewiger Dank sei Ihm sicher !!!

...Jaro



SNIP



MAKE=make sh /usr/src/sys/conf/newvers.sh SPEEDY
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/dev/ath -I/usr/src/sys/contrib/ngatm
-I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit€00 --param
inline-unit-growth0 --param
arge-function-growth00 -mno-align-long-strings -mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c
linking kernel.debug
ncp_mod.o(.text+0x1fe): In function `sncp_request':
/usr/src/sys/netncp/ncp_mod.c:156: undefined reference to `mb_put_mem'
ncp_mod.o(.text+0x23c):/usr/src/sys/netncp/ncp_mod.c:164: undefined
reference to `md_get_mem'
ncp_mod.o(.text+0xb13): In function `ncp_conn_frag_rq':
/usr/src/sys/netncp/ncp_mod.c:449: undefined reference to `mb_put_mem'
ncp_mod.o(.text+0xba8):/usr/src/sys/netncp/ncp_mod.c:464: undefined
reference to `md_get_mem'
ncp_ncp.o(.text+0x337): In function `ncp_negotiate_buffersize':
/usr/src/sys/netncp/ncp_ncp.c:170: undefined reference to `mb_put_uint16be'
ncp_ncp.o(.text+0x358):/usr/src/sys/netncp/ncp_ncp.c:174: undefined
reference to `md_get_uint16be' ncp_ncp.o(.text+0x3c3): In function
`ncp_negotiate_size_and_options': /usr/src/sys/netncp/ncp_ncp.c:191:
undefined reference to `mb_put_uint16be'
ncp_ncp.o(.text+0x3d4):/usr/src/sys/netncp/ncp_ncp.c:192: undefined
reference to `mb_put_uint8'
ncp_ncp.o(.text+0x3ff):/usr/src/sys/netncp/ncp_ncp.c:197: undefined
reference to `md_get_uint16be'
ncp_ncp.o(.text+0x42a):/usr/src/sys/netncp/ncp_ncp.c:199: undefined
reference to `md_get_uint16be'
ncp_ncp.o(.text+0x439):/usr/src/sys/netncp/ncp_ncp.c:200: undefined
reference to `md_get_uint8'
ncp_ncp.o(.text+0x60b): In function `ncp_get_bindery_object_id':
/usr/src/sys/netncp/ncp_ncp.c:289: undefined reference to `mb_put_uint16be'
ncp_ncp.o(.text+0x641):/usr/src/sys/netncp/ncp_ncp.c:295: undefined
reference to `md_get_uint32be'
ncp_ncp.o(.text+0x651):/usr/src/sys/netncp/ncp_ncp.c:296: undefined
reference to `md_get_uint16be'
ncp_ncp.o(.text+0x665):/usr/src/sys/netncp/ncp_ncp.c:297: undefined
reference to `md_get_mem'
ncp_ncp.o(.text+0x6df): In function `ncp_get_encryption_key':
/usr/src/sys/netncp/ncp_ncp.c:318: undefined reference to `md_get_mem'
ncp_ncp.o(.text+0x7fd): In function `ncp_login_encrypted':
/usr/src/sys/netncp/ncp_ncp.c:369: undefined reference to `mb_put_mem'
ncp_ncp.o(.text+0x808):/usr/src/sys/netncp/ncp_ncp.c:370: undefined
reference to `mb_put_uint16be'
ncp_ncp.o(.text+0x8ae): In function `ncp_login_unencrypted':
/usr/src/sys/netncp/ncp_ncp.c:394: undefined reference to `mb_put_uint16be'
ncp_ncp.o(.text+0x99b): In function `ncp_read':
/usr/src/sys/netncp/ncp_ncp.c:426: undefined reference to `mb_put_uint8'
ncp_ncp.o(.text+0x9a8):/usr/src/sys/netncp/ncp_ncp.c:427: undefined
reference to `mb_put_mem'
ncp_ncp.o(.text+0x9b4):/usr/src/sys/netncp/ncp_ncp.c:428: undefined
reference to `mb_put_uint32be'
ncp_ncp.o(.text+0x9c1):/usr/src/sys/netncp/ncp_ncp.c:429: undefined
reference to `mb_put_uint16be'
ncp_ncp.o(.text+0x9ec):/usr/src/sys/netncp/ncp_ncp.c:434: undefined
reference to `md_get_uint16be'
ncp_ncp.o(.text+0xa0e):/usr/src/sys/netncp/ncp_ncp.c:436: undefined
reference to `md_get_mem'
ncp_ncp.o(.text+0xa28):/usr/src/sys/netncp/ncp_ncp.c:437: undefined
reference to `md_get_uio'
ncp_ncp.o(.text+0xb52): In function `ncp_write':
/usr/src/sys/netncp/ncp_ncp.c:476: undefined reference to `mb_put_uint8'
ncp_ncp.o(.text+0xb5f):/usr/src/sys/netncp/ncp_ncp.c:477: undefined
reference to `mb_put_mem'
ncp_ncp.o(.text+0xb6b):/usr/src/sys/netncp/ncp_ncp.c:478: undefined
reference to `mb_put_uint32be'
ncp_ncp.o(.text+0xb78):/usr/src/sys/netncp/ncp_ncp.c:479: undefined
reference to `mb_put_uint16be'
ncp_ncp.o(.text+0xb82):/usr/src/sys/netncp/ncp_ncp.c:480: undefined
reference to `mb_put_uio'
ncp_rq.o(.text+0xb1): In function `ncp_rq_alloc_subfn':
/usr/src/sys/netncp/ncp_rq.c:96: undefined reference to `mb_reserve'
ncp_rq.o(.text+0xc1):/usr/src/sys/netncp/ncp_rq.c:97: undefined reference to
`mb_put_uint8'
ncp_rq.o(.text+0x11f): In function `ncp_rq_init_any':
/usr/src/sys/netncp/ncp_rq.c:120: undefined reference to `mb_init'
ncp_rq.o(.text+0x13c):/usr/src/sys/netncp/ncp_rq.c:124: undefined reference
to `mb_reserve'
ncp_rq.o(.text+0x154):/usr/src/sys/netncp/ncp_rq.c:129: undefined reference
to `mb_reserve'
ncp_rq.o(.text+0x190): In function `ncp_rq_done':
/usr/src/sys/netncp/ncp_rq.c:142: undefined reference to `mb_done'
ncp_rq.o(.text+0x199):/usr/src/sys/netncp/ncp_rq.c:143: undefined reference
to `md_done'
ncp_rq.o(.text+0x1ed): In function `ncp_rq_pathstring':
/usr/src/sys/netncp/ncp_rq.c:166: undefined reference to `mb_put_uint8'
ncp_rq.o(.text+0x208):/usr/src/sys/netncp/ncp_rq.c:169: undefined reference
to `mb_put_mem'
ncp_rq.o(.text+0x240): In function `ncp_rq_pstring':
/usr/src/sys/netncp/ncp_rq.c:180: undefined reference to `mb_put_uint8'
ncp_rq.o(.text+0x256):/usr/src/sys/netncp/ncp_rq.c:183: undefined reference
to `mb_put_mem'
ncp_rq.o(.text+0x27e): In function `ncp_rq_dbase_path':
/usr/src/sys/netncp/ncp_rq.c:193: undefined reference to `mb_put_uint8'
ncp_rq.o(.text+0x28c):/usr/src/sys/netncp/ncp_rq.c:194: undefined reference
to `mb_put_mem'
ncp_rq.o(.text+0x294):/usr/src/sys/netncp/ncp_rq.c:195: undefined reference
to `mb_put_uint8'
ncp_rq.o(.text+0x2b8):/usr/src/sys/netncp/ncp_rq.c:199: undefined reference
to `mb_put_uint8'
ncp_rq.o(.text+0x2d2):/usr/src/sys/netncp/ncp_rq.c:202: undefined reference
to `mb_put_uint8'
ncp_rq.o(.text+0x2dc):/usr/src/sys/netncp/ncp_rq.c:203: undefined reference
to `mb_put_mem'
ncp_rq.o(.text+0x2f0):/usr/src/sys/netncp/ncp_rq.c:207: undefined reference
to `mb_put_uint8'
ncp_rq.o(.text+0x30c):/usr/src/sys/netncp/ncp_rq.c:211: undefined reference
to `mb_put_uint8'
ncp_rq.o(.text+0x314):/usr/src/sys/netncp/ncp_rq.c:212: undefined reference
to `mb_put_uint8'
ncp_rq.o(.text+0x399): In function `ncp_sign_packet':
/usr/src/sys/netncp/ncp_rq.c:233: undefined reference to `mb_put_mem'
ncp_rq.o(.text+0x45a): In function `ncp_request_int':
/usr/src/sys/netncp/ncp_rq.c:273: undefined reference to `mb_fixhdr'
ncp_rq.o(.text+0x712):/usr/src/sys/netncp/ncp_rq.c:399: undefined reference
to `md_initm'
ncp_rq.o(.text+0x75f):/usr/src/sys/netncp/ncp_rq.c:410: undefined reference
to `md_get_mem'
*** Error code 1

Stop in /usr/obj/usr/src/sys/SPEEDY.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


SNIP
 

Lesen sie die antworten

#1 Jaromir Prinzler
11/02/2008 - 16:03 | Warnen spam
Hallo nochmal !

Also übersetzen kann ich das Modul jetzt, es fehlten noch weitere Optionen
in der
Kernel Konfig Datei...

SNIP


options NWFS # Netware and more...
options NCP
options NETSMB
options NETSMBCRYPTO
options LIBMCHAIN
options LIBICONV
options IPX

options ETHER_II
options ETHER_8023
options ETHER_8022
options ETHER_SNAP
SNIP

Ähnliche fragen