Skip to contentSkip to conversation

Help with iproute2 compilation

LARTC Joachim Wickman 2 participants 2 messages Jun 27, 2001

lore
Share & tools
lore
#0 lore raw

Hi

I'm having problems when I compile the src of iproute2. Don't know what I'm doing wrong.

Does it require some special packages?

I had it working before with kernel 2.4.0 but not anymore when I made a clean install and upgraded to kernel 2.4.5. btw, I'm using Slackware 7.1 if it helps

result when I try to run make
--------
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
------

I could try downgrade to 2.4.0 and try.. if noone have any ideas.

Thx,
Joachim

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw
Quoted 6 lines · Joachim Wickman

result when I try to run make
--------
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
------

Remove the line (line 36, I think) that says:

__PF(ECHO,echo)

in ll_proto.c

Ethy H. Brito /"\
InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+(12) 341-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
Sao Jose dos Campos / \

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/