On Wed, Mar 17, 2004 at 09:15:44AM +0200, Alex Radetsky wrote:
Всем привет!
Пытаюсь собрать iproute2. И получаю вот такое вот: # make make[1]: Entering directory /usr/src/iproute2/lib' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c In file included from ../include-glibc/netinet/in.h:7, from ll_map.c:19: /usr/src/linux/include/linux/in.h:140: error: field `gr_group' has incomplete type /usr/src/linux/include/linux/in.h:146: error: field `gsr_group' has incomplete type /usr/src/linux/include/linux/in.h:147: error: field `gsr_source' has incomplete type /usr/src/linux/include/linux/in.h:153: error: field `gf_group' has incomplete type /usr/src/linux/include/linux/in.h:156: error: field `gf_slist' has incomplete type make[1]: *** [ll_map.o] Error 1 make[1]: Leaving directory /usr/src/iproute2/lib' make: *** [all] Error 2
Kernel 2.4.22 , iproute2-2.4.7-now-ss020116-try
Чего это он? В документации такого не описано. Где я не неправ ?
ну для начала попробовать такое: а там уже дальше смотреть надо что у тебя с файлами заголовков творится. --- iproute2/Makefile.kad Tue May 28 16:38:43 2002 +++ iproute2/Makefile Tue May 28 16:39:17 2002 @@ -25,16 +25,16 @@ ifeq ($(LIBC_INCLUDE)/socketbits.h,$(wildcard $(LIBC_INCLUDE)/socketbits.h)) ifeq ($(LIBC_INCLUDE)/net/if_packet.h,$(wildcard $(LIBC_INCLUDE)/net/if_packet.h)) - GLIBCFIX=-I../include-glibc -include ../include-glibc/glibc-bugs.h + GLIBCFIX=-I -include ../include-glibc/glibc-bugs.h endif endif ifeq ($(LIBC_INCLUDE)/bits/socket.h,$(wildcard $(LIBC_INCLUDE)/bits/socket.h)) - GLIBCFIX=-I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h + GLIBCFIX=-I -I/usr/include/db4 -include ../include-glibc/glibc-bugs.h endif CC = gcc -CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g +CCOPTS = -D_GNU_SOURCE -Wstrict-prototypes -Wall $(RPM_OPT_FLAGS) CFLAGS = $(CCOPTS) $(GLIBCFIX) -I$(KERNEL_INCLUDE) -I../include $(DEFINES) LDLIBS += -L../lib -lnetlink -lutil
-- Alex Radetsky AR2657-RIPE RAD-UANIC
=================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
-- With best regards, Alexandr Kanevskiy. ISP Inter-Don. CTO AK2240-RIPE, AK2-6BONE =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message