Linux-2.4.19 Yüklenmesi

Tahmini süre: 0.02 SBU Tahmini boyut: 142 MB

Şimdilik çekirdeği derlememize gerek yoktur. Burada programları yüklerken gerekli olacak bazı başlık (header) dosyalarını kopyalayacağız. Asıl derleme işlemi ise sonda yapılacaktır. Bu komutlarla gerekli dosyaları kopyalayalım:

---
ln -s /static/bin/pwd /bin/pwd &&
make mrproper &&
make include/linux/version.h &&
make symlinks &&
mkdir /usr/include/asm &&
cp include/asm/* /usr/include/asm &&
cp -R include/asm-generic /usr/include &&
cp -R include/linux /usr/include &&
touch /usr/include/linux/autoconf.h &&
rm /bin/pwd
---

Neden Başlık Dosyalarını Bağlantı Oluşturmak Yerine Kopyaladık?

Buna bir açıklama olarak size Linus Torvalds`ın attığı bir postayı göstereyim:

I would suggest that people who compile new kernels should: 

 - not have a single symbolic link in sight (except the one that the 
   kernel build itself sets up, namely the "linux/include/asm" symlink 
   that is only used for the internal kernel compile itself) 

And yes, this is what I do. My /usr/src/linux still has the old 2.2.13 
header files, even though I haven't run a 2.2.13 kernel in a _loong_ 
time. But those headers were what glibc was compiled against, so those 
headers are what matches the library object files. 

And this is actually what has been the suggested environment for at 
least the last five years. I don't know why the symlink business keeps 
on living on, like a bad zombie. Pretty much every distribution still 
has that broken symlink, and people still remember that the linux 
sources should go into "/usr/src/linux" even though that hasn't been 
true in a _loong_ time.