From: Andy Furniss <lists@andyfurniss.entadsl.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: [LARTC} how can I compile tc
Date: Sat, 24 Mar 2007 13:56:39 +0000 [thread overview]
Message-ID: <46052E17.40709@andyfurniss.entadsl.com> (raw)
In-Reply-To: <46042109.3010602@marlboro.edu>
John Baker wrote:
> Ok, I tried it out but for some reason it doesn't take for the compile
> process. This is, after export KERNEL_INCLUDE=/usr/src/linux/include/ if
> I run export this declare -x KERNEL_INCLUDE="/usr/src/linux/include/" is
> there. But when I run make in iproute2 I still get the
> /usr/include/linux/ip.h:93:2: error: #error "Endian problem - this
> didn't happen" error.
>
> I tried to circumvent this by moving the /usr/include/linux directory to
> /usr/include/linux.old and then making /usr/include/linux a soft link
> pointing to /usr/src/linux/include and got a different set of errors as
> follows.
You shouldn't have to do this - maybe just maybe playing with symlinks
can help build some old out of tree stuff, but you shouldn't need to do
it here.
I don't know what distros do nowadays (use LFS myself), but the very
existance of /usr/src/linux link to tree is depreciated.
Why do you need to build a new tc - unless you need the latest features
your distro should already have it & I think it should work with a new
kernel.
If you really need it, I assume you have built your own 2.6.20.3?
Where is it, what did you do? If after configuring/building it you
cleaned with make mrproper that will be too clean to build against -
make clean should be OK.
> The first time I tried this I forgot to run make clean after trying to
> compile it against the original /usr/include/linux/ and it actually got
> past the initial endian error and died trying to compile tc. When I ran
> make clean and tried I go the above error.
I would expect tc to fail - you need the git version.
Generally if I have the tar and fail a build I just delete and start
again - not saying that will help in this case.
If your distro has git already installed great - if not you can get it
from here
http://kernel.org/pub/software/scm/git/git-1.5.0.5.tar.bz2
install where you want - see INSTALL
to get the iproute2 git do -
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
(as one line) and it will get the latest iproute2 tree for you.
Andy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-03-24 13:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 18:48 [LARTC] Re: [LARTC} how can I compile tc John Baker
2007-03-24 13:56 ` Andy Furniss [this message]
2007-03-26 14:20 ` John Baker
2007-03-26 20:43 ` Andy Furniss
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=46052E17.40709@andyfurniss.entadsl.com \
--to=lists@andyfurniss.entadsl.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.