These are chat archives for SmingHub/Sming

1st
Jan 2019
riban-bw
@riban-bw
Jan 01 08:01
I see same result as @frankdownunder compiling libsming against SDK v3 under cygwin.
riban-bw
@riban-bw
Jan 01 09:33
There are quite a few incompatibilities between Sming 3.7 and SDK 3.0. Has anyone actually compiled libsming against SDK3.0? The Sming github README says that sdk 3 is experimental from which one might expect it to compile but not be fully tested but at least a couple of us can't get past the first hurdle! I tried changing the function definitions for a couple of externs but then hit the issue with STATUS being declared in multiple locations (Sming and SDK) though this seems to be the case with sdk 2 so not sure why this is failing...
Mike
@mikee47
Jan 01 10:42
@riban-bw If you can post further details I may be able to point you in the right direction. When you say 'incompatibilities', could you be more explicit? Raising an issue on github is the best way to resolve these things!
Mike G
@mike.greipel_gitlab
Jan 01 13:28
@mikee47 Thank you very much for that support, i appreciate that
riban-bw
@riban-bw
Jan 01 17:14
Reported failure to build against sdk v3.0 as #1564
Mike G
@mike.greipel_gitlab
Jan 01 17:19

Ive tried to build the newest sming development branch with SDK v3.0 like this

set SDK_BASE="opt/Sming/Sming/third-party/ESP8266_NONOS_SDK"
DEBUG_VERBOSE_LEVEL=3 ENABLE_GDB=1 make

and i am getting this errors:

CC third-party/esp-gdbstub/gdbstub.c
third-party/esp-gdbstub/gdbstub.c: In function 'gdbstub_handle_debug_exception':
third-party/esp-gdbstub/gdbstub.c:570:2: error: implicit declaration of function 'ets_wdt_disable' [-Werror=implicit-function-declaration]
  ets_wdt_disable();
  ^
third-party/esp-gdbstub/gdbstub.c:604:2: error: implicit declaration of function 'ets_wdt_enable' [-Werror=implicit-function-declaration]
  ets_wdt_enable();
  ^
cc1: all warnings being treated as errors
Makefile:603: recipe for target 'out/build/third-party/esp-gdbstub/gdbstub.o' failed