Hello.

I'm trying build kernel with ncp protocol and can't do it.

in kernel:
options         NCP
options         IPX
device          ef                      # Multiple ethernet frames support
options         ETHER_II                # enable Ethernet_II frame
options         ETHER_8023              # enable Ethernet_802.3 (Novell) frame



cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
-nostdinc -I-  -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica 
-I../../../contrib/ipfilter -I../../../../include  -D_KERNEL -ffreestanding -include 
opt_global.h -elf  -mpreferred-stack-boundary=2  ../../../netncp/ncp_conn.c
../../../netncp/ncp_conn.c:97: conflicting types for `ncp_conn_locklist'
../../../netncp/ncp_conn.h:214: previous declaration of `ncp_conn_locklist'
../../../netncp/ncp_conn.c: In function `ncp_conn_locklist':
../../../netncp/ncp_conn.c:98: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:103: conflicting types for `ncp_conn_unlocklist'
../../../netncp/ncp_conn.h:215: previous declaration of `ncp_conn_unlocklist'
../../../netncp/ncp_conn.c: In function `ncp_conn_unlocklist':
../../../netncp/ncp_conn.c:104: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: In function `ncp_conn_lock_any':
../../../netncp/ncp_conn.c:128: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:133: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:138: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:148: conflicting types for `ncp_conn_lock'
../../../netncp/ncp_conn.h:201: previous declaration of `ncp_conn_lock'
../../../netncp/ncp_conn.c:181: conflicting types for `ncp_conn_unlock'
../../../netncp/ncp_conn.h:202: previous declaration of `ncp_conn_unlock'
../../../netncp/ncp_conn.c: In function `ncp_conn_unlock':
../../../netncp/ncp_conn.c:186: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:190: conflicting types for `ncp_conn_assert_locked'
../../../netncp/ncp_conn.h:203: previous declaration of `ncp_conn_assert_locked'
../../../netncp/ncp_conn.c:214: conflicting types for `ncp_conn_alloc'
../../../netncp/ncp_conn.h:198: previous declaration of `ncp_conn_alloc'
../../../netncp/ncp_conn.c: In function `ncp_conn_free':
../../../netncp/ncp_conn.c:298: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:353: conflicting types for `ncp_conn_login'
../../../netncp/ncp_conn.h:224: previous declaration of `ncp_conn_login'
../../../netncp/ncp_conn.c:380: conflicting types for `ncp_conn_getbyref'
../../../netncp/ncp_conn.h:210: previous declaration of `ncp_conn_getbyref'
../../../netncp/ncp_conn.c:400: conflicting types for `ncp_conn_getattached'
../../../netncp/ncp_conn.h:219: previous declaration of `ncp_conn_getattached'
../../../netncp/ncp_conn.c:440: conflicting types for `ncp_conn_getbyli'
../../../netncp/ncp_conn.h:212: previous declaration of `ncp_conn_getbyli'
../../../netncp/ncp_conn.c:511: conflicting types for `ncp_conn_gethandle'
../../../netncp/ncp_conn.h:216: previous declaration of `ncp_conn_gethandle'
../../../netncp/ncp_conn.c: In function `ncp_conn_gethandle':
../../../netncp/ncp_conn.c:514: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:521: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:533: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:540: conflicting types for `ncp_conn_puthandle'
../../../netncp/ncp_conn.h:217: previous declaration of `ncp_conn_puthandle'
../../../netncp/ncp_conn.c: In function `ncp_conn_puthandle':
../../../netncp/ncp_conn.c:543: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:554: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:561: conflicting types for `ncp_conn_findhandle'
../../../netncp/ncp_conn.h:218: previous declaration of `ncp_conn_findhandle'
../../../netncp/ncp_conn.c: In function `ncp_conn_findhandle':
../../../netncp/ncp_conn.c:564: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:567: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: At top level:
../../../netncp/ncp_conn.c:578: conflicting types for `ncp_conn_putprochandles'
../../../netncp/ncp_conn.h:220: previous declaration of `ncp_conn_putprochandles'
../../../netncp/ncp_conn.c: In function `ncp_conn_putprochandles':
../../../netncp/ncp_conn.c:582: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c:591: warning: passing arg 4 of `lockmgr' from incompatible 
pointer type
../../../netncp/ncp_conn.c: In function `ncp_sysctl_connstat':
../../../netncp/ncp_conn.c:636: structure has no member named `p'
../../../netncp/ncp_conn.c:652: structure has no member named `p'
*** Error code 1

Stop in /usr/src/sys/i386/compile/freebsd.

--
Best Regards
Kaltashkin Eugene
ZHECKA-RIPN



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to