Kernel compile failing

Parv parv at pair.com
Tue May 25 09:09:54 PDT 2004


in message <20040525061343.GC69202 at 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

-- 



More information about the freebsd-questions mailing list