Results 1 to 10 of 16
Hi friends !
i am new to kernel compilation. i downloaded linux-2.6.19.1 kernel source from kernel.org, untar it in /home/linux folder. it created linux-2.6.19.1 folder. i executed 'make mrproper' command. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-04-2007 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 45
kernel compilation: stuck in second step. make menuconfig.
Hi friends !
i am new to kernel compilation. i downloaded linux-2.6.19.1 kernel source from kernel.org, untar it in /home/linux folder. it created linux-2.6.19.1 folder. i executed 'make mrproper' command. output is
when i executed 'make menuconfig' command, it threw a lot of error/warning messages.Code:CLEAN scripts/basic CLEAN include/config
and a lot more...Code: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
on executing 'make xconfig'
what am i missing? please advise.Code:CHECK qt * * Unable to find the QT installation. Please make sure that * the QT development package is correctly installed and * either install pkg-config or set the QTDIR environment * variable to the correct location. * sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'. Stop. make: *** [xconfig] Error 2
i am using Kubuntu 6.10 (edgy).
TIA
sandra
- 01-04-2007 #2
It looks like xconfig isn't working as you don't have qt installed. I'm not so sure about the menuconfig error, but my guess would be that you don't have ncurses installed either.
You should look up both of these with your package manager, and see if you have them installed.Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 01-05-2007 #3
in terminal/konsole, execute these
Code:sudo apt-get update sudo apt-get install build-essential fakeroot ---# gcc is pulled in by build-essential sudo apt-get install libncurses5-dev -----# for make menuconfig sudo apt-get install libqt3-mt-dev -----# for make xconfig
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-05-2007 #4Just Joined!
- Join Date
- Jun 2006
- Posts
- 45
hi !
thanx a lot devils_casper and smolloy. i installed libncurses5-dev and libqt3-mt-dev. both commands worked
i executed 'make xconfig' command, followed other steps. but now problem is, i couldn't find 'mkinitrd' command.
error message is
what am i missing now??Code:sandra@molloy:/boot: $ sudo mkinitrd /boot/initrd-2.6.19. Password: sudo: mkinitrd: command not found
TIA
Sandra
- 01-05-2007 #5
hi Sandra !!
you have to install kernel-package.
navigate to boot folder of your arch and execute this code to create initrd image.Code:sudo apt-get install kernel-package
image created, follow next steps !Code:sudo mkinitramfs -o initrd-<version>.img <version>
Good Luck !
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-05-2007 #6
It could also be because mkinitrd is not in the path of your regular user. Try using "su -" to become root first, and then do the mkinitrd command.
Sandra: It looks like we share the same surname -- Molloy -- is that true?Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 01-13-2007 #7Just Joined!
- Join Date
- Jun 2006
- Posts
- 45
hi devils_casper !!
it worked and i successfully compiled kernel. million thanx.
hi smolloy !
Originally Posted by smolloy
i checked /usr/sbin folder. mkinitrd is not there. i think Kubuntu does not have this command. please correct me if i am wrong.
yes ! i am Sandra Molloy.
Originally Posted by smolloy
- 01-13-2007 #8
hi Sandra Molloy !
mkinitrd command is not available in Kubuntu. i never tried to install it in Kubuntu coz mkinitramfs always worked for me.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-18-2007 #9Just Joined!
- Join Date
- Jan 2007
- Posts
- 9
kernels?
i am a newbie installed fedora5 but after a couple of days d hidden menu appeared automatically i suppose the grub configure file got deleted
so how to boot now its not detecting the kernel file wen i tried the command...
pl help
- 01-18-2007 #10
hi kanishk !
i am not getting it. what is the hiddenmenu? what does your machine display at startup? i think its a GRUB problem not kernel's.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
