From owner-freebsd-current Fri Dec 7 11: 0:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 7829037B41C; Fri, 7 Dec 2001 11:00:17 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011207190016.XCLT24045.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 7 Dec 2001 19:00:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA15881; Fri, 7 Dec 2001 10:55:04 -0800 (PST) Date: Fri, 7 Dec 2001 10:55:03 -0800 (PST) From: Julian Elischer To: Kaltashkin Eugene Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-question@freebsd.org Subject: Re: NCP Broken ? In-Reply-To: <20011207121324.7deab0a8.zhecka@klondike.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 yes ncp and nwfs are broken in -current On Fri, 7 Dec 2001, Kaltashkin Eugene wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message