Subject: compiling new kernel failed
To: None <current-users@netbsd.org>
From: None <ks@ub.uni-mainz.de>
List: port-sparc
Date: 05/06/1999 17:24:48
hi,
just tried to re-compile a kernel from current sources (supped this
morning) and got this one:
cc -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DSUN4M -DBLINK -DRASTERCONSOLE -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -c ../../../../kern/init_main.c
cc1: warnings being treated as errors
../../../../kern/init_main.c:174: warning: return type of `main' is not `int'
*** Error code 1
Stop.
last kernel compile I did on this machine was on Apr 26. any ideas
anyone? the version of init_main.c is:
/* $NetBSD: init_main.c,v 1.145 1999/04/01 00:22:45 thorpej Exp $ */
I've rebuild userland (UPDATE=1) and rebooted the beast, but that
doesn't change anything...
-ks