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?