IBM Support

TP.c compilation fails with error: [11707] syntax error before '*' token

Troubleshooting


Problem

Attempts to build a test node with IBM Rational Test RealTime result in Target Deployment Port error: warning: [10773] function declaration isn't a prototype.

Symptom

The compiler sends the following message.

Compiling C:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib\TP.c using mdg_mtb_tc27_dgsb_ccov/products.h containing C/C++ TDP Library settings...
tricore-gcc.exe -c  -MMD -c -x c -mcpu=TC13-FPU_ERR13X_OP1 -fno-common -DGNU -Os -mwarnprqa=off -maligned-access -maligned-data-sections -Wall -W -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline -Werror-implicit-function-declaration -fno-builtin -Wmissing-noreturn -mno-warn-smalldata-initializers -mcpu24 -pipe -DNODAMOS -gdwarf-2 -DOSENV_RTAOS40   -DRTRT_ON  -Imdg_mtb_tc27_dgsb_ccov -IC:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Pwm\Pwm\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Pwm\Pwm\src -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Pwm\rba_IoMcuPwm\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Pwm\rba_IoMcuPwm\src -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\CUCEL\Standard\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\CUCEL\Compiler\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\CUCEL\Platform\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\rba_IoSigIf\rba_IoSigIcu\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\rba_IoSigIf\rba_IoSigPwm\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\Adapter\rba_IoSigIfAdapt\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\Adapter\rba_IoDiagAdapt\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Diagnosis\Det\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\rba_Gtm\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\SrvLibs\Mfx\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Config\Mcal -I..\..\Dev_BSW_PF_TC27xx_Ar40\_out -I..\..\Dev_BSW_PF_TC27xx_Ar40\Config\CUCEL_Conf -I..\..\Dev_BSW_PF_TC27xx_Ar40\Config\MemMap_Conf -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\rba_Reg\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\rba_Gtm\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\rba_Gtm\src -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Dio\Dio\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\rba_IoDiag\rba_IoDiagPs\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Icu\Icu -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Dio\rba_IoMcuDio\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\rba_IoSigIf\rba_IoSigDio\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\IoSrv\Adapter\rba_IoDiagAdapt\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Port\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\BswLib\rba_BswSrv\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Icu\Icu\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\EnvSw\Stubs -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Icu\Icu\src -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\ESM\EcuM\api -I. -I..\..\Dev_BSW_PF_TC27xx_Ar40\Config\BswPfAdp -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Mcu\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\CUCEL\ComStack\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\BootCtrl\rba_BootCtrl\api -I..\..\Dev_BSW_PF_TC27xx_Ar40\Delivery\Mcal\Mcu\src "C:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib\TP.c" -o "mdg_mtb_tc27_dgsb_ccov\TP.o"
In file included from C:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib\TP.c:62:
C:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib\/priv.c:937: error: [11707] syntax error before '*' token
C:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib\/priv.c:937: warning: [10773] function declaration isn't a prototype
In file included from C:\PROGRA~1\Rational\TESTRE~1\targets\MDG_MT~1\lib\TP.c:62:

[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Target Deployment Port","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF016","label":"Linux"},{"code":"PF010","label":"HP-UX"}],"Version":"8.0.0.1;8.0;7.5.0.6","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21596261