From: "Herman Cremer" <admin@help.co.za>
To: lartc@vger.kernel.org
Subject: RE: [Fwd: Re: [LARTC] borrowing only from parent]
Date: Wed, 15 May 2002 06:57:36 +0000 [thread overview]
Message-ID: <marc-lartc-102144646529966@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101981864904728@msgid-missing>
Question :
> > Has anyone ever managed to compile iproute2 from source,
> > running a 2.4.x kernel ?
I have also managed to solve it in another way..
Here is how ...
Solution 1:
Well I have managed to fix the compile error on a kernel 2.4.x
If we have a look at the file, /usr/src/linux/include/linux/if_ether.h
that you get from the different kernels, we notice a change.
On 2.2.x kernel...
#define ETH_P_ECHO 0x0200 /* Ethernet Echo packet */
On 2.4.x kernel...
#define ETH_P_PUP 0x0200 /* Xerox PUP packet */
Q: How to fix it ?
In the directory /lib of the source from the iproute2 tarball,
is a file called, 'll_proto.c'
In the file, there is an entry '__PF(ECHO,echo)' on line 36.
A: Remove this line, and try to compile it again.
Solution 2:
> Using SGL :)
>
> hvisage@meklon:~$ tar -zxf
> download/iproute2-2.4.7-now-ss020116-try.tar.gz
> hvisage@meklon:~$ cd iproute2/
> hvisage@meklon:~/iproute2$ sed -e "s/UTILS_H/IPROUTE2_UTILS_H/g"
> < include/utils.h > include/iproute2_utils.h
> hvisage@meklon:~/iproute2$ for i in `find . -type f | xargs grep
> utils.h|grep :|cut -f 1 -d :`; do sed -e
> 's/"utils.h"/"iproute2_utils.h"/' <$i > $i.new;mv $i.new $i;done
> hvisage@meklon:~/iproute2$ make
>
> QED ;^)
>
> The reason:
> there are a /usr/include/utils.h that get's included before
> the iproute2/include/utils.h :(
----
To unsubscribe from this list: send the line "unsubscribe glug" in
the subject of a message to glug-request@linux.org.za. If you have a
problem unsubscribing, please mail glug-admins@linux.org.za
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-05-15 6:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-26 10:56 [Fwd: Re: [LARTC] borrowing only from parent] Anton Yurchenko
2002-04-26 10:57 ` Anton Yurchenko
2002-04-26 10:57 ` Anton Yurchenko
2002-04-26 11:17 ` Martin Devera
2002-04-26 11:26 ` Anton Yurchenko
2002-04-26 11:31 ` Martin Devera
2002-04-26 11:54 ` Anton Yurchenko
2002-04-26 12:09 ` Martin Devera
2002-04-26 12:24 ` Anton Yurchenko
2002-04-26 12:28 ` Martin Devera
2002-05-15 6:57 ` Herman Cremer [this message]
2002-05-15 7:07 ` Herman Cremer
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-102144646529966@msgid-missing \
--to=admin@help.co.za \
--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