Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"make"-Error (new mm-sources!) [solved]
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
ptnplanet
n00b
n00b


Joined: 06 Jan 2004
Posts: 47

PostPosted: Sun Jan 18, 2004 7:47 pm    Post subject: "make"-Error (new mm-sources!) [solved] Reply with quote

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


Joined: 06 Jun 2003
Posts: 725
Location: Finland

PostPosted: Sun Jan 18, 2004 7:53 pm    Post subject: Reply with quote

It should be linked to /usr/src/linux, not to /usr/linux.
Back to top
View user's profile Send private message
ptnplanet
n00b
n00b


Joined: 06 Jan 2004
Posts: 47

PostPosted: Sun Jan 18, 2004 7:55 pm    Post subject: Reply with quote

that was just a mistake while typing.
_________________
oh come on guys. help me!
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Jan 18, 2004 8:03 pm    Post subject: Re: Error with "make". Reply with quote

Quote:
After that I typed "make"

Why ?
Better make that
Code:
make bzImage


What does your emerge info look like?
Back to top
View user's profile Send private message
ptnplanet
n00b
n00b


Joined: 06 Jan 2004
Posts: 47

PostPosted: Sun Jan 18, 2004 8:09 pm    Post subject: Reply with quote

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


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Jan 18, 2004 11:48 pm    Post subject: Reply with quote

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


Joined: 16 Apr 2002
Posts: 20583

PostPosted: Mon Jan 19, 2004 5:58 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ptnplanet
n00b
n00b


Joined: 06 Jan 2004
Posts: 47

PostPosted: Mon Jan 19, 2004 3:01 pm    Post subject: Reply with quote

i had to search a littl bit to find my post at all.
Why did it get moved? There is a nother one here:
https://forums.gentoo.org/viewtopic.php?t=126135
_________________
oh come on guys. help me!
Back to top
View user's profile Send private message
ptnplanet
n00b
n00b


Joined: 06 Jan 2004
Posts: 47

PostPosted: Mon Jan 19, 2004 3:02 pm    Post subject: Reply with quote

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


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Jan 19, 2004 3:04 pm    Post subject: Reply with quote

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


Joined: 06 Jan 2004
Posts: 47

PostPosted: Mon Jan 19, 2004 4:20 pm    Post subject: Reply with quote

I solved it :D
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
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