On Tue, 16 Oct 2001, Djamil ESSAISSI wrote:> anyone can help me with this ? > > > fx0:/home/admin/iproute2# make > make[1]: Entering directory `/home/admin/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 ll_proto.c -o ll_proto.o > ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) > ll_proto.c:36: initializer element for `llproto_names[1].id'' is not constant > make[1]: *** [ll_proto.o] Error 1 > make[1]: Leaving directory `/home/admin/iproute2/lib'' > make: *** [all] Error 2 > fx0:/home/admin/iproute2#Comment out line saying "__PF(ECHO,echo)" (line 36) from ll_proto.c. Ethy H. Brito /"\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \
anyone can help me with this ? fx0:/home/admin/iproute2# make make[1]: Entering directory `/home/admin/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 ll_proto.c -o ll_proto.o ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) ll_proto.c:36: initializer element for `llproto_names[1].id'' is not constant make[1]: *** [ll_proto.o] Error 1 make[1]: Leaving directory `/home/admin/iproute2/lib'' make: *** [all] Error 2 fx0:/home/admin/iproute2# got linux 2.4.10-ac8 -- Djamil ESSAISSI Tel:01.58.64.22.44 - Fax:01.58.64.26.81 System Administrateur / Support Technique www.francexpress.com - www.serveur-express.com
awsome thanx , may i ask what is (was) it for ? On Tue, 16 Oct 2001 12:17:32 -0200 (BRST) "Ethy H. Brito" <ethy@inexo.com.br> wrote: :)On Tue, 16 Oct 2001, Djamil ESSAISSI wrote: :) :)> anyone can help me with this ? :)> :)> :)> fx0:/home/admin/iproute2# make :)> make[1]: Entering directory `/home/admin/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 ll_proto.c -o ll_proto.o :)> ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) :)> ll_proto.c:36: initializer element for `llproto_names[1].id'' is not :)constant :)> make[1]: *** [ll_proto.o] Error 1 :)> make[1]: Leaving directory `/home/admin/iproute2/lib'' :)> make: *** [all] Error 2 :)> fx0:/home/admin/iproute2# :) :)Comment out line saying "__PF(ECHO,echo)" (line 36) from ll_proto.c. :) :)Ethy H. Brito /"\ :)InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML :)+55 (12) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL :)S.J.Campos - Brasil / \ :) :) :)_______________________________________________ :)LARTC mailing list / LARTC@mailman.ds9a.nl :)http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: :)http://ds9a.nl/2.4Routing/ :) -- Djamil ESSAISSI Tel:01.58.64.22.44 - Fax:01.58.64.26.81 System Administrateur / Support Technique www.francexpress.com - www.serveur-express.com
On Tue, 16 Oct 2001, Djamil ESSAISSI wrote:> awsome thanx , may i ask what is (was) it for ?These definitions goes on /usr/src/linux/include/linux/if_ether.h end change among kernel versions. Besides iproute2 code does not use ETH_P_ECHO anywhere. On 2.2.x kernel it was #define ETH_P_ECHO 0x0200 /* Ethernet Echo packet */ On 2.4.x it is not defined. Instead we have #define ETH_P_PUP 0x0200 /* Xerox PUP packet */ As you can see things change!> > On Tue, 16 Oct 2001 12:17:32 -0200 (BRST) > "Ethy H. Brito" <ethy@inexo.com.br> wrote: > > :)On Tue, 16 Oct 2001, Djamil ESSAISSI wrote: > :) > :)> anyone can help me with this ? > :)> > :)> > :)> fx0:/home/admin/iproute2# make > :)> make[1]: Entering directory `/home/admin/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 ll_proto.c -o ll_proto.o > :)> ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) > :)> ll_proto.c:36: initializer element for `llproto_names[1].id'' is not > :)constant > :)> make[1]: *** [ll_proto.o] Error 1 > :)> make[1]: Leaving directory `/home/admin/iproute2/lib'' > :)> make: *** [all] Error 2 > :)> fx0:/home/admin/iproute2# > :) > :)Comment out line saying "__PF(ECHO,echo)" (line 36) from ll_proto.c.Ethy H. Brito /"\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \