[CentOS] recompiling kernel results in error: .../linux-2.6.18.i686/arch//Makefile: No such file or directory

dcw dwoody1 at charter.net
Tue May 22 00:54:22 UTC 2007


If using rpmbuild is not the preferred method then ...

What directory should I be in?
What commands should I be using?

Thanks,

David


On Monday 21 May 2007 7:05 pm, Akemi Yagi wrote:
> On 5/21/07, Akemi Yagi <amyagi at gmail.com> wrote:
> > I have done a bit of a search regarding this issue.  Turns out the
> > same problem was reported as early as Feb 2005 on a Fedora list.  So
> > this is not something new, nor CentOS specific. Bad news is that I
> > have yet to find an answer for this.  The only thing I saw in the
> > search was the same manual editing of .config as we already did as a
> > temporary solution.
> >
> > http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-05/0405.html
> >
> > I am still trying to figure out why rpmbuild -bp messes up the first
> > line of .config.
>
> I confirmed that exactly the same thing happens on my FC5 and FC6.
> This stuff must have been around for quite some time.  I had never
> used rpmbuild for compiling kernels, so did not notice until I saw the
> OP's posting yesterday.  Maybe I should stop writing to this mailing
> list because this is not a CentOS issue.  Will probably file a bug
> with RedHat's bugzilla if no one has already done it.  I suppose not
> many people use rpmbuild AND modify the kernel options.
>
> Akemi
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list