compile errors
Quoted 12 lines · Djamil ESSAISSI
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
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
Signature · 8 lines
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 _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
awsome thanx , may i ask what is (was) it for ?
On Tue, 16 Oct 2001 12:17:32 -0200 (BRST)
"Ethy H. Brito" <[email protected]> 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 / [email protected] :)http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
:)http://ds9a.nl/2.4Routing/
:)
Signature · 8 lines
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 _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Quoted 1 line · Djamil ESSAISSI
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!
Quoted 15 lines
On Tue, 16 Oct 2001 12:17:32 -0200 (BRST)
"Ethy H. Brito" <[email protected]> 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 -cll_proto.c-o ll_proto.o
:)> ll_proto.c:36: `ETH_P_ECHO' undeclared here (not in a function)
Quoted 8 lines
:)> 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) fromll_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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
I've noticed a few people have had probs compiling iproute2 on the 2.4.22 kernel.. has anyone found a fix yet? I'm having the same problem:
In file included from ../include-glibc/netinet/in.h:7,
from ll_map.c:19:
/usr/src/linux/include/linux/in.h:140: field gr_group' has incomplete type /usr/src/linux/include/linux/in.h:146: field gsr_group' has incomplete type /usr/src/linux/include/linux/in.h:147: field `gsr_source' has incomplete type/usr/src/linux/include/linux/in.h:153: field gf_group' has incomplete type /usr/src/linux/include/linux/in.h:156: 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
Thanks,
Andrew Carson.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello!
Quoted 2 lines · Andrew Carson
I've noticed a few people have had probs compiling iproute2 on the 2.4.22 kernel.. has anyone found a fix yet? I'm having the same problem:
Workaround: make your /usr/src/linux point to /usr/src/linux-2.4.21 rather than /usr/src/linux-2.4.22, it works_for_me (TM). I didn't investigate where from are those errors.
Greetings!
Signature · 1 line
Jacek Bilski <[email protected]>
Jacek,
Yep, that's what I ended up doing too... Oh well, it's a fix for now :^)
Andrew.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I've found a patch regarding this issue if still interested:
http://englanders.cc/~jason/howtos.php?howto=iproute2
----- Original Message -----
From: "Andrew Carson" <[email protected]>
To: <[email protected]>
Sent: Saturday, September 27, 2003 10:55 AM
Subject: Re: [LARTC] compile errors
Quoted 10 lines
Jacek,
Yep, that's what I ended up doing too... Oh well, it's a fix for now :^)
Andrew.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/