These are chat archives for marvell-iot/aws_starter_sdk

Feb 2016
Sasidhar Movva
Feb 19 2016 04:54
@rohanghige, I am trying to call json_init in a c++ file and am running into these errors.. /usr/local/Cellar/gcc-arm-none-eabi-49/20150609/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/libg.a(lib_a-strtoul.o): In function strtoul': strtoul.c:(.text.strtoul+0x0): multiple definition ofstrtoul'
wmsdk/libs/libwmsdk.a(strtoul.o):(.text.strtoul+0x0): first defined here
collect2: error: ld returned 1 exit status
can you or anyone on Marvell team provide insights into what can be done to fix this one.. We tried a few things but no luck so any ideas would be very very helpful in unblocking us.
please note that calling the same function works fine in a project with all c files
Feb 19 2016 06:23
@movvas Please find a simple NTP implementation at niravcoep/aws_starter_sdk@9408d82
It is doing tiem sync with UTC
Sasidhar Movva
Feb 19 2016 14:47
@niravcoep, thanks for the NTP implementation.. will try it out and let you know how it goes.
Ivo Clarysse
Feb 19 2016 18:52
@movvas You seem to be using a homebrew install of GCC (/usr/local/Cellar/...) - have you tried using a binary install from ?
Sasidhar Movva
Feb 19 2016 20:57
Thanks @IvoBCD, There was a patch that @kedars provided in the SDK to resolve the issue above.