View previous topic :: View next topic |
Author |
Message |
Schlummi n00b

Joined: 02 Sep 2002 Posts: 31
|
Posted: Sun Nov 11, 2007 11:26 pm Post subject: [SOLVED] genkernel is looking for arch=x86 |
|
|
I got a new scanner and that for I tried updating my kernel by genkernel.
And I tried it, like I always did:
Code: |
genkernel --menuconfig all
|
But this time I got a rather strange message
Code: |
* Gentoo Linux Genkernel; Version 3.4.9_pre7
* Running with options: --menuconfig all
* Linux Kernel 2.6.23-gentoo-r1 for x86...
* kernel: >> Running mrproper...
* ERROR: Failed to compile the "mrproper" target...
* -- Grepping log... --
Makefile:492: /usr/src/linux-2.6.23-gentoo-r1/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/linux-2.6.23-gentoo-r1/arch/x86/Makefile'. Stop.
* Gentoo Linux Genkernel; Version 3.4.9_pre7
* Running with options: --menuconfig all
* ERROR: Failed to compile the "mrproper" target...
|
Well the error itself doesn't surprise me. I mean, there is no folder arch/x86/ only arch/x86_64.
But why tries genkernel using that folder. Shouldn't genkernel in default detect my system and choose the right arch?
This is not my first kernel I compile with genkernel, but I never had such a message before.
Maybe I missed an update at /etc/genkernel.conf?
Regards Florian
Last edited by Schlummi on Mon Nov 12, 2007 7:36 pm; edited 1 time in total |
|
Back to top |
|
 |
OmSai l33t


Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
|
Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Nov 12, 2007 1:10 am Post subject: Re: genkernel is looking for arch=x86, there is no such fold |
|
|
Schlummi wrote: | Well the error itself doesn't surprise me. I mean, there is no folder arch/x86/ only arch/x86_64. |
I'm not sure how genkernel works, but it may be confused due to recent changes in the kernel itself.
Up to kernel 2.6.23*, you will find arch/i386/ and arch/x86_64/ separately.
Starting with kernel 2.6.24-rc1, these have been merged into arch/x86/ for both 32bits and 64bits. |
|
Back to top |
|
 |
Schlummi n00b

Joined: 02 Sep 2002 Posts: 31
|
Posted: Mon Nov 12, 2007 12:31 pm Post subject: Re: genkernel is looking for arch=x86, there is no such fold |
|
|
cyrillic wrote: | Schlummi wrote: | Well the error itself doesn't surprise me. I mean, there is no folder arch/x86/ only arch/x86_64. |
I'm not sure how genkernel works, but it may be confused due to recent changes in the kernel itself.
Up to kernel 2.6.23*, you will find arch/i386/ and arch/x86_64/ separately.
Starting with kernel 2.6.24-rc1, these have been merged into arch/x86/ for both 32bits and 64bits. |
So it could be cause of the latest genkernel version I've installed.
I will try downgrading genkernel or explicit add arch=i386 to the genkernel.conf config file.
thanks Florian |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Nov 12, 2007 5:25 pm Post subject: |
|
|
Moved from Installing Gentoo to Kernel & Hardware.
Kernel problem, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
 |
cem n00b

Joined: 12 Nov 2007 Posts: 1
|
Posted: Mon Nov 12, 2007 5:52 pm Post subject: |
|
|
This problem is caused by genkernel.
Downgrade your genkernel from 3.4.9_pre9 to 3.4.8 will solve this problem. |
|
Back to top |
|
 |
Schlummi n00b

Joined: 02 Sep 2002 Posts: 31
|
Posted: Mon Nov 12, 2007 7:35 pm Post subject: |
|
|
Jupp, that was it. Thanks you all. |
|
Back to top |
|
 |
|