Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2003, 02:02 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Rep:
|
How can I compile linux-1.0 kernel on linux-9.0?
Good day!
I want to customize an old version of linux for an embedded OS usage .
In this way I want to compile Linux-1.0 kernel on my linux-9.0 kernel (that is linux-2.4.20-8)
When I run 'make dep' command I give errors that it want some files that are not in my old kernel and I have to copy vary folders and files from newer kernel to the older one .
I think that the way I Compile is incorrect because if I want to avoid the errors I have to copy all folders from linux-2.4.20 to the linux-1.0 .
If you have this problem before please help me in this way .
Thanks
|
|
|
08-18-2003, 02:10 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
I pressume both kernel sources are under /usr/src ?
There should be a symlink in the directory called linux is it pointing too the linux-1.0 directory?
Also what distro are you using?
|
|
|
08-18-2003, 02:23 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
Both my kernels are in /usr/src directory and I have a link to my linux-1.0 kernel .
My Question is "how can I compile linux-1 under linux-9 ?"
And is it different from customizing linux-9.0 ?
if you know please tell me steps to do this?
thanks
Rajaee
|
|
|
08-18-2003, 02:40 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
cd /usr/src/linux-1.0
make mrproper
rm .config
make menuconfig
make dep
make bzimage
If make menuconfig fails try make config and answer the questions.
If maje bzimage fails try make zimage.
|
|
|
08-18-2003, 02:56 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
I Run this commands.
When I run 'Make Dep' I gave some Errors that they recover if I copy some files from Driver folder in linux-9.0 to linux-1.0 .
after this when I run 'Make bzImage' I gave some Errors that they recover if I copy some files from Kernel folder in linux-9.0 to linux-1.0 .
I think if I do so this mean that my linux-1.0 is converted to linux9.0 and I didn't want that .
because of this I think the steps may be different .
What must I do if I want to use the files in linux-1.0 only without any need to copy files from linux-9.0 ?
Rajaee
|
|
|
08-18-2003, 03:03 AM
|
#6
|
Member
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346
Rep:
|
visit this site may be fined and good info, i am exploring this site , is it good to install or update new kernal versions , and what can be its benefits?
http://www.kernel.org/
thanks
|
|
|
08-18-2003, 03:37 AM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
I want to customize linux for an embedded system.
For this I want to compile linux-1.0 and then change it's source code ( reduce it's memory and ...).
But I have some problems with compiling linux-1.0 (under linux-9.0 ).
If you know any website or any one that works in this field tell me.
thenks
Rajaee
|
|
|
All times are GMT -5. The time now is 09:20 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
|
|