* [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
@ 2001-10-16 14:20 ` Djamil ESSAISSI
2001-10-16 14:42 ` Djamil ESSAISSI
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Djamil ESSAISSI @ 2001-10-16 14:20 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
2001-10-16 14:20 ` Djamil ESSAISSI
@ 2001-10-16 14:42 ` Djamil ESSAISSI
2001-10-16 14:56 ` Ethy H. Brito
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Djamil ESSAISSI @ 2001-10-16 14:42 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
2001-10-16 14:20 ` Djamil ESSAISSI
2001-10-16 14:42 ` Djamil ESSAISSI
@ 2001-10-16 14:56 ` Ethy H. Brito
2003-09-27 3:11 ` Andrew Carson
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ethy H. Brito @ 2001-10-16 14:56 UTC (permalink / raw)
To: lartc
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 / \
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
` (2 preceding siblings ...)
2001-10-16 14:56 ` Ethy H. Brito
@ 2003-09-27 3:11 ` Andrew Carson
2003-09-27 8:30 ` Jacek Bilski
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Andrew Carson @ 2003-09-27 3:11 UTC (permalink / raw)
To: lartc
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
` (3 preceding siblings ...)
2003-09-27 3:11 ` Andrew Carson
@ 2003-09-27 8:30 ` Jacek Bilski
2003-09-27 8:55 ` Andrew Carson
2003-12-04 1:25 ` Cosmin Nutiu
6 siblings, 0 replies; 8+ messages in thread
From: Jacek Bilski @ 2003-09-27 8:30 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
Hello!
On sob, 2003-09-27 at 05:11, Andrew Carson wrote:
> 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!
--
Jacek Bilski <dino@camelot.homedns.org>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
` (4 preceding siblings ...)
2003-09-27 8:30 ` Jacek Bilski
@ 2003-09-27 8:55 ` Andrew Carson
2003-12-04 1:25 ` Cosmin Nutiu
6 siblings, 0 replies; 8+ messages in thread
From: Andrew Carson @ 2003-09-27 8:55 UTC (permalink / raw)
To: lartc
Jacek,
Yep, that's what I ended up doing too... Oh well, it's a fix for now :^)
Andrew.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] compile errors
2001-10-16 14:17 [LARTC] compile errors Ethy H. Brito
` (5 preceding siblings ...)
2003-09-27 8:55 ` Andrew Carson
@ 2003-12-04 1:25 ` Cosmin Nutiu
6 siblings, 0 replies; 8+ messages in thread
From: Cosmin Nutiu @ 2003-12-04 1:25 UTC (permalink / raw)
To: lartc
I've found a patch regarding this issue if still interested:
http://englanders.cc/~jason/howtos.php?howto=iproute2
----- Original Message -----
From: "Andrew Carson" <acarson@iinet.net.au>
To: <lartc@mailman.ds9a.nl>
Sent: Saturday, September 27, 2003 10:55 AM
Subject: Re: [LARTC] compile errors
> Jacek,
>
> Yep, that's what I ended up doing too... Oh well, it's a fix for now :^)
>
>
> Andrew.
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread