S32DS build errors about MPC5777C project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32DS build errors about MPC5777C project

2,298 次查看
alphafeely
Contributor II

I have created a empty MPC5777C project, try to build it , errors below , Help me please

 

16:06:15 **** Build of configuration Debug for project Hey_MPC5777C_Z7_0 ****
make -j4 all
Building file: ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Building file: ../src/flashrchw.c
Building file: ../src/Vector.c
Building file: ../src/MPC57xx__Interrupt_Init.c
Executing target #3 ../src/flashrchw.c
Executing target #2 ../src/Vector.c
Executing target #1 ../src/MPC57xx__Interrupt_Init.c
Executing target #4 ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/flashrchw.args" -MMD -MP -MF"src/flashrchw.d" -MT"src/flashrchw.o" -c -o "src/flashrchw.o" "../src/flashrchw.c"
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/MPC57xx__Interrupt_Init.d" -MT"src/MPC57xx__Interrupt_Init.o" -c -o "src/MPC57xx__Interrupt_Init.o" "../src/MPC57xx__Interrupt_Init.c"
powerpc-eabivle-gcc "@src/Vector.args" -MMD -MP -MF"src/Vector.d" -MT"src/Vector.o" -c -o "src/Vector.o" "../src/Vector.c"
powerpc-eabivle-gcc "@src/intc_SW_mode_isr_vectors_MPC5777C.args" -MMD -MP -MF"src/intc_SW_mode_isr_vectors_MPC5777C.d" -MT"src/intc_SW_mode_isr_vectors_MPC5777C.o" -c -o "src/intc_SW_mode_isr_vectors_MPC5777C.o" "../src/intc_SW_mode_isr_vectors_MPC5777C.c"
make: *** [src/intc_SW_mode_isr_vectors_MPC5777C.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/flashrchw.o] Error 1
make: *** [src/MPC57xx__Interrupt_Init.o] Error 1
make: *** [src/Vector.o] Error 1

 

16:06:24 Build Finished (took 9s.329ms)

Original Attachment has been moved to: Hey_MPC5777C_Z7_1.rar

标记 (3)
0 项奖励
回复
5 回复数

1,714 次查看
stanish
NXP Employee
NXP Employee

Hi,

Can you possibly attach the zipped output folder e.g. Debug

pastedImage_1.png

This might help us to find a root cause since the console messages doesn't clearly indicate what is the problem.

Thanks,

Stan

0 项奖励
回复

1,714 次查看
alphafeely
Contributor II

Surely, I have attached the whole zipped project. thanks

0 项奖励
回复

1,714 次查看
stanish
NXP Employee
NXP Employee

Hi,

Thanks for the update.

Unfortunately I cannot build your project since I see some "garbage" characters in all your C source files.

pastedImage_1.png

I suspect this could be related to a character encoding page setup or something has modified the content of your source .c  files. Can you check if these characters are visible on your side?

What is your "Region and language setup" on your machine?

Can you possibly try to temporarily switch it to English (if it is different) and then start S32DS, create a new project in the empty workspace and try to build it?

pastedImage_4.png

hope it helps.

Stan

0 项奖励
回复

1,714 次查看
alphafeely
Contributor II

I am so sorry. the correct zipped project has been attached. thanks

0 项奖励
回复

1,714 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

I tried build your project with S32DS for Pwer v1.2 - and there is no problem with build. I have Windows 7 - English language. Here is console output:

10:16:59 **** Build of configuration Debug for project Hey_MPC5777C_Z7_1 ****
make -j8 all
Building file: ../src/MPC57xx__Interrupt_Init.c
Building file: ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Building file: ../src/Vector.c
Building file: ../src/intc_sw_handlers.S
Building file: ../Project_Settings/Startup_Code/startup.S
Building file: ../src/main_Z7_1.c
Executing target #3 ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Executing target #2 ../src/Vector.c
Executing target #4 ../src/intc_sw_handlers.S
Executing target #1 ../src/MPC57xx__Interrupt_Init.c
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/intc_SW_mode_isr_vectors_MPC5777C.args" -MMD -MP -MF"src/intc_SW_mode_isr_vectors_MPC5777C.d" -MT"src/intc_SW_mode_isr_vectors_MPC5777C.o" -c -o "src/intc_SW_mode_isr_vectors_MPC5777C.o" "../src/intc_SW_mode_isr_vectors_MPC5777C.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/Vector.args" -MMD -MP -MF"src/Vector.d" -MT"src/Vector.o" -c -o "src/Vector.o" "../src/Vector.c"
Invoking: Standard S32DS Assembler
powerpc-eabivle-gcc "@src/intc_sw_handlers.args" -c -o "src/intc_sw_handlers.o" "../src/intc_sw_handlers.S"
Invoking: Standard S32DS C Compiler
Executing target #6 ../Project_Settings/Startup_Code/startup.S
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/MPC57xx__Interrupt_Init.d" -MT"src/MPC57xx__Interrupt_Init.o" -c -o "src/MPC57xx__Interrupt_Init.o" "../src/MPC57xx__Interrupt_Init.c"
Executing target #5 ../src/main_Z7_1.c
Invoking: Standard S32DS Assembler
powerpc-eabivle-gcc "@Project_Settings/Startup_Code/startup.args" -c -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.S"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/main_Z7_1.args" -MMD -MP -MF"src/main_Z7_1.d" -MT"src/main_Z7_1.o" -c -o "src/main_Z7_1.o" "../src/main_Z7_1.c"
Finished building: ../src/Vector.c

Finished building: ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Finished building: ../Project_Settings/Startup_Code/startup.S


Finished building: ../src/intc_sw_handlers.S

Finished building: ../src/MPC57xx__Interrupt_Init.c
Finished building: ../src/main_Z7_1.c


Building target: Hey_MPC5777C_Z7_1.elf
Executing target #7 Hey_MPC5777C_Z7_1.elf
Invoking: Standard S32DS C Linker
powerpc-eabivle-gcc -o "Hey_MPC5777C_Z7_1.elf" "@Hey_MPC5777C_Z7_1.args"
Finished building target: Hey_MPC5777C_Z7_1.elf

Executing target #8 Hey_MPC5777C_Z7_1.siz
Invoking: Standard S32DS Print Size
powerpc-eabivle-size --format=berkeley Hey_MPC5777C_Z7_1.elf
text data bss dec hex filename
4034 56 4132 8222 201e Hey_MPC5777C_Z7_1.elf
Finished building: Hey_MPC5777C_Z7_1.siz

10:17:02 Build Finished (took 2s.903ms)

I can't reproduce your issue. 

Jiri

0 项奖励
回复