Compile Kernel dg Passenger 57

Niatnya belajar compile kernel. Tapi siapa sangka ditemani Passenger 57? :)

apt-get install linux-source-2.6.22
apt-get install build-essential fakeroot kernel-package libncurses5-dev
tar xjf /usr/src/linux-source-2.6.22.tar.bz2
cd linux-source-2.6.22
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
dpkg -i linux-image-2.6.18.1-custom_2.6.22.9-custom-10.00.Custom_i386.deb
sudo dpkg -i linux-headers-2.6.18.1-custom_2.6.22.9-custom-10.00.Custom_i386.deb


Gara-gara lupa menginstal libncurses5-dev, terjadi galat saat menjalankan make menuconfig

HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:116: error: ‘WINDOW’ undeclared (first use in this function)
..dst..


Hm... Secara umum proses telah berhasil. Namun yg aneh, versi kernel yg dihasilkan adalah versi 2.6.22.9 bukan 2.6.22-14 (samakah?)
Begitu reboot, ga' bisa masuk GDM. Ya, lantaran xorg.conf pake nvidia.

0 Komentar