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.
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
#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 gmake: *** [modules/obdTask/obdInit.o] Error 1 gmake: *** [modules/pmoCmds/dataRequestPmoCmd.o] Error 1 gmake: *** [modules/pmoCmds/pmoCommands.o] Error 1 gmake: *** [modules/serverTask/bleServer.o] Error 1 gmake: *** [modules/utils/exit.o] Error 1 gmake: *** [modules/utils/globalFunctions.o] Error 1 gmake: *** [modules/utils/MX25FatFS.o] Error 1 gmake: *** [modules/utils/test.o] Error 1 gmake: *** [modules/utils/utility.o] Error 1 gmake: Target 'all' not remade because of errors. recipe for target 'main.o' failed recipe for target 'modules/awsIot/mqtt.o' failed recipe for target 'modules/awsIot/platform/tirtos/network_sl.o' failed recipe for target 'modules/awsIot/src/aws_iot_jobs_interface.o' failed recipe for target 'modules/awsIot/src/aws_iot_mqtt_client_common_internal.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_publish.o' failed recipe for target 'modules/awsIot/src/aws_iot_mqtt_client_subscribe.o' failed recipe for target 'modules/awsIot/src/aws_iot_mqtt_client_unsubscribe.o' failed recipe for target 'modules/awsIot/src/aws_iot_mqtt_client_yield.o' failed recipe for target 'modules/awsIot/src/aws_iot_mqtt_client.o' failed recipe for target 'modules/awsIot/src/aws_iot_shadow_actions.o' failed recipe for target 'modules/awsIot/src/aws_iot_shadow_records.o' failed recipe for target 'modules/awsIot/src/aws_iot_shadow.o' failed recipe for target 'modules/ cmdReceiveTask/cmdReceiver.o' failed recipe for target 'modules/httpTask/https.o' failed recipe for target 'modules/httpTask/httpsProcessor.o' failed recipe for target 'modules/obdTask/carComm.o' failed recipe for target 'modules/obdTask/obdInit.o' failed recipe for target 'modules/pmoCmds/dataRequestPmoCmd.o' failed recipe for target 'modules/pmoCmds/pmoCommands.o' failed recipe for target 'modules/serverTask/bleServer.o' failed recipe for target 'modules/utils/exit.o' failed recipe for target 'modules/utils/globalFunctions.o' failed recipe for target 'modules/utils/MX25FatFS.o' failed recipe for target 'modules/utils/test.o' failed recipe for target 'modules/utils/utility.o' failed storage size of 'tv' isn't known
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,
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 recipe for target 'modules/awsIot/platform/tirtos/network_sl.o' failed recipe for target 'modules/awsIot/mqtt.o' failed macro names must be identifiers incompatible types when initializing type 'IoT_Error_t' using type 'char *' gmake: Target 'all' not remade because of errors. gmake: *** [modules/utils/utility.o] Error 1 gmake: *** [modules/utils/globalFunctions.o] Error 1 gmake: *** [modules/obdTask/carComm.o] Error 1 gmake: *** [modules/main.o] Error 1 gmake: *** [modules/httpTask/httpsProcessor.o] Error 1 gmake: *** [modules/awsIot/src/aws_iot_shadow_records.o] Error 1 gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_connect.o] Error 1 gmake: *** [modules/awsIot/src/aws_iot_mqtt_client_common_internal.o] Error 1 gmake: *** [modules/awsIot/src/aws_iot_jobs_interface.o] Error 1 gmake: *** [modules/awsIot/platform/tirtos/network_sl.o] Error 1 gmake: *** [modules/awsIot/mqtt.o] Error 1 expected declaration specifiers or '...' before '(' token expected declaration specifiers or '...' before '(' token conflicting types for 'SetDLData' conflicting types for 'pmoInit' conflicting types for 'getGpsLatLongMark2'
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