These are chat archives for marvell-iot/aws_starter_sdk

24th
Feb 2017
eyal-l
@eyal-l
Feb 24 2017 15:43

Hello,

I'm trying to compile the sdk for the first time. I followed all the instructions, but the following errors occur when I'm trying to build the project:

make -j4 all
make[1]: Entering directory C:/ez-connect-lite' " [cc] sdk/external/aws_iot/src/aws_iot_json_utils.c" printf: warning: ignoring excess arguments, starting witharm-none-eabi-gcc -include ....
" [ar] C:/ez-connect-lite/bin/libs/libfreertos.a"
printf: warning: ignoring excess arguments, starting with arm-none-eabi-ar cru ..... " [axf] C:/ez-connect-lite/bin/mw302_rd/hello_world.axf" " [map] C:/ez-connect-lite/bin/mw302_rd/hello_world.map" printf: warning: ignoring excess arguments, starting witharm-none-eabi-gcc -o .....
" [bin] C:/ez-connect-lite/bin/mw302_rd/hello_world.bin"
" [cc] sample_apps/aws_starter_demo/src/main.c"
printf: warning: ignoring excess arguments, starting with arm-none-eabi-gcc -Isample_apps/aws_starter_demo/src ..... " [axf] C:/ez-connect-lite/bin/mw302_rd/aws_starter_demo.axf" sdk/libs/libwmsdk.a(internal_fp0.o): In functionMatchDomainName.part.3':
(.text.MatchDomainName.part.3+0xa0): undefined reference to __ctype_ptr__' sdk/libs/libwmsdk.a(integer_fp0.o): In functionmp_read_radix':
(.text.mp_read_radix+0x98): undefined reference to __ctype_ptr__' sdk/libs/libwmsdk.a(asn_fp0.o): In functionMatchBaseName':
(.text.MatchBaseName+0xb8): undefined reference to __ctype_ptr__' sdk/libs/libwmsdk.a(hexbin.o): In functionhex2bin':
(.text.hex2bin+0x90): undefined reference to __ctype_ptr__' sdk/libs/libwmsdk.a(strntoumax.o): In functionstrntoumax':
(.text.strntoumax+0x10c): undefined reference to __ctype_ptr__' sdk/libs/libwmsdk.a(strncasecmp.o):(.text.strncasecmp+0x48): more undefined references toctype_ptr' follow
collect2.exe: error: ld returned 1 exit status
make[1]: [bin/mw302_rd/aws_starter_demo.axf] Error 1
make[1]: Leaving directory `C:/ez-connect-lite'
make:
[do_the_build] Error 2

17:25:11 Build Finished (took 22s.784ms)

I'll appreciate you help!