Subject: GENERIC - "options news3400" fails.
To: port-newsmips <>
From: NAKAJI Hiroyuki <>
List: port-newsmips
Date: 05/21/2003 13:01:22

I updated src last night and ran "./ tools kernel=MYKERNEL" in

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


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