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.

TM4C129ENCPDT: Migration from Arm to GCC in TI RTOS Project getting gmake*** Error 1

Part Number: TM4C129ENCPDT

Hello everyone ,

I have recently migrating old TI RTOS based project compiled on ARM compiler to GCC compiler , I am facing gmake*** error 1,

i have built the wolfssl and TI RTOS with gcc compiler , copied the static libraries from old Arm code , i am unsuccessful in building project, please help if anyone know whonto migrate from ARM to GCC compiler.

Thanks in Advance

Regards 

Chiranth Murthy

  • Hello Chiranth,

    Can you post more detail like a screenshot of the specific compilation error?

    I don't believe we have a migration guide available for ARM to GCC Compiler.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    Here are the  errors i am getting 

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    #error No or unrecognized network configuration specified
    fatal error: _lock.h: No such file or directory
    fatal error: fatfs/ff.h: No such file or directory
    gmake: *** [main.o] Error 1
    gmake: *** [modules/awsIot/mqtt.o] Error 1
    gmake: *** [modules/awsIot/platform/tirtos/network_sl.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_jobs_interface.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_common_internal.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_connect.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_publish.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_subscribe.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_unsubscribe.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_yield.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_mqtt_client.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_shadow_actions.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_shadow_records.o] Error 1
    gmake: *** [modules/awsIot/src/aws_iot_shadow.o] Error 1
    gmake: *** [modules/ cmdReceiveTask/cmdReceiver.o] Error 1
    gmake: *** [modules/httpTask/https.o] Error 1
    gmake: *** [modules/httpTask/httpsProcessor.o] Error 1
    gmake: *** [modules/obdTask/carComm.o] Error 1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    regards

    chiranth

  • Hello Chiranth,

    From what I can tell it looks like files and/or libraries were not linked correctly since the issue seems to stem from the compiler not seeing certain files. However I am not a GCC expert. You may need to look up what Error 1 means as well but I would first start by resolving the _lock.h and fatfs/ff.h errors where those files are not found.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph ,

    I rectifed the error still had these errors,

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    redefinition of 'g_sesSleepSecs'
    redefinition of 'g_defaultUrlPrefix'
    redefinition of 'g_defaultSw'
    redefinition of 'g_defaultHw'
    redefinition of 'g_defaultHostName'
    redefinition of 'g_defaultHistShortInterval'
    redefinition of 'g_defaultHistShipInterval'
    redefinition of 'g_defaultHistPosInterval'
    redefinition of 'g_defaultHistLongInterval'
    redefinition of 'g_commsType'
    redefinition of 'g_comms'
    redefinition of 'g_cmdSleepSecs'
    recipe for target 'modules/utils/utility.o' failed
    recipe for target 'modules/utils/globalFunctions.o' failed
    recipe for target 'modules/obdTask/carComm.o' failed
    recipe for target 'modules/main.o' failed
    recipe for target 'modules/httpTask/httpsProcessor.o' failed
    recipe for target 'modules/awsIot/src/aws_iot_shadow_records.o' failed
    recipe for target 'modules/awsIot/src/aws_iot_mqtt_client_connect.o' failed
    recipe for target 'modules/awsIot/src/aws_iot_mqtt_client_common_internal.o' failed
    recipe for target 'modules/awsIot/src/aws_iot_jobs_interface.o' failed
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Can you Suggest me what i am missing ?

    Thanks in advance

    Chiranth

  • Hello Chiranth,

    I am not familiar with the definitions listed so I suspect they are local files unique to your project. My guess based on the error is you have multiple files with the same definition included now. But since those are not TivaWare related I don't have any better guidance to offer.

    Best Regards,

    Ralph Jacobi