LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-29-2011, 08:20 PM   #1
ubuntudude12
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Rep: Reputation: Disabled
Arrow Linux Kernel 3.1 won't compile for i686 on Linux From Scratch 7.0


Hi,

I am using Ubuntu 11.10 i686. I am in chapter 8.3, trying to compile the Linux Kernel 3.1 for i686. However, when I run this command (changing <host_LANG_value> to en_US.UTF-8):
Code:
make LANG=<host_LANG_value> LC_ALL= menuconfig
and add the option for my Intel processor, running make does not create an i686 directory in the arch directory, but creates an x86 directory.
Does anyone know how to fix this?
 
Old 12-29-2011, 08:31 PM   #2
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51

Rep: Reputation: 4
I think it's normal... you have to copy the bzImage from the x86 and not fromthe i686 dir
 
Old 12-30-2011, 03:37 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ubuntudude12 View Post
I am using Ubuntu 11.10 i686. I am in chapter 8.3, trying to compile the Linux Kernel 3.1 for i686. However, when I run this command (changing <host_LANG_value> to en_US.UTF-8):
Code:
make LANG=<host_LANG_value> LC_ALL= menuconfig
This command sets the language setting used for the menu that is shown, you can omit the command without any real problems. Only thing you might see are strange menu lines, but all the entries will be usable/readable.

Quote:
and add the option for my Intel processor, running make does not create an i686 directory in the arch directory, but creates an x86 directory.
As long as you are building on a x86 platfrom the compiled kernel is stored in arch/x86/boot/. This is true for ix86 and x86_64 systems.

Hope this helps.
 
Old 12-30-2011, 08:38 AM   #4
ubuntudude12
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Hi,
This command sets the language setting used for the menu that is shown, you can omit the command without any real problems. Only thing you might see are strange menu lines, but all the entries will be usable/readable.


As long as you are building on a x86 platfrom the compiled kernel is stored in arch/x86/boot/. This is true for ix86 and x86_64 systems.

Hope this helps.
I am building on i686, not x86_64 or ix86. I need the compiled kernel for i686, not an x86 platform.
 
Old 12-30-2011, 09:34 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ubuntudude12 View Post
I am building on i686, not x86_64 or ix86. I need the compiled kernel for i686, not an x86 platform.
The x in ix86 is meant to be a 2, 3, 4, 5 or 6 as in i286, i386, i486, i586 or i686. All of them being part of the x86 family.

You are building for an i686, which is part of the x86 family and thus the kernel is build in the arch/x86/boot directory (this is also true _IF_ you would build a 64 bits/x86_64 version).

No i686 directory will be created.

Hope this clears things up.

Last edited by druuna; 12-30-2011 at 09:35 AM.
 
  


Reply

Tags
architecture, family, kernel, lfs



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross compile program for alpha architecture on i686-pc-linux-gnu owjian Linux - Software 3 02-08-2011 02:40 AM
Calculate Linux Scratch 9.9 i686/x86_64 released Lautre Calculate 3 09-21-2009 03:24 AM
Calculate Linux Scratch 9.8 i686/x86_64 released. Lautre Calculate 2 08-14-2009 08:37 AM
Compile i686 Kernel seelk Linux - Kernel 13 05-11-2006 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration