View previous topic :: View next topic |
Author |
Message |
lakshman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Mar 2005 Posts: 2
|
Posted: Wed Mar 23, 2005 6:11 pm Post subject: Kernel 2.6.9/10 compilation problem |
|
|
Hi!
I am new to Gentoo. I had problems in emerging kernel 2.6.9 and 2.6.10 it reports the following error.
* Gentoo Linux Genkernel; Version 3.1.1b
* Compiling Linux Kernel 2.6.9-gentoo-r9 for x86...
* kernel: >> Running mrproper...
* ERROR: Failed to compile the "mrproper" target...
* -- Grepping log... --
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" mrproper
Makefile:500: /usr/src/linux-2.6.9-gentoo-r9/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/linux-2.6.9-gentoo-r9/arch/x86/Makefile'. Stop.
* Gentoo Linux Genkernel; Version 3.1.1b
* ERROR: Failed to compile the "mrproper" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
It is able to compile 2.4.28-r8 without any problem. Some one please help me.
-Lakshman. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tomvollerthun Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1354925728425282311fe7d.gif)
Joined: 19 Mar 2005 Posts: 316
|
Posted: Wed Mar 23, 2005 6:26 pm Post subject: |
|
|
Hi.
The Makefile for your architecture should be located in /usr/src/linux-2.6.9-gentoo-r9/arch/i386/ and not in
/usr/src/linux-2.6.9-gentoo-r9/arch/x86/
I don't know how to tell genkernel the proper architecture, but you should try and use i386 instead of x86
Please come back to tell if that helped. _________________ Computer science is no more about computers than astronomy is about telescopes.
Dijsktra
---------------
Don't believe my "Guru" status! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lakshman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Mar 2005 Posts: 2
|
Posted: Wed Mar 23, 2005 7:44 pm Post subject: Problem persists |
|
|
I tried copying arch/i386 folder to arch/x86 but it didn't worked for me.
I had also tried genkernel --arch-override=i386, genkernel terminating
saying this
* Gentoo Linux Genkernel; Version 3.1.1b
* ERROR: i386 not yet supported by genkernel. Please add the arch-specific config file, /usr/share/genkernel/i386/config.sh
* -- Grepping log... --
* Gentoo Linux Genkernel; Version 3.1.1b
* ERROR: i386 not yet supported by genkernel. Please add the arch-specific config file, /usr/share/genkernel/i386/config.sh
-Lakshman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|