compiling my first kernel (2.4.32)
hi everyone,
i am very new to linux and am having troubles with a network adapter. i have located the module code for it but i get some compile errors because i need a newer kernel (according to sources from other forums). currently i have kernel 2.4.21 and am running suse 9.0. my progress so far is rather lame, i have downloaded and extract 2.4.30 to /usr/src/linux-2.4.32. when i go into that directory and type make menuconfig i get the following errors: linux01:/usr/src/linux-2.4.32 # make menuconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux-2.4.32/scripts/lxdialog' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o checklist.o checklist.c In file included from checklist.c:24: dialog.h:22:23: sys/types.h: No such file or directory dialog.h:23:19: fcntl.h: No such file or directory dialog.h:24:20: unistd.h: No such file or directory dialog.h:25:19: ctype.h: No such file or directory dialog.h:26:20: stdlib.h: No such file or directory dialog.h:27:20: string.h: No such file or directory In file included from dialog.h:29, from checklist.c:24: /usr/include/ncurses.h:101:22: features.h: No such file or directory /usr/include/ncurses.h:102:23: sys/types.h: No such file or directory /usr/include/ncurses.h:103:19: stdio.h: No such file or directory In file included from dialog.h:29, from checklist.c:24: /usr/include/ncurses.h:561: error: parse error before '*' token /usr/include/ncurses.h:647: error: parse error before "FILE" /usr/include/ncurses.h:667: error: parse error before "FILE" checklist.c: In function `dialog_checklist': checklist.c:131: warning: implicit declaration of function `malloc' checklist.c:131: warning: assignment makes pointer from integer without a cast checklist.c:131: error: `NULL' undeclared (first use in this function) checklist.c:131: error: (Each undeclared identifier is reported only once checklist.c:131: error: for each function it appears in.) checklist.c:133: warning: implicit declaration of function `fprintf' checklist.c:133: error: `stderr' undeclared (first use in this function) checklist.c:135: warning: implicit declaration of function `exit' checklist.c:140: warning: implicit declaration of function `strcasecmp' checklist.c:164: warning: implicit declaration of function `strlen' checklist.c:166: warning: initialization makes pointer from integer without a cast checklist.c:167: warning: implicit declaration of function `memcpy' checklist.c:227: warning: implicit declaration of function `toupper' checklist.c:306: warning: implicit declaration of function `free' make[1]: *** [checklist.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.32/scripts/lxdialog' make: *** [menuconfig] Error 2 if anyone has any pointers it would be greatly appreciated. thanks |
Looks like you don't have any of the header files installed on your system. Try installing the glibc-devel package. You'll also need the gcc packages installed, if you don't have them. If you would post what distribution you're using, someone could help a bit more with the details of installing these packages.
|
Install kdelibs3-devel
|
thanks for the replies, i already had the glibc-devel and gcc packages installed. i installed kdelibs3-devel package but that didnt help either, i am using suse 9.0 by the way.
any other ideas? thanks |
make menuconfig need ncurses-devel installed.
|
i have ncurses installed
|
All times are GMT -5. The time now is 02:15 AM. |