Re: [LARTC] compile errors

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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   / \




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux