AN12017 Project in S32DS : cc1.exe: fatal error: lib_c99.prefix: No such file or directory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AN12017 Project in S32DS : cc1.exe: fatal error: lib_c99.prefix: No such file or directory

832 Views
bbudianu
Contributor I

Hello everybody

 

I try to open the project Sw from AN12017 under:

https://www.nxp.com/docs/en/application-note-software/AN12017SW.zip

 

with the 

S32 Design Studio for Power Architecture

Version: 2.1

and get this error although I already added the include dir where the file lib_c99.prefix is existing. 

 

Can anyone help?

Thank you!

 

10:42:32 **** Incremental Build of configuration Debug for project MTRCKTSPS5744P_S32DS ****
make -j8 all
Building file: ../src/MPC5744P_system/peripherals/uart_init.c
Building file: ../src/MPC5744P_system/intc_sw_handlers.S
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/MPC5744P_system/peripherals/adc.args" -MMD -MP -MF"src/MPC5744P_system/peripherals/uart_init.d" -MT"src/MPC5744P_system/peripherals/uart_init.o" -o "src/MPC5744P_system/peripherals/uart_init.o" "../src/MPC5744P_system/peripherals/uart_init.c"
Building file: ../src/FreeMASTER/freemaster_MPC57xx.c
Invoking: Standard S32DS Assembler
powerpc-eabivle-gcc "@src/MPC5744P_system/intc_sw_handlers.args" -o "src/MPC5744P_system/intc_sw_handlers.o" "../src/MPC5744P_system/intc_sw_handlers.S"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/FreeMASTER/freemaster_MPC57xx.args" -MMD -MP -MF"src/FreeMASTER/freemaster_MPC57xx.d" -MT"src/FreeMASTER/freemaster_MPC57xx.o" -o "src/FreeMASTER/freemaster_MPC57xx.o" "../src/FreeMASTER/freemaster_MPC57xx.c"
Building file: ../src/FreeMASTER/freemaster_appcmd.c
In file included from ../src/MPC5744P_system/peripherals/MPC5744P_qs.h:24:0,
from ../src/MPC5744P_system/peripherals/uart_init.h:19,
from ../src/MPC5744P_system/peripherals/uart_init.c:19:
D:/Personal/eBke/SW/AN12017SW/MTRCKTSPS5744P_S32DS/ApplicationConfig/MPC5744P_appconfig.h:7:1: warning: "/*" within comment [-Wcomment]
/***************************************************************************
^
In file included from ../src/MPC5744P_system/peripherals/MPC5744P_qs.h:24:0,
from ../src/MPC5744P_system/peripherals/uart_init.h:19,
from ../src/MPC5744P_system/peripherals/uart_init.c:19:
D:/Personal/eBke/SW/AN12017SW/MTRCKTSPS5744P_S32DS/ApplicationConfig/MPC5744P_appconfig.h:304:1: warning: "/*" within comment [-Wcomment]
/* Enable Triggers */
^
In file included from ../src/MPC5744P_system/peripherals/MPC5744P_periph.h:26:0,
from ../src/MPC5744P_system/peripherals/MPC5744P_qs.h:25,
from ../src/MPC5744P_system/peripherals/uart_init.h:19,
from ../src/MPC5744P_system/peripherals/uart_init.c:19:
../src/MPC5744P_system/peripherals/flexpwm.h:83:1: warning: "/*" within comment [-Wcomment]
/*------------------------------------------------------------------------*//*!
^
cc1.exe: fatal error: lib_c99.prefix: No such file or directory
compilation terminated.
make: *** [src/MPC5744P_system/subdir.mk:43: src/MPC5744P_system/intc_sw_handlers.o] Error 1
make: *** Waiting for unfinished jobs....
Building file: ../src/FreeMASTER/freemaster_bdm.c
Building file: ../src/FreeMASTER/freemaster_pipes.c
Building file: ../src/FreeMASTER/freemaster_lin.c
Building file: ../src/FreeMASTER/freemaster_can.c
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/FreeMASTER/freemaster_MPC57xx.args" -MMD -MP -MF"src/FreeMASTER/freemaster_appcmd.d" -MT"src/FreeMASTER/freemaster_appcmd.o" -o "src/FreeMASTER/freemaster_appcmd.o" "../src/FreeMASTER/freemaster_appcmd.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/FreeMASTER/freemaster_MPC57xx.args" -MMD -MP -MF"src/FreeMASTER/freemaster_bdm.d" -MT"src/FreeMASTER/freemaster_bdm.o" -o "src/FreeMASTER/freemaster_bdm.o" "../src/FreeMASTER/freemaster_bdm.c"
Finished building: ../src/MPC5744P_system/peripherals/uart_init.c
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/FreeMASTER/freemaster_MPC57xx.args" -MMD -MP -MF"src/FreeMASTER/freemaster_pipes.d" -MT"src/FreeMASTER/freemaster_pipes.o" -o "src/FreeMASTER/freemaster_pipes.o" "../src/FreeMASTER/freemaster_pipes.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/FreeMASTER/freemaster_MPC57xx.args" -MMD -MP -MF"src/FreeMASTER/freemaster_can.d" -MT"src/FreeMASTER/freemaster_can.o" -o "src/FreeMASTER/freemaster_can.o" "../src/FreeMASTER/freemaster_can.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/FreeMASTER/freemaster_MPC57xx.args" -MMD -MP -MF"src/FreeMASTER/freemaster_lin.d" -MT"src/FreeMASTER/freemaster_lin.o" -o "src/FreeMASTER/freemaster_lin.o" "../src/FreeMASTER/freemaster_lin.c"
Finished building: ../src/FreeMASTER/freemaster_MPC57xx.c


Finished building: ../src/FreeMASTER/freemaster_appcmd.c
Finished building: ../src/FreeMASTER/freemaster_bdm.c
Finished building: ../src/FreeMASTER/freemaster_lin.c
Finished building: ../src/FreeMASTER/freemaster_can.c




../src/FreeMASTER/freemaster_pipes.c: In function 'FMSTR_PipeFrame':
../src/FreeMASTER/freemaster_pipes.c:1332:16: warning: 'rp' may be used uninitialized in this function [-Wmaybe-uninitialized]
pbuff->nRP = rp;
^
../src/FreeMASTER/freemaster_pipes.c:1309:28: note: 'rp' was declared here
FMSTR_PIPE_SIZE total, rp;
^
Finished building: ../src/FreeMASTER/freemaster_pipes.c

10:42:36 Build Finished (took 4s.330ms)

 

0 Kudos
Reply
0 Replies