Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By ystrem
#2695
zarya wrote:i wrote up a guide on getting the compiler to work

its for ubuntu 12.04 32-bit and you can find it here https://nurdspace.nl/ESP8266/First_setup


Hi, I followed this guide (https://github.com/esp8266/esp8266-wiki/wiki/Toolchain), but I'm not able to get build it (./ct-ng build), I get this error. I'm using the official lubuntu. image.

Code: Select all[INFO ]  Installing cross-gdb
[ERROR]    configure: error: expat is missing or unusable
[ERROR]    make[2]: *** [configure-gdb] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing cross-gdb'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@174]
[ERROR]  >>        called from: do_debug[scripts/build/debug.sh@35]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@638]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'share/doc/crosstool-ng/ct-ng.1.20.0/B - Known issues.txt'
[ERROR]   
[ERROR]  (elapsed: 13:08.55)
[13:09] / make: *** [build] Error 2
User avatar
By jcmvbkbc
#2701
ystrem wrote:[ERROR] configure: error: expat is missing or unusable

Install expat on your build machine. This one is required for gdb which I enabled in the lx106 config recently.