From: "Ethy H. Brito" <ethy@inexo.com.br>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] compile errors
Date: Tue, 16 Oct 2001 14:56:11 +0000 [thread overview]
Message-ID: <marc-lartc-100324413512519@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100324179302445@msgid-missing>
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/
next prev parent reply other threads:[~2001-10-16 14:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-100324413512519@msgid-missing \
--to=ethy@inexo.com.br \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox