This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Build simple_http.o failure

Other Parts Discussed in Thread: CC3200, SYSBIOS

I was following https://azure.microsoft.com/en-us/develop/iot/get-started/.Here I have to work with the azure-iot-sdk I have manage to build the azure sdk for the cc3200.But when I try to build the simple_http it fails.

warning: automatic library build: using library
"c:\ti\ti-cgt-arm_5.2.5\lib\rtsv7M4_T_le_eabi.lib" for the first time, so it
must be built. This may take a few minutes.
>> ERROR: mklib: could not find program "gmake", required for building libraries. Modify the PATH environment variable to contain a directory containing this program.
warning: automatic RTS selection: resolving index library "libc.a" to
"rtsv7M4_T_le_eabi.lib", but "rtsv7M4_T_le_eabi.lib" was not found

undefined first referenced
symbol in file
--------- ----------------
__TI_decompress_none
__TI_decompress_rle24
__TI_zero_init
__aeabi_lmul C:\ti\azure-iot-sdks\c\serializer\samples\simplesample_http\tirtos\cc3200\main\package\cfg\main_pem4.src\sysbios\sysbios.aem4<BIOS.obj>
__aeabi_uidivmod C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
__aeabi_uldivmod C:/ti/tirtos_simplelink_2_14_01_20/packages/ti/drivers/lib/drivers_ccware.aem4<PowerCC3200.oem4>
_args_main C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>
_nop C:\ti\azure-iot-sdks\c\serializer\samples\simplesample_http\tirtos\cc3200\main\package\cfg\main_pem4.oem4
_register_lock C:\ti\azure-iot-sdks\c\serializer\samples\simplesample_http\tirtos\cc3200\main\package\cfg\main_pem4.oem4
_register_unlock C:\ti\azure-iot-sdks\c\serializer\samples\simplesample_http\tirtos\cc3200\main\package\cfg\main_pem4.oem4
abort C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
copy_in C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\targets\arm\rtsarm\lib\auto_init.aem4<auto_init.oem4>
exit C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
main_func_sp C:\ti\tirtos_simplelink_2_14_01_20\products\bios_6_42_02_29\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>
memcpy simplesample_http.o
memset C:\ti\azure-iot-sdks\c\serializer\samples\simplesample_http\tirtos\cc3200\main\package\cfg\main_pem4.oem4
strlen netwifi.o

error: unresolved symbols remain
error: errors encountered during linking; "simplesample_http.out" not built

  • Hi Alex,

    TI compiler builds the C run-time library when it is first run. To build the library, it needs gmake tool and it tries to find the gmake tool on the paths defined in the PATH environment variable. Can you please add the directory containing gmake to the PATH variable? If you do not have the gmake installed, you can add the XDCtools directory (XDCtools also ships gmake tool).  After updating the environment variable, please restart your command prompt or terminal. 

    Hope this helps,

    Vikram