salut

incerc sa compilez si eu iproute2 pe un calculator cu kernel 2.4.5
si ma aleg cu kestia asta:

make[1]: Entering directory `/usr/local/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 
-DRESOLVE_HOSTNAMES   -c -o ll_proto.o ll_proto.c
ll_proto.c:36: `ETH_P_ECHO' undeclared here (not in a function)
ll_proto.c:36: initializer element is not constant
ll_proto.c:36: (near initialization for `llproto_names[1].id')
make[1]: *** [ll_proto.o] Error 1
make[1]: Leaving directory `/usr/local/src/iproute2/lib'
make: *** [all] Error 2


pe la linia 36 este urmatoarea kestie:

#define __PF(f,n) { ETH_P_##f, #n },
static struct {
        int id;
        char *name;
} llproto_names[] = {
__PF(LOOP,loop)
__PF(ECHO,echo)                        <<< linia 36
__PF(PUP,pup)

------------[SNIP]-----------

__PF(MOBITEX,mobitex)
__PF(CONTROL,control)
__PF(IRDA,irda)

{ 0x8001, "802.1Q" },
{ ETH_P_IP, "ipv4" },
};
#undef __PF


a reusit cineva sa-l compileze?

iproute2 este luat de la:
 ftp://ftp.inr.ac.ru/ip-routing/iproute2-current.tar.gz

by
Catalin

-----------------------------------------------------------------------
Catalin Cristescu                                        [EMAIL PROTECTED]
Powered by Slackware





---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui