On Mon, Jul 21, 2003 at 04:41:45PM -0400, Gregg C Levine wrote:
> Hello from Gregg C Levine
> Okay, here goes, I am getting a series of error messages, during the
> compilation of the dnprogs-2.23 collection. Here's the bottom of the full
> script output:
> make -C netlink
> make[2]: Entering directory
> `/usr/src/linux-decnet/dnprogs-2.23/dnroute/netlink'
> cc -Iinclude -c -o ll_map.o ll_map.c
> cc -Iinclude -c -o libnetlink.o libnetlink.c
> ar rcs libnetlink.a ll_map.o libnetlink.o
> make[2]: Leaving directory
> `/usr/src/linux-decnet/dnprogs-2.23/dnroute/netlink'
> gcc -O2 -Wall -Wstrict-prototypes -Inetlink/include -pipe -fsigned-char -Wst
> rict-prototypes -Wall -Wno-unused -Wno-uninitialized -I../libdap -I../includ
> e -DVERSION=\"2.23\" -D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOU
> RCE -DSHADOW_PWD -DDNETUSE_DEVPTS -g -o dnroute get_neigh.c send_route.c
> routing_msg.c csum.c netlink/libnetlink.a -Lnetlink -ldnet -lnetlink
> get_neigh.c: In function `main':
> get_neigh.c:259: parse error before `int'
> get_neigh.c:264: `devnull' undeclared (first use in this function)
> get_neigh.c:264: (Each undeclared identifier is reported only once
> get_neigh.c:264: for each function it appears in.)
> make[1]: *** [dnroute] Error 1
> make[1]: Leaving directory `/usr/src/linux-decnet/dnprogs-2.23/dnroute'
> make: *** [all] Error 2
It looks like
#include <sys/types.h>
may be needed at the top of the includes list. I suppose it must be included by
some other header file on Debian which is why I don't see the problem.
Patrick
--
patrick
|