Subject: unusual kernal compile failure
To: None <port-sparc@NetBSD.ORG>
From: Matthew E. Patton <pattonme@gnpr.pae.osd.mil>
List: port-sparc
Date: 03/10/1997 14:01:07
I'm trying to recompile a new kernal, I've done this before (many months back)
without problem but now I get the following errors.  Can anyone provide 
pointers?

NetBSD v1.1 (yes 1.1) on IPX
I've replaced the stock gcc/cc with 2.7.2 and made symlinks 
to /usr/local/bin/gcc for cc and gcc.  Also, where is cpp located?  I have a
cppstdin in /usr/local/bin but no where else.  Was cpp a hard link to something?

the errors:
gcc  -c -I. -I../../../../arch -I../../../.. -I../../../../sys -DSUN4C -DTIMEZONE="0" -DDST="0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DRASTERCONSOLE -DFFS -DNFSSERVER -DNFSCLIENT -DFIFO -DQUOTA -DMFS -DCD9660 -DUNION -DINET -DTCP_COMPAT_42 -DCOMPAT_43 -DCOMPAT_SUNOS -D_KERNEL -O2 -Werror -fno-builtin  ../../../../kern/subr_prf.c
cc1: warnings being treated as errors
../../../../kern/subr_prf.c: In function `panic':
../../../../kern/subr_prf.c:115: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `uprintf':
../../../../kern/subr_prf.c:160: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `tprintf':
../../../../kern/subr_prf.c:210: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `ttyprintf':
../../../../kern/subr_prf.c:232: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `log':
../../../../kern/subr_prf.c:258: warning: `__builtin_next_arg' called without an argument

58: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c:263: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `addlog':
../../../../kern/subr_prf.c:295: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c:300: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `printf':
../../../../kern/subr_prf.c:320: warning: `__builtin_next_arg' called without an argument
../../../../kern/subr_prf.c: In function `sprintf':
../../../../kern/subr_prf.c:536: warning: `__builtin_next_arg' called without an argument
*** Error code 1

many thanks