Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel won't compile, but no errors!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
ollyb
n00b
n00b


Joined: 20 Feb 2004
Posts: 16
Location: Durham, UK

PostPosted: Sun Mar 07, 2004 10:25 am    Post subject: Kernel won't compile, but no errors! Reply with quote

Hi
My Sparc 20s now netboot fine, and I'm at the point where I have to compile the kernel. Basically it's just stopping in the middle of the compilation, and I don't know why. First (after configuring it as recommended in the install guide, with the sparc specific stuff configured too) I run make dep...
Code:
make dep > /make-dep.log 2> /make-dep-err.log &

I'm doing this over a console which is why I'm having the output stuck in files rather than to the screen. When that's done I do...
Code:
make vmlinux modules modules_install > /make.log 2> /make-err.log &

This didn't take as long as i thought it would, and from the logs I made the last error was like 50 minutes before the last thing was written to make.log.
BUT, there's nothing even vaguely resembling a vmlinux or System.map in arch/sparc/boot or anywhere in the source tree at all.
So I start again with make clean, then make dep as above, but this time it only takes 5 minutes instead of an hour or so.

This is really annoying - it seems like it's just getting bored with compiling and just stops for no reason with no errors.

Has anyone got any ideas?

cheers
Back to top
View user's profile Send private message
matkare
n00b
n00b


Joined: 03 Mar 2004
Posts: 69

PostPosted: Sun Mar 07, 2004 10:35 am    Post subject: Reply with quote

what kernel-version are you using ??

with the new 2.6 kernel you only have to
Code:

# > make all

in order to compile kernel and modules, no make dep and no make modules any more.
Finally you go ahead as usual. mv kernel to boot and make modules_install.

just a tip. I've never compiled a kernel for a sparc perhaps there is something different with compiling a kernel.
Back to top
View user's profile Send private message
ollyb
n00b
n00b


Joined: 20 Feb 2004
Posts: 16
Location: Durham, UK

PostPosted: Sun Mar 07, 2004 10:48 am    Post subject: Reply with quote

I'm using the linux-2.4.24-sparc-r2 sources. To install them I just did "emerge sparc-sources". This problem seems really odd. It happened on my iBook too (obviously not with the sparc-sources though!) and I haven't looked at it since. But the odd thing is I've managed to do it once on the iBook before with no trouble. The only thing I'm doing differently this time is using the stage 3 tarbell.

I'm so sad :cry:
Back to top
View user's profile Send private message
ollyb
n00b
n00b


Joined: 20 Feb 2004
Posts: 16
Location: Durham, UK

PostPosted: Sun Mar 07, 2004 11:14 am    Post subject: Reply with quote

Ok, one thing I forgot. When i emerged the sparc-sources there was one error, which I forgot about at the time. I'm now doing emerge sync after having just used the snapshot before, and one error came up at the start, and then carried on fine.
Code:

Performing Global Updates: /usr/portage/profiles/updates/1Q-2004

(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
portage: Update type "slotmove" not recognized.


So after emerge sync, I guess getting the newest version of portage is the way to go. Obviously this needs to be done anyway, but is this likely to be what's caused the problems with compiling?


thanks
Back to top
View user's profile Send private message
ollyb
n00b
n00b


Joined: 20 Feb 2004
Posts: 16
Location: Durham, UK

PostPosted: Mon Mar 08, 2004 8:12 am    Post subject: Reply with quote

updating portage worked!! :D
I now have 2 fully working, but utterly useless sparc 20s. Yay!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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