Part Number: SIMPLELINK-SDK-PLUGIN-FOR-AZUREIOT
Tool/software: TI C/C++ Compiler
I try to build the azure libraries by following step 2 in https://github.com/TexasInstruments/azure-iot-pal-simplelink
The goal is ultimately to make lib for cc13xx.
I have edited the products.mak file to:
# # ======== products.mak ======== # ### Automatically use installation locations from plugin and SDK when possible ifneq (,$(wildcard ../../../../imports.mak)) $(info Fetching installation locations from imports.mak...) include ../../../../imports.mak ifneq (,$(SIMPLELINK_CC32XX_SDK_INSTALL_DIR)) ti.targets.arm.elf.M4 = $(CCS_ARMCOMPILER) iar.targets.arm.M4 = $(IAR_ARMCOMPILER) gnu.targets.arm.M4 = $(GCC_ARMCOMPILER) endif ifneq (,$(SIMPLELINK_MSP432E4_SDK_INSTALL_DIR)) ti.targets.arm.elf.M4F = $(CCS_ARMCOMPILER) iar.targets.arm.M4F = $(IAR_ARMCOMPILER) gnu.targets.arm.M4F = $(GCC_ARMCOMPILER) endif endif ################################################################ # When not part of the plugin, fill these out manually # ################################################################ ######################## All platforms ######################## XDC_INSTALL_DIR ?= C:/ti/xdctools_3_51_03_28_core ######################## Optional ######################## FREERTOS_INSTALL_DIR ?= ################################################################ # Fill in the variable set corresponding to your platform # # Only one set should be used at a time # ################################################################ ##################### For CC32XX #################### SIMPLELINK_CC32XX_SDK_INSTALL_DIR ?= C:/ti/simplelink_cc32xx_sdk_3_20_00_06 # Toolchains: Leave assignment empty to disable a toolchain ti.targets.arm.elf.M4 ?= C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS iar.targets.arm.M4 ?= gnu.targets.arm.M4 ?= #################### For MSP432E4 ################### SIMPLELINK_MSP432E4_SDK_INSTALL_DIR ?= # Toolchains: Leave assignment empty to disable a toolchain ti.targets.arm.elf.M4F ?= iar.targets.arm.M4F ?= gnu.targets.arm.M4F ?=
I get these errors:
C:\azure-iot-pal-simplelink-master\build_all>C:\ti\xdctools_3_51_03_28_core\gmake.exe clean cleaning packages ... making clean: Sat Sep 7 00:58:16 2019 ... ======== clean [../build_all/pal] ======== ======== clean [../build_all/sdk] ======== cleaning complete: Sat Sep 7 00:58:18 2019. C:\azure-iot-pal-simplelink-master\build_all>C:\ti\xdctools_3_51_03_28_core\gmake.exe all building packages... making all: Sat Sep 7 00:58:22 2019 ... ======== .interfaces [../build_all/pal] ======== ======== .interfaces [../build_all/sdk] ======== making package.mak (because of package.bld) ... making package.mak (because of package.bld) ... generating interfaces for package build_all.pal (because package/package.xdc.inc is older than package.xdc) ... generating interfaces for package build_all.sdk (because package/package.xdc.inc is older than package.xdc) ... .interfaces files complete: Sat Sep 7 00:58:27 2019. ======== .libraries [../build_all/pal] ======== ======== .libraries [../build_all/sdk] ======== clem4 ../../pal/src/httpapi_sl.c ... clem4 ../../pal/src/tlsio_sl.c ... gmake[1]: *** No rule to make target 'agenttime.c', needed by 'package/lib/lib/ccs/m4/common_sl_debug/agenttime.oem4'. Stop. gmake[1]: *** Waiting for unfinished jobs.... clem4 ../../pal/src/httpapi_sl.c ... clem4 package/package_build_all.pal.c ... clem4 ../../pal/src/platform_sl.c ... clem4 ../../pal/src/platform_sl.c ... clem4 ../../pal/src/threadapi_pthreads_sl.c ... clem4 ../../pal/src/socketio_sl.c ... clem4 ../../pal/src/threadapi_pthreads_sl.c ... clem4 ../../pal/src/tlsio_sl.c ... clem4 ../../pal/src/parson_sl.c ...clem4 ../../pal/src/socketio_sl.c ... clem4 package/package_build_all.sdk.c ... "../../pal/inc/tlsio_sl.h", line 14: fatal error: cannot open source file "azure_c_shared_utility/xio.h" 1 catastrophic err"o.r. /d.e.t"/e."../../pal/inc/tlsio_sl.h", line 14: fatal error: canpno"t open socurc.e fi"l.e. /".a.z/uprael_/cs_rsch/atrherde_audtaiplii_tpyt/hxrieoa.dhs"_ l.c",1 lciantea s4t:r ofpahtiacl eerrrroorr :d a.ectta/encntoetd oli.pne nt hseo eucrocme.p iflialtei o"na zoufr e"_.c._//d./ss. /.hr.ip.ac/na/r/ppe lhaad/ttll_sht//urepsstc arri/cpcclhoi//itm_tpttpshlypilra/al.ettpacafh"it"dor._i,are.so pma/lnli_d.. i_""sa.conp..lp/"fet...ip, h/"/c.a. "./../pal/src/parson_sl.c", line 351:r.. "hll.f3e..."/i.atal :ae// n source file "pnae.rfsaasConc. .ha_llo"/1/ts// p1 catastrophic error ld:al.errtected in the compilation of "../../pal/src/parson_sl.c". Cicos l mcccpilation terminatleaif/e"//adtoasr,ps. ta_trr aoissacolrcotll/risknr >> Compilation failure . t:noe ohel enttp"rsc _ieh,roia4sori ron:l_mcl:_n .si i sofclnenclta".area. t,ctr ncoa"eo1n"pl ,dr4o.e l . :t neil efoCsrentapooo eetemur3 canpr:51tl ic :5e slec :deoa af rutfnafirriintanocoloat renetlat: lh ft"oe ecieapre a >> Compilation failure lrzerrcnemunoron ir romo""nes:rpt.aa_o :i .ztcuclo/ue_r aap.rdsccnte.e.heann/_i rfntsa_neo ols idtou/holgmake[1]: *** [lib/ccs/m4/pal_sl_release.a.mak:204: package/lib/lib/ccs/m4/pal_sl_release/parson_sl.oem4] Error 1 gmake[1]: *** Waiting for unfinished jobs.... _ prsafe >> Compilation failure uocerr tpenec""ie d/.alnfs_s.zi iouo/utslutc.ryoerik.e/u cle/_hr"eictca tpt_tezfyaisp ui/lohafrlh/_apieessril_t rle.ect"c.dh _pp/c_""saagmake[1]: *** [lib/ccs/m4/pal_sl_release.a.mak:80: package/lib/lib/ccs/m4/pal_sl_release/platform_sl.oem4] Error 1 t"u zairs iur.eollrehanied"1id.n__ cyp" _ta/i 5hl1ahp:ai srt rtcteh1feyarar ad/todect_xapaaaauishpdtltotiisa i.rc._selho hstri"pe"lrrt hr cpr/co"h:s r.i o1e 1 ac reckCnaeotaeontrrettmoar caiptsodtsoi treetgmake[1]: *** [lib/ccs/m4/pal_sl_release.a.mak:111: package/lib/lib/ccs/m4/pal_sl_release/tlsio_sl.oem4] Error 1 .lor tdrhapoe do"tepciep o ie einscdtcc o ht t1ueieeee rrn drrccr c rmaeotoioit rhmnrnaf ep asid itdttleclheeretoaetdo emt e.p"cpicc izelnmecuda pd r to"i. ./..eiiflei/rno a_npr ntc aot i_tl"rhoosh/. efnhei.d a n/ec"orcc.to.feo/.em. dmt/cp/"_pl >> Compilation failure pti..uisael..tlilda//iao/ tp.lt_siia.iisrnol/tocn/ly n/ s./t phorhshoatfc"oeflt /,c /p"h kc"sa.tleo.rp.titmc/pni.p/.aeio/ip.p _..la/i1sh.ap4l"/rt_a:. aool/flnn.sa/_ crt1ss"o"ca rl.f./lcc. lett".CsCrah..oiorsr .p_prraC.isi:odo/lll pampaa.cttcaphapii"liinioo./lcn_nn rtettttCcir heeo/ororrrmsnopemmpo reaiiict ndnnlked saaaeres_ttttmtoseeiiieulddooncr...n_atcc tled .e.d f m".ii nlC >> Compilation failure >> Compilation failure eon h"ptCeaieo zldcmu >> Compilation failure a.oprt pl_oiacngmake[1]: *** [lib/ccs/m4/pal_sl_debug.a.mak:142: package/lib/lib/ccs/m4/pal_sl_debug/threadapi_pthreads_sl.oem4] Error 1 lt_ aist >> Compilation failure toheinaro rmntei edngmake[1]: *** [lib/ccs/m4/pal_sl_debug.a.mak:49: package/lib/lib/ccs/m4/pal_sl_debug/httpapi_sl.oem4] Error 1 gmake[1]: *** [lib/ccs/m4/pal_sl_release.a.mak:49: package/lib/lib/ccs/m4/pal_sl_release/httpapi_sl.oem4] Error 1 or_afmut ite"nid.al..ti .dy..// iaol. >> Compilation failure gmake[1]: *** [lib/ccs/m4/pal_sl_debug.a.mak:204: package/lib/lib/ccs/m4/pal_sl_debug/parson_sl.oem4] Error 1 /hs" >> Compilation failure r /so1c kceattiaos_tsrlo.pch"i.c eCrormopri ldaettieocnt etde rimni nthea tceod. pilation of "../../pal/src/platform_sl.c". Compilation terminated. >> Compilation failure >> Compilation failure gmake[1]: *** [lib/ccs/m4/pal_sl_debug.a.mak:111: package/lib/lib/ccs/m4/pal_sl_debug/tlsio_sl.oem4] Error 1 gmake[1]: *** [lib/ccs/m4/pal_sl_release.a.mak:142: package/lib/lib/ccs/m4/pal_sl_release/threadapi_pthreads_sl.oem4] Error 1 gmake[1]: *** [lib/ccs/m4/pal_sl_release.a.mak:173: package/lib/lib/ccs/m4/pal_sl_release/socketio_sl.oem4] Error 1 gmake[1]: *** [lib/ccs/m4/pal_sl_debug.a.mak:173: package/lib/lib/ccs/m4/pal_sl_debug/socketio_sl.oem4] Error 1 gmake[1]: *** [lib/ccs/m4/pal_sl_debug.a.mak:80: package/lib/lib/ccs/m4/pal_sl_debug/platform_sl.oem4] Error 1 xdctools_3_51_03_28_core\gmake.exe: *** [C:/ti/xdctools_3_51_03_28_core\packages\xdc\bld\xdc_top.mak:389: ../build_all/pal,.libraries] Error 2 xdctools_3_51_03_28_core\gmake.exe: *** Waiting for unfinished jobs.... xdctools_3_51_03_28_core\gmake.exe: *** [C:/ti/xdctools_3_51_03_28_core\packages\xdc\bld\xdc_top.mak:389: ../build_all/sdk,.libraries] Error 2 gmake: *** [Makefile:59: all] Error 2