Problem installing iproute2
Hi,
I'm using Slackware 9, kernel 2.4.20 and I'm trying to install iproute iproute2-currnet.tar.gz and when I use "make" command I receive an some ERRORS:
In file included from <command line>:1:
../include-glibc/glib-bugs.h:16: parse error before "in_port_t"
../include-glibc/glib-bugs.h:16: warning:type defaults to 'int' in declaration of 'in_port_t'
../include-glibc/glib-bugs.h:16: warning:data definition has no type or storage class
../include-glibc/glib-bugs.h:17: parse error before "in_addr_t"
../include-glibc/glib-bugs.h:17: warning:type defaults to 'int' in declaration of 'in_addr_t'
../include-glibc/glib-bugs.h:17: warning:data definition has no type or storage class
In file included from ll_map.c:22:
../include/libnetlink.h:11:field 'local' has incoplete type
../include/libnetlink.h:12:field 'peer' has incoplete type
../include/libnetlink.h:15: confused by earlier erroes, bailing out
make[1];***[ll_map.c] Error 1
I shall inform you that:
1) Line 22 in iproute2/lib/ll_map.c is:
#include "libnetlink.h"
2) Line 16 in iproute2/include-glibc/glib-bugs.h is
typedef __u16 in_port_t;
3) Line 17 in iproute2/include-glibc/glib-bugs.h is
typedef __u32 in_addr_t;
Could anyone advise me please?
Thank you
|