From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eng Se-Hsieng" Date: Mon, 24 Feb 2003 07:09:22 +0000 Subject: [LARTC] Iproute2 'Makefile options' in 2.5.59 Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Dear all, Is iproute2 necessary for IPv6 to work properly on 2.5.59 kernel? I've tried all combinations in the makefile for ADDLIB and LDLIBS but still get the following errors: I've applied the following patches to my kernel patch-o-matic-20020825 and Lksctp-2_5_59-0_6_5.patch I've also installed iptables-1.2.7a. Any help would be greatly appreciated. Thank you. Regards, Se-Hsieng make[1]: Entering directory `/usr/src/iproute2/lib' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -c -o utils.o utils.c In file included from /usr/include/sys/socket.h:35, from utils.c:22: ../include-glibc/bits/socket.h:33: warning: redefinition of `socklen_t' /usr/include/unistd.h:247: warning: `socklen_t' previously declared here In file included from utils.c:26: /usr/include/arpa/inet.h:35: parse error before `inet_addr' /usr/include/arpa/inet.h:35: warning: data definition has no type or storage class /usr/include/arpa/inet.h:38: parse error before `inet_lnaof' /usr/include/arpa/inet.h:38: warning: data definition has no type or storage class /usr/include/arpa/inet.h:42: parse error before `__net' /usr/include/arpa/inet.h:46: parse error before `inet_netof' /usr/include/arpa/inet.h:46: warning: data definition has no type or storage class /usr/include/arpa/inet.h:50: parse error before `inet_network' /usr/include/arpa/inet.h:50: warning: data definition has no type or storage class /usr/include/arpa/inet.h:74: parse error before `inet_aton' /usr/include/arpa/inet.h:74: warning: data definition has no type or storage class /usr/include/arpa/inet.h:78: parse error before `__net' In file included from ../include/utils.h:6, >From utils.c:30 /usr/src/linux-25.59/include/linux/inetdevice.h: In function 'inet_make_mask' /usr/src/linux-25.59/include/linux/inetdevice.h:159: warning: implicit declaration of function 'htonl' /usr/src/linux-2.5.59/include/linux/inetdevice.h: In function 'inet_mask_len': /usr/src/linux-2.5.59/include/linux/inetdevice.h:165 warning: implicit declaration of function'ntohl' make[1]: *** [utils.o] Error 1 make[1]: Leaving directory `/usr/src/iproute2/lib' make: *** [all] Error 2 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/