Re: Kernel recompiling error



Chethiya K Ranaweera wrote:
On 3/31/06, Neil Cherry <ncherry@xxxxxxxxxxx> wrote:
Chethiya K Ranaweera wrote:
I am trying to recompile the 2.6.16-1.2080_FC5 kernel. I followed the
instructions given in the fedora core website but I get a bunch of
errors in scripts/basic/fixdep.c file. Has anybody else experienced
this problem??
What did you install and how? Give the full commands please.

--
Linux Home Automation Neil Cherry ncherry@xxxxxxxxxxx
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site

First I installed rpmdevtools so that I can build the tree later.
fedora-buildrpmtree

After that, I installed the kernel-devel package first using yum. Then
I used yumdownloader to down load and install the kernel-source. Upto
this point everything worked fine.

Then I changed directoty to /rpmbuild/SPECS and gave the following command
rpmbuild -bp --target $(uname -m) kernel-2.6.spec

after sometime it gave me the above error I mentioned(errors in
scripts/basic/fixdep.c)

I also tried to go to /usr/src/kernel/<kernel-ver> directory and then
located the .config file. Then I changed the extraversion of the
Makefile and try to use
make xconfig
It compiled for sometime and gave me the "EXACT" error like before.
Does this mean anything? What should I do now?

I think I got burned by this too. Some one suggested that the
devel package is for building modules. I'd recommend downloading
the kernel source and using that instead. I'm not sure if that's
the correct way or not but it does work. You can get the kernel
source from the mirrors.

--
Linux Home Automation Neil Cherry ncherry@xxxxxxxxxxx
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [SLE] Newbie questions about kernel update and Konstruct, and Mozilla as default browser
    ... > occurs when I try to go to the kernel configuration in the control center. ... That page tells you what kernel you have installed, not what kernel source you ... > I ran into the same problem as others have, that when trying to install one ... upgrade the SuSE installed stuff. ...
    (SuSE)
  • Kernel Source
    ... I recently bought a GForce 6600GT AGP graphics card to ... they wouldn't install, something about no pre-comiled kernel headers ... and no source for my 2.4.x kernel. ... or can I not download the 2.6.x kernel source ...
    (Debian-User)
  • Re: Cannot compile kernel
    ... Ncurses, but when I try to run make xconfig, it bombs out becasue it ... it complains it can't find the kernel source. ... You have to install the development files for ncurses in order to use ...
    (Debian-User)
  • Re: installing winmodem drver into Mandrka 9.0
    ... bash shell to run install scripts ... kernel source headers for the kernel you are running ... > 'kernel source headers for the kernel you are running' ...
    (comp.os.linux.setup)
  • Re: Cant install Linux kernel source
    ... > I'm trying to install the kernel source under Fedora ... > msgCallback, progressCallback) ...
    (comp.os.linux.misc)