Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2004 12:10:35 -0400
From:      Parv <parv@pair.com>
To:        Odhiambo Washington <wash@wananchi.com>, FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Kernel compile failing
Message-ID:  <20040525161035.GB1023@moo.holy.cow>
In-Reply-To: <20040525061343.GC69202@ns2.wananchi.com>
References:  <20040525061343.GC69202@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040525161035.GB1023>