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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-29-2011, 08:20 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2011
Posts: 20
Rep: 
|
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?
|
|
|
|
12-29-2011, 08:31 PM
|
#2
|
|
Member
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 12.2 - 13.37, LFS
Posts: 47
Rep:
|
I think it's normal... you have to copy the bzImage from the x86 and not fromthe i686 dir
|
|
|
|
12-30-2011, 03:37 AM
|
#3
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,711
|
Hi,
Quote:
Originally Posted by ubuntudude12
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 i x86 and x86_64 systems.
Hope this helps.
|
|
|
|
12-30-2011, 08:38 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2011
Posts: 20
Original Poster
Rep: 
|
Quote:
Originally Posted by druuna
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.
|
|
|
|
12-30-2011, 09:34 AM
|
#5
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,711
|
Hi,
Quote:
Originally Posted by ubuntudude12
I am building on i686, not x86_64 or ix86. I need the compiled kernel for i686, not an x86 platform.
|
The x in i x86 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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:50 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|