Subject: GENERIC - "options news3400" fails.
To: port-newsmips <port-newsmips@netbsd.org>
From: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
List: port-newsmips
Date: 05/21/2003 13:01:22
Hi,
I updated src last night and ran "./build.sh tools kernel=MYKERNEL" in
/usr/src.
I found one warning was treated as error this morning.
cc1: warnings being treated as errors
/usr/src/sys/arch/newsmips/dev/if_le.c: In function `le_match':
/usr/src/sys/arch/newsmips/dev/if_le.c:143: warning: implicit declaration of function `news3400_badaddr'
*** Error code 1
Stop.
It is declared in sys/arch/newsmips/dev/hbvar.h,
#define hb_badaddr news3400_badaddr
and hb_badaddr is used in if_le.c.
Because I commentted out the "options news3400" line from my custom kernel
for my NWS-5000SB, this definition resulted in an error.
Any solution?
--
NAKAJI Hiroyuki