Subject: Re: Compile help please.
To: Tom Shorock <tom@average.ml.org>
From: Dave Huang <khym@bga.com>
List: port-mac68k
Date: 06/04/1998 13:24:59
On Thu, 4 Jun 1998, Tom Shorock wrote:
> cc1: warnings being treated as errors
> ../../../../arch/mac68k/dev/if_mc.c: 574: warning: static declaration for
> 'mc_rint' follows non-static
> 
> and then it dies.  

Yeah, this is a bug which has been fixed in NetBSD-current, but it looks
like the fix didn't make it into 1.3.1 (anyone know if it's in 1.3.2?)

Take a look around line 574 of if_mc.c and change the

integrate void
mc_rint(sc)

to

void
mc_rint(sc)

i.e. take out the "integrate". The problem only shows up when you remove
"options DDB" from your kernel configuration, which is why most people
don't run into it.
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++