These are chat archives for marvell-iot/aws_starter_sdk

19th
Feb 2016
Sasidhar Movva
@movvas
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
niravcoep
@niravcoep
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
@movvas
Feb 19 2016 14:47
@niravcoep, thanks for the NTP implementation.. will try it out and let you know how it goes.
Ivo Clarysse
@IvoBCD
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 https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update ?
Sasidhar Movva
@movvas
Feb 19 2016 20:57
Thanks @IvoBCD, There was a patch that @kedars provided in the SDK to resolve the issue above.