LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can I compile linux-1.0 kernel on linux-9.0? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-compile-linux-1-0-kernel-on-linux-9-0-a-83002/)

Rajaee 08-18-2003 01:02 AM

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

leonscape 08-18-2003 01:10 AM

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?

Rajaee 08-18-2003 01:23 AM

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

leonscape 08-18-2003 01:40 AM

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.

Rajaee 08-18-2003 01:56 AM

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

mobassir 08-18-2003 02:03 AM

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

Rajaee 08-18-2003 02:37 AM

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:39 AM.