LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-18-2003, 02:02 AM   #1
Rajaee
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 08-18-2003, 02:10 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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?
 
Old 08-18-2003, 02:23 AM   #3
Rajaee
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2003, 02:40 AM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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.
 
Old 08-18-2003, 02:56 AM   #5
Rajaee
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2003, 03:03 AM   #6
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
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
 
Old 08-18-2003, 03:37 AM   #7
Rajaee
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux Kernel 2.6.11 Compile Error Jacky Quah Linux - General 1 05-30-2005 05:41 PM
How to Compile Linux kernel by GCC4.0.0 puretears Linux - General 5 04-25-2005 03:55 PM
compile new linux kernel isilinux Linux - General 2 01-26-2005 11:39 AM
More Qns re: linux kernel 2.6.x compile iam whoiam Slackware 2 08-10-2004 06:57 AM
Linux Kernel Compile Problems gamehack Slackware 4 04-18-2004 08:02 PM


All times are GMT -5. The time now is 05:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration