make -C crosstool-NG -f ../Makefile _toolchain
make[1]: Entering directory '/root/Downloads/ESP8266/esp-open-sdk/crosstool-NG'
./ct-ng xtensa-lx106-elf
make[2]: Entering directory '/root/Downloads/ESP8266/esp-open-sdk/crosstool-NG'
CONF config/config.in
*** Error during writing of the configuration.
/root/Downloads/ESP8266/esp-open-sdk/crosstool-NG/lib/ct-ng.1.20.0/samples/samples.mk:136: recipe for target 'xtensa-lx106-elf' failed
make[2]: *** [xtensa-lx106-elf] Error 1
make[2]: Leaving directory '/root/Downloads/ESP8266/esp-open-sdk/crosstool-NG'
../Makefile:111: recipe for target '_toolchain' failed
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory '/root/Downloads/ESP8266/esp-open-sdk/crosstool-NG'
Makefile:108: recipe for target '/root/Downloads/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc' failed
make: *** [/root/Downloads/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2
I've looked at the line references at 136 and 111 in the relevant files, but I'm not sure what how to interpret it. The tutorials I've been following say to download the sdk and the initial make should work right away. Maybe it's an issue with my Linux Kali distro?