Port-newsmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

GENERIC - "options news3400" fails.



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



Home | Main Index | Thread Index | Old Index