From owner-freebsd-questions@FreeBSD.ORG Tue May 25 09:09:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 691AD16A4CE for ; Tue, 25 May 2004 09:09:54 -0700 (PDT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1363F43D31 for ; Tue, 25 May 2004 09:09:54 -0700 (PDT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.73.175]) by mta10.adelphia.netESMTP <20040525160933.WVPF8065.mta10.adelphia.net@default.chvlva.adelphia.net>; Tue, 25 May 2004 12:09:33 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 7D4E45515; Tue, 25 May 2004 12:10:35 -0400 (EDT) Date: Tue, 25 May 2004 12:10:35 -0400 From: Parv To: Odhiambo Washington , FBSD-Q Message-ID: <20040525161035.GB1023@moo.holy.cow> Mail-Followup-To: Odhiambo Washington , FBSD-Q References: <20040525061343.GC69202@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040525061343.GC69202@ns2.wananchi.com> Subject: Re: Kernel compile failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: f-questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 16:09:54 -0000 in message <20040525061343.GC69202@ns2.wananchi.com>, wrote Odhiambo Washington thusly... > > > FreeBSD 4.9-STABLE here. > I have done cvsup several times hoping the problem would go away but no. > The log of the kernel compiling is here: > > http://ns2.wananchi.com/~wash/pain/KERNEL.TXT I recently compiled 4.9-p8. I see warning messages for procfs_status.c, if_ethersubr.c among many others which are missing from your log... cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/misc/src-4.9/sys -I/misc/src-4.9/sys/../include -I/misc/src-4.9/sys/contrib/dev/acpica -I/misc/src-4.9/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /misc/src-4.9/sys/miscfs/procfs/procfs_status.c /misc/src-4.9/sys/miscfs/procfs/procfs_status.c: In function `procfs_dostatus': /misc/src-4.9/sys/miscfs/procfs/procfs_status.c:73: warning: unused variable `xlen' /misc/src-4.9/sys/miscfs/procfs/procfs_status.c: In function `procfs_docmdline': /misc/src-4.9/sys/miscfs/procfs/procfs_status.c:184: warning: unused variable `xlen' ... cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/misc/src-4.9/sys -I/misc/src-4.9/sys/../include -I/misc/src-4.9/sys/contrib/dev/acpica -I/misc/src-4.9/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /misc/src-4.9/sys/net/if_ethersubr.c /misc/src-4.9/sys/net/if_ethersubr.c: In function `ether_input': /misc/src-4.9/sys/net/if_ethersubr.c:602: warning: unused variable `oldm' I would like to believe that those non-fatal but pesky messages had been taken care of in FreeBSD 4.x, but that is quite unlikely. You seem to have captured only stdout output but not stderr output. If that assumption is correct, then (using bourne like shell) ... { make buildkernel && make installkernel; } >KERNEL.TXT 2>&1 ...should capture output in both the streams. - Parv --