Drum wrote:Have you resolved this? I am having a very similar issue trying to compile a firmware in 1.4.0 that was originally created in 1.3.0. But I have noticed the c_types.h files in the others which do compile without a problem, are not using #if 0 / #endif, which as far as I can tell removes the section from the process completely.
I'll try it with them removes to see what happens, I don't think it can do anything worse than it is now.
After lots of hair pulling and swearing at the world, I finally managed to compile esp8266-wireless-switcher. The problems seemed to come first and foremost from the heatshrink component. I don't know yet if I really need heatshrink, but I removed it out alltogether, by commenting out #deinf EFS_HEATSHRINK in <myProject>/include/httpdconfig.h.
The other important fix was to replace my include/espmissingincludes.h (meant for sdk 0.9.x) with the newer version from Scargill (for sdk 1.x):
http://tech.scargill.net/home-control-2015/
(you need to search for espmissingincludes down in the comments to get to the actual file).
After that there were still a few glitches, rather straightforward to fix. A notable one for linux, was to modify the Makefile to use esptool.py elf2image instead of the windows esptool, which has a different syntax.