View previous topic :: View next topic |
Author |
Message |
ptnplanet n00b
Joined: 06 Jan 2004 Posts: 47
|
Posted: Sun Jan 18, 2004 7:47 pm Post subject: "make"-Error (new mm-sources!) [solved] |
|
|
I want to upgrade my kernel and emerged the mm-sources (i had the gaming-sources before). Then I linked /usr/src/linux with the new kernel-directory and made my menuconfig. After that I typed "make" and got a error. Here it is:
Code: | CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:13,
from include/linux/thread_info.h:21,
from include/linux/spinclock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7,
include/asm/processor.h:66: `CONFIG_X86_L1_CACHE_SHIFT´ undeclared here (not in a function)
include/asm/processor.h:66: requestet aligment is not a constant
In file included from include/linux/linux.gfp.h:4,
from include/linux/slap.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:31,
from arch/i386/kernel/asm-offsets.c:7,
include/linux/mmzone.h:55: `CONFIG_X86_L1_CACHE_SHIFT´ undeclared here (not in a function)
include/linux/mmzone.h:55: requestet aligment is not a constant
make[1]: *** [arch/i386/kernel/asm-offsets.s] ERROR 1
make: *** [arch/i386/kernel/asm-offsets.s] ERROR 2
|
Funny: there is no arch/i386/kernel/asm-offsets.s. I emerged the sources a second time: still the same.
Can someone help me? _________________ oh come on guys. help me!
Last edited by ptnplanet on Mon Jan 19, 2004 4:21 pm; edited 3 times in total |
|
Back to top |
|
|
jaska Bodhisattva
Joined: 06 Jun 2003 Posts: 725 Location: Finland
|
Posted: Sun Jan 18, 2004 7:53 pm Post subject: |
|
|
It should be linked to /usr/src/linux, not to /usr/linux. |
|
Back to top |
|
|
ptnplanet n00b
Joined: 06 Jan 2004 Posts: 47
|
Posted: Sun Jan 18, 2004 7:55 pm Post subject: |
|
|
that was just a mistake while typing. _________________ oh come on guys. help me! |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sun Jan 18, 2004 8:03 pm Post subject: Re: Error with "make". |
|
|
Quote: | After that I typed "make" |
Why ?
Better make that
What does your emerge info look like? |
|
Back to top |
|
|
ptnplanet n00b
Joined: 06 Jan 2004 Posts: 47
|
Posted: Sun Jan 18, 2004 8:09 pm Post subject: |
|
|
with a 2.6 kernel i dont need that
/edit: and I still get the same error. _________________ oh come on guys. help me! |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sun Jan 18, 2004 11:48 pm Post subject: |
|
|
ptnplanet wrote: | with a 2.6 kernel i dont need that |
Brilliant!
And... how should I have known you were using a 2.6 kernel? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20583
|
Posted: Mon Jan 19, 2004 5:58 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
ptnplanet n00b
Joined: 06 Jan 2004 Posts: 47
|
|
Back to top |
|
|
ptnplanet n00b
Joined: 06 Jan 2004 Posts: 47
|
Posted: Mon Jan 19, 2004 3:02 pm Post subject: |
|
|
adaptr wrote: | ptnplanet wrote: | with a 2.6 kernel i dont need that |
Brilliant!
And... how should I have known you were using a 2.6 kernel? |
Because the mm-sources are 2.6.
But I wrote, that I was using em
ptnplanet wrote: | I want to upgrade my kernel and emerged the mm-sources ... |
_________________ oh come on guys. help me!
Last edited by ptnplanet on Mon Jan 19, 2004 3:04 pm; edited 1 time in total |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Jan 19, 2004 3:04 pm Post subject: |
|
|
I didn't know that - the regular 2.6 sources are still in gentoo-dev, aren't they ?
Hmm maybe it's time I tried a 2.6 kernel again (hoping it won't leave me stranded this time) |
|
Back to top |
|
|
ptnplanet n00b
Joined: 06 Jan 2004 Posts: 47
|
Posted: Mon Jan 19, 2004 4:20 pm Post subject: |
|
|
I solved it
It seems so, that you have to specify the processor-type you are using in your config. _________________ oh come on guys. help me! |
|
Back to top |
|
|
|