Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6.9/10 compilation problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lakshman
n00b
n00b


Joined: 23 Mar 2005
Posts: 2

PostPosted: Wed Mar 23, 2005 6:11 pm    Post subject: Kernel 2.6.9/10 compilation problem Reply with quote

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
View user's profile Send private message
tomvollerthun
Guru
Guru


Joined: 19 Mar 2005
Posts: 316

PostPosted: Wed Mar 23, 2005 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
lakshman
n00b
n00b


Joined: 23 Mar 2005
Posts: 2

PostPosted: Wed Mar 23, 2005 7:44 pm    Post subject: Problem persists Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum