Hello, I am trying to compile a linux kernel (actually, have tried 2: linux-2.6.19.1.tar.bz2 and linux-2.6.20.6.tar.bz2 (got the latest copy from www.kernel.org)), on gcc:- $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
on both the kernels, on doing a "make menuconfig", i get the foll errors (not giving the whole list of errors):
scripts/kconfig/lxdialog/dialog.h:193: error: expected ')' before '*' token scripts/kconfig/lxdialog/checklist.c:116: error: 'WINDOW' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:130: error: 'KEY_MAX' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function 'wrefresh' scripts/kconfig/lxdialog/checklist.c:210: error: 'KEY_UP' undeclared (first use in this function)
and *weirdly* enough, i opened a particular file (scripts/kconfig/lxdialog/checklist.c), and found that "KEY_UP", etc have actually NOT been defined :(
am i doing something wrong?
On 4/13/07, Pradnyesh Sawant wrote:
scripts/kconfig/lxdialog/checklist.c:210: error: 'KEY_UP' undeclared (first use in this function)
and *weirdly* enough, i opened a particular file (scripts/kconfig/lxdialog/checklist.c), and found that "KEY_UP", etc have actually NOT been defined :(
am i doing something wrong?
install kernel-package build-essential libncurses5-dev
and try again, And while you are at it.. give a try to kernel-package(debian way to compile kernel)
On 4/13/07, Vihang Dudhalkar wrote:
and try again, And while you are at it.. give a try to kernel-package(debian way to compile kernel)
I tried make-dkpg, if that's what you meant; and let me tell you kernel compilation has never been easier. btw, how did you guess i am on debian :-/ Now not only am i able to compile the kernel, but it actually boots :D
I have one more problem however:- my vfat partitions don't get mounted on bootup. dmesg gives the following error:- "FAT: IO charset iso8859-1 not found"
during "make menuconfig", i remember there's a field wherein we have to give the charset for vfat partitions. i left it as the default value (which is iso8859-1), but it doesn't work. Also, i don't have any ntfs partitions, so have disabled ntfs support (i hope that shouldn't matter).
Thanks a lot in advance!
On 4/14/07, Pradnyesh Sawant spradml@gmail.com wrote:
On 4/13/07, Vihang Dudhalkar wrote:
and try again, And while you are at it.. give a try to kernel-package(debian way to compile kernel)
I tried make-dkpg, if that's what you meant; and let me tell you kernel compilation has never been easier. btw, how did you guess i am on debian :-/ Now not only am i able to compile the kernel, but it actually boots :D
I have one more problem however:- my vfat partitions don't get mounted on bootup. dmesg gives the following error:- "FAT: IO charset iso8859-1 not found"
You need to enable support for NLS ISO 8859-1 in your kernel, which is required for Microsoft FAT file system family filenames.
So you only option is to recompile :)
On 4/14/07, Vihang Dudhalkar wrote:
You need to enable support for NLS ISO 8859-1 in your kernel, which is required for Microsoft FAT file system family filenames.
So you only option is to recompile :)
It worked! Thanks :)
Hello all, I have a new query related to kernel compilation: I have nvidia nForce sound and video cards which are onboard on my ASUS motherboard (with a AMD processor). while kernel compilation, i found the nvidia nForce driver for video (and it works fine with the compiled kernel), but how do i know which driver to choose and whether it is inside "ISA", "PCI", "USB" or "PCMCIA"? I didn't find any nvidia or nforce keyword inside any of these. btw, the output of "lsmod | grep snd" for my default kernel is: ************************************************************** snd_intel8x0 28060 4 snd_ac97_codec 89760 1 snd_intel8x0 ac97_bus 1856 1 snd_ac97_codec snd_pcm 68808 3 snd_intel8x0,snd_ac97_codec snd_timer 18756 2 snd_pcm snd_page_alloc 7432 2 snd_intel8x0,snd_pcm ************************************************************** btw, there's "ati ixp ac97 controller", "intel/sis/nvidia/amd mc97 modem", "via 82c686a/b, 8233/8235 ac97 controller" in "pci" module of the "make menuconfig" which seem related to my card. but am confused. Please help. Thanks a lot in advance!
Pradnyesh Sawant wrote:
btw, there's "ati ixp ac97 controller", "intel/sis/nvidia/amd mc97 modem", "via 82c686a/b, 8233/8235 ac97 controller" in "pci" module of the "make menuconfig" which seem related to my card. but am confused. Please help. Thanks a lot in advance!
Visit http://www.nvidia.com/object/linux_nforce_1.21.html Look for the modules listed under the "Use this driver" column. Select them in menuconfig.
HI,
--- Pradnyesh Sawant spradml@gmail.com wrote:
'WINDOW' undeclared 'KEY_MAX' undeclared
Install libncurses, libncurses-dev?
apt-get install libncurses5 libncurses5-dev
SK
-- Shakthi Kannan http://www.shakthimaan.com
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com