As noted in earlier posts, awk fails with a segfault on make menuconfig when trying to compile kernel-source-2.4.19.
I've posted several times on this problem, and have tried all suggestions given so far. Since my last post I have done many tests on clean VMware virtual machines running fresh installs of woody. Here's a bug report that I sent on this issue (below). I'd appreciate any reports of similar problems, or of successful compiles and how the conditions or methods might differ. BTW, the path for the user attempting the make config that fails is: user@host:/usr/src/linux$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin: /usr/bin/X11 user@host:/usr/src/linux$ echo $LD_LIBRARY_PATH /usr/local/lib:/usr/lib:/usr/share:/usr/include Package: kernel-source-2.4.19 Version: 2.4.19-1 Severity: grave -- System Information Debian Release: 3.0 Kernel Version: Linux 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown Versions of the packages kernel-source-2.4.19 depends on: ii binutils 2.12.90.0.1-4 The GNU assembler, linker and binary utiliti ii bzip2 1.0.2-1 A high-quality block-sorting file compressor ii fileutils 4.1-10 GNU file management utilities Upon executing 'make menuconfig' in /usr/src/kernel-source-2.4.19, the process dies with the error at the bottom of the following session text: --------------------------------------------------------- user@host:/usr/src/kernel-source-2.4.19$ make menuconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/kernel-source-2.4.19/scripts/lxdialog' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o checklist.o checklist.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o menubox.o menubox.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o textbox.o textbox.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o yesno.o yesno.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o inputbox.o inputbox.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o util.o util.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o lxdialog.o lxdialog.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO C="<ncurses.h>" -c -o msgbox.o msgbox.c gcc -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o util.o lxdialog.o msgbox.o -lncurses make[1]: Leaving directory `/usr/src/kernel-source-2.4.19/scripts/lxdialog' /bin/sh scripts/Menuconfig arch/i386/config.in Using defaults found in .config Preparing scripts: functions, parsingscripts/Menuconfig: line 1: 1493 Segmentation fault awk "$1" Awk died with error code 139. Giving up. make: *** [menuconfig] Error 1 user@host:/usr/src/kernel-source-2.4.19$ --------------------------------------------------------- I have attempted this step of the kernel compile process at least twenty times, following advice from the Debian User mail list to: - Unpack the source tar file as user and not root (and carefully set permissions on the source directory. I went beyond that to set ownership of /usr/src to user, and also added user to src group as advised. I also executed the entire process as root, which should avoid permissions issues. All but one attempt started with a clean unpack of the kernel source tar file. - Use gawk instead of mawk for awk, by installing gawk and changing the simlink in /etc/alternatives to point to gawk. The same error persists, whether gawk or mawk is used. This bug is not a duplicate of #81487 because using gawk instead of mawk does not avoid the error. I even deleted mawk to ensure that gawk was being used. Testing also included gcc-3.2 and gcc-2.95.4, binutils 2.13.90.0.4-1, and versions of other dependencies from testing / unstable. These kernel compile attempts were run several times on a PIII 850 with 1GB RAM, and several more times on a VMware virtual machine with a completely clean install of Debian woody (stable) from a minimal CD from LordSutch.com (with base install from main Debian archive over network). Each time the make menuconfig dies with the same error. The last attempt was on a VMware virtual machine on which nothing was installed except sudo and the packages required for the kernel compilation, including gcc-2.95.4 and those listed at http://www.debian.org/doc/manuals/reference/ch-kernel.en.html, along with their dependencies. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]