From owner-freebsd-current Fri Dec 7 1:13:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.klondike.ru (ns.klondike.ru [195.170.237.2]) by hub.freebsd.org (Postfix) with ESMTP id B157D37B405 for ; Fri, 7 Dec 2001 01:13:18 -0800 (PST) Received: (from root@localhost) by ns.klondike.ru (8.9.3/8.9.3) id MAA17388 for freebsd-current@freebsd.org.KAV; Fri, 7 Dec 2001 12:13:16 +0300 (MSK) Received: from freebsd.klondike.ru (freebsd [195.170.237.64]) by ns.klondike.ru (8.9.3/8.9.3) with SMTP id MAA17380; Fri, 7 Dec 2001 12:13:15 +0300 (MSK) Date: Fri, 7 Dec 2001 12:13:24 +0300 From: Kaltashkin Eugene To: freebsd-current@freebsd.org Cc: freebsd-stable@freebsd.org, freebsd-question@freebsd.org Subject: NCP Broken ? Message-Id: <20011207121324.7deab0a8.zhecka@klondike.ru> X-Mailer: stuphead ver. 0.5.4 (Insensible-cvs) (GTK+ 1.2.10; FreeBSD 5.0-CURRENT; i386) Organization: Klondike Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message