This problem persists on multiple attempts, each time starting from a clean unpack of kernel-source-2.4.19.tar.bz2.
I've tried it after upgrading the following packages to the testing versions: dpkg dpkg-dev debianutils make libncurses5-dev kernel-package Tried again after upgrading fileutils to the version from untable, and again after downgrading gcc from 3.2 (unstable) to 2.95.4 (stable). The system is woody on a PIII 850 server with 1GB RAM, DAC960 RAID card and Intel 10/100 ethernet. More details below, thanks for any help. Dave De Graff On each attempt to execute make menuconfig, I get the error: 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: 663 Segmentation fault awk "$1" Awk died with error code 139. Giving up. make: *** [menuconfig] Error 1 I found this message via Google which looks possibly relevant but does not provide any clue that I can act on: http://lists.parisc-linux.org/pipermail/parisc-linux/2002-June/016737.html The first several lines of the .config file in the kernel-source directory are: # # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_ISA=y # CONFIG_SBUS is not set CONFIG_UID16=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y # # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y # # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set CONFIG_M686=y # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MELAN is not set # CONFIG_MCRUSOE is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MCYRIXIII is not set CONFIG_X86_WP_WORKS_OK=y ... > ----- Original Message ----- > From: "Osamu Aoki" <[EMAIL PROTECTED]> > To: "David De Graff" <[EMAIL PROTECTED]> > Cc: "Debian User List" <[EMAIL PROTECTED]> > Sent: Sunday, September 22, 2002 3:03 AM > Subject: Re: awk segfault when try make menuconfig to build kernel > > > > On Sun, Sep 22, 2002 at 12:20:45AM -0700, David De Graff wrote: > > > 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 > > > > That's me :-) > > Wow, help right from the source! Thanks. > > > > > 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'. > > ... > > > > > > root@coral:/usr/src/kernel-source-2.4.19# make menuconfig > > > > Why you are root? > > # apt-get install debhelper modutils kernel-package libncurses5-dev > > # apt-get install kernel-source-2.4.18 # use latest version > > # vi /etc/kernel-pkg.conf # input my name and email > > On the first attempt, I did the entire process as root just to avoid any > permissions issues (wasn't really thinking about it). > > > > Maybe I should have said: (<foo> is user name) > > > > # addgrp --group src <foo> > > # su <foo> > > $ cd /usr/src # build directory > > $ tar --bzip2 -xvf kernel-source-2.4.18.tar.bz2 > > ... > > > > If untar as root and if you are user, you may hit problem. > > > > I just did the process again as you describe, as a non-root user, and got > the same error: > > 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: 5435 > Segmentation fault awk "$1" > Awk died with error code 139. Giving up. > make: *** [menuconfig] Error 1 > > This is on a woody system with some pieces from testing, and with gcc-3.2 > and dependencies from unstable. > > BTW, my system doesn't seem to have addgrp. This isn't relevant to the > problem, but just thought I would point it out given your revised > instructions above. I used usermod since src was already in /etc/group. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]