Unix Technical Forum

Can't compile kernel

This is a discussion on Can't compile kernel within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello, I want to install Gentoo on a IBM Laptop PII 366 MHz. I did everything as it was ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 05:52 AM
Thomas Karstensen
 
Posts: n/a
Default Can't compile kernel

Hello,
I want to install Gentoo on a IBM Laptop PII 366 MHz.
I did everything as it was said in the manual on gentoo.org, and
everything was fine, but I can't compile the kernel.

When I type
"make dep && make clean bzImage modules modules_install"
the kernel compiles very long (and to me without errors), and at the end
it says
"vmlinux error 1" and when I type then
"cp /usr/src/linux/...bzImage /boot"
he does not find the file. There is no bzImage in the directory.

What can I do?

Thomas

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 05:52 AM
Dennis =?ISO-8859-1?Q?Nienh=FCser?=
 
Posts: n/a
Default Re: Can't compile kernel

Thomas Karstensen wrote:

> Hello,
> I want to install Gentoo on a IBM Laptop PII 366 MHz.
> I did everything as it was said in the manual on gentoo.org, and
> everything was fine, but I can't compile the kernel.
>
> When I type
> "make dep && make clean bzImage modules modules_install"
> the kernel compiles very long (and to me without errors), and at the end
> it says
> "vmlinux error 1" and when I type then


Can you post the lines before that message? There's probably something like
"undefined reference to ...".

> "cp /usr/src/linux/...bzImage /boot"
> he does not find the file. There is no bzImage in the directory.


bzImage can only be created when there are no errors during the build.

Dennis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 05:52 AM
Nicholas Wieland
 
Posts: n/a
Default Re: Can't compile kernel

- Thomas Karstensen <tommyk10151@gmx.de> :
> Hello,
> I want to install Gentoo on a IBM Laptop PII 366 MHz.
> I did everything as it was said in the manual on gentoo.org, and
> everything was fine, but I can't compile the kernel.
>
> When I type
> "make dep && make clean bzImage modules modules_install"
> the kernel compiles very long (and to me without errors), and at the end
> it says
> "vmlinux error 1" and when I type then
> "cp /usr/src/linux/...bzImage /boot"
> he does not find the file. There is no bzImage in the directory.
>
> What can I do?


You haven't compiled the kernel, so you don't have bzImage
Probably it's an error in your kernel configuration (make menuconfig),
check what you've done and read 'help' when you're unsure.

nicholas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 05:52 AM
Thomas Karstensen
 
Posts: n/a
Default Re: Can't compile kernel

Thank you. Now it works. There were some wrong entries in menuconfig, I
corrected them and it compiled sucessfully!

Thomas

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com