[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

awk segfault when try make menuconfig to build kernel



I'm trying to build a kernel from source using the kernel-source-2.4.19 and
the instructions for the Debian standard method at:

http://www.debian.org/doc/manuals/reference/ch-kernel.en.html

When I execute make menuconfig, I get the error at the bottom of the session
text below. It looks like awk is giving a segmentation fault. This error
persists even after I've upgraded mawk and gawk to the versions on testing,
and switched simlinks to try both programs. I haven't found anything on this
in the mail list archives, so am asking for any tips here.

BTW, the error below happened with the .config file from my current kernel
as well as below using the default config after I did a 'make distclean'.

Thx,

Dave De Graff

root@coral:/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 arch/i386/defconfig
Preparing scripts: functions, parsingscripts/Menuconfig: line 1:  3960
Segmentation fault      awk "$1"
Awk died with error code 139. Giving up.
make: *** [menuconfig] Error 1
root@coral:/usr/src/kernel-source-2.4.19#




Reply to: