Subject: compiling -current an alpha fails
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/31/2006 22:50:27
hi,
trying to compile -current cvs update-d half an hour or so ago on my
Alpha XP1000 fails with:
[....]
compile XP1000/ip_input.o
In file included from /u/NetBSD/src/sys/netinet/ip_input.c:141:
/u/NetBSD/src/sys/net/if_gre.h:65: error: 'R_SP' undeclared here (not in a function)
*** Failed target: ip_input.o
[....]
This seems to come from:
egrep sc_sp /u/NetBSD/arch/alpha/dest/usr/include/*/*
/u/NetBSD/arch/alpha/dest/usr/include/alpha/signal.h:#define sc_sp sc_regs[R_SP]
/u/NetBSD/arch/alpha/dest/usr/include/alpha/signal.h:#define sc_sp sc_regs[R_SP]
/u/NetBSD/arch/alpha/dest/usr/include/machine/signal.h:#define sc_sp sc_regs[R_SP]
/u/NetBSD/arch/alpha/dest/usr/include/machine/signal.h:#define sc_sp sc_regs[R_SP]
which expands to:
struct gre_softc {
struct ifnet sc_if;
int sc_waitchan;
int sc_thread;
struct ifqueue sc_snd;
struct gre_soparm sc_regs[R_SP]; <---- ****** here's the problem ******
struct { struct gre_softc *le_next; struct gre_softc **le_prev; } sc_list;
struct route route;
u_char g_proto;
};
Kurt