-STABLE kernel build broken?

2001-05-21 Thread David Wolfskill

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.)

Cheers,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

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



Re: -STABLE kernel build broken?

2001-05-21 Thread Ruslan Ermilov

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.251Simferopol, 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



Re: -STABLE kernel build broken?

2001-05-21 Thread David Wolfskill

Date: Mon, 21 May 2001 17:15:32 +0300
From: Ruslan Ermilov [EMAIL PROTECTED]

[I note that I included -current by mistake; I had intended to include
-stable.  But since the thread has started  dhw]

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).

 /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.

OK; I extracted 1.3  tried it, when that broke, I figured out what you
meant by without M_WAIT - M_TRYWAIT, and did a global change
(%s/M_TRYWAIT/M_WAIT/g, for other vi-speakers).  And that worked;
kernel built  installed, and I'm installing the world at the moment.

Thanks,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

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