Skip to contentSkip to conversation

compile problem with iproute2 ss010824

LARTC Whit Blauvelt 1 participant 1 message Dec 5, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Julian Anastasov
Quoted 2 lines

Thanks for advice. Where does ss010824 live? The "current" version from Alexey's ftp server is ss001007.

ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.4.7-now-ss010824.tar.gz

Ah, maybe he doesn't have that linked as "current" because (on Debian with gcc version 2.95.2 20000220) it won't compile? There was no problem compiling previous versions. Is there an obvious fix for the result below?

Thanks again,
Whit

# make
make[1]: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g
-I../include-glibc -include ../include-glibc/glibc-bugs.h
-I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES   -c -o ll_types.o
ll_types.c
ll_types.c: In function `ll_type_n2a':
ll_types.c:48: `ARPHRD_ATM' undeclared (first use in this function)
ll_types.c:48: (Each undeclared identifier is reported only once
ll_types.c:48: for each function it appears in.)
ll_types.c:48: initializer element is not constant
ll_types.c:48: (near initialization for `arphrd_names[10].type')
ll_types.c:50: `ARPHRD_IEEE1394' undeclared (first use in this function)
ll_types.c:50: initializer element is not constant
ll_types.c:50: (near initialization for `arphrd_names[12].type')
ll_types.c:60: `ARPHRD_HWX25' undeclared (first use in this function)
ll_types.c:60: initializer element is not constant
ll_types.c:60: (near initialization for `arphrd_names[21].type')
ll_types.c:64: `ARPHRD_DDCMP' undeclared (first use in this function)
ll_types.c:64: initializer element is not constant
ll_types.c:64: (near initialization for `arphrd_names[25].type')
ll_types.c:65: `ARPHRD_RAWHDLC' undeclared (first use in this function)
ll_types.c:65: initializer element is not constant
ll_types.c:65: (near initialization for `arphrd_names[26].type')
ll_types.c:102: `ARPHRD_IEEE80211' undeclared (first use in this function)
ll_types.c:102: initializer element is not constant
ll_types.c:102: (near initialization for `arphrd_names[59].type')
make[1]: *** [ll_types.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/