On Mon, May 21, 2001 at 07:01:19AM -0700, David Wolfskill wrote:
> Seems that perhaps the MFC of some changes to mbuf.h also needed some
> corresponding changes elsewhere (such as netncp/ncp_rq.c).
>
> This is on a system running:
> FreeBSD dhcp-133.catwhisker.org 4.3-STABLE FreeBSD 4.3-STABLE #20: Sun May 20
>06:23:46 PDT 2001
>[EMAIL PROTECTED]:/common/S2/obj/usr/src/sys/LAPTOP_30W i386
>
> Tail end of the log:
>
> >>> Kernel build for LAPTOP_30W started on Mon May 21 06:25:33 PDT 2001
> ...
> ===> msdos
> ...
> ===> ncp
> ...
> cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi
>-DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c
>/usr/src/sys/modules/ncp/../../netncp/ncp_rq.c
> /usr/src/sys/modules/ncp/../../netncp/ncp_rq.c:49: conflicting types for `m_getm'
> @/sys/mbuf.h:572: previous declaration of `m_getm'
> /usr/src/sys/modules/ncp/../../netncp/ncp_rq.c:49: warning: redundant redeclaration
>of `m_getm' in same scope
> @/sys/mbuf.h:572: warning: previous declaration of `m_getm'
> *** Error code 1
>
> Stop in /usr/src/sys/modules/ncp.
> *** Error code 1
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
>
> Stop in /common/S2/obj/usr/src/sys/LAPTOP_30W.
> *** Error code 1
>
>
> /usr/src/sys/sys/mbuf.h is:
> * $FreeBSD: src/sys/sys/mbuf.h,v 1.44.2.9 2001/05/21 07:01:44 bp Exp $
>
> and /usr/src/sys/netncp/ncp_rq.c is:
> * $FreeBSD: src/sys/netncp/ncp_rq.c,v 1.1 1999/10/02 04:06:17 bp Exp $
>
> (The latter is up to 1.7 in -CURRENT.)
>
1.3 without M_WAIT -> M_TRYWAIT should work.
--
Ruslan Ermilov Oracle Developer/DBA,
[EMAIL PROTECTED] Sunbay Software AG,
[EMAIL PROTECTED] FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message