Subject: Re: Anybodt get gre working with 1.5 or 1.5.1 kernel source?
To: None <port-amiga@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: port-amiga
Date: 07/21/2001 10:42:23
On Tue, Jul 10, 2001 at 03:01:54PM -0500, Rob Healey wrote:
> [...] warnings being treated as errors
> ../../../../netinet/ip_gre.c: In function `gre_input2':
> ../../../../netinet/ip_gre.c:194: warning: implicit declaration of function `setsoftnet'
>
> This error is from the schednetisr() macro which appears to define
> a schednetisr() macro which is not being defined.
>
> It looks like maybe the machine/cpu.h file should be included to
> haul in the proper macro definitions but why does the Amiga port need
> this when the other arch's seem to compile the file just fine
> without it?
if_gre.c both as of 1.5.1 or of current DOES include <machine/cpu.h>.
In fact, it was included from the very beginning. See this excerpt
from cvs annontate:
1.1 (hwr 13-Sep-98): #include <machine/cpu.h>
Maybe something different is your problem?
Reggards,
-is