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

Re: awk segfault when try make menuconfig to build kernel



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
> 
> 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...

I found it's best to re-untar the source when you get weired errors.
I just did a rebuild like in /usr/share/doc/kernel-package/README.gz

Do as root:

cd /usr/src/kernel-source-2.4.19
make menuconfig  ( you can copy your old .config here )
make-kpkg clean
make-kpkg --initrd --revision=custom.220902 kernel_image  (assumes initrd used at boot)
dpkg -i ../kernel-image-2.4.19-custom.220902_i386.deb
shutdown -r now  (reboot)



Reply to: