Build hello_s32k144 error

cancel
Showing results for 
Search instead for 
Did you mean: 

Build hello_s32k144 error

380 Views
Contributor I

Hi,

I fellowed the guide to build example hello_s32k144 and found bellow errors. I'm new to S32DS, how can I fix them. Thanks.

pastedImage_1.png

Tags (3)
0 Kudos
8 Replies

50 Views
NXP Employee
NXP Employee

Hi, 

what is your S32DS Version? Can you please share output from build console? 

Jiri 

0 Kudos

50 Views
Contributor I

Hi,

Version is 2018.R1, console output please see bellow.

pastedImage_1.png

08:15:05 **** Incremental Build of configuration Debug for project hello_s32k144 ****
make -j4 all
Building file: ../Project_Settings/Startup_Code/startup_S32K144.S
Building file: ../Project_Settings/Startup_Code/startup.c
Building file: ../Project_Settings/Startup_Code/system_S32K144.c
Building file: ../src/hello.c
Executing target #1 ../Project_Settings/Startup_Code/startup.c
Executing target #2 ../Project_Settings/Startup_Code/startup_S32K144.S
Executing target #4 ../src/hello.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS Assembler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/startup.args" -MMD -MP -MF"Project_Settings/Startup_Code/startup.d" -MT"Project_Settings/Startup_Code/startup.o" -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/startup_S32K144.args" -o "Project_Settings/Startup_Code/startup_S32K144.o" "../Project_Settings/Startup_Code/startup_S32K144.S"
arm-none-eabi-gcc "@src/hello.args" -MMD -MP -MF"src/hello.d" -MT"src/hello.o" -o "src/hello.o" "../src/hello.c"
Executing target #3 ../Project_Settings/Startup_Code/system_S32K144.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/system_S32K144.args" -MMD -MP -MF"Project_Settings/Startup_Code/system_S32K144.d" -MT"Project_Settings/Startup_Code/system_S32K144.o" -o "Project_Settings/Startup_Code/system_S32K144.o" "../Project_Settings/Startup_Code/system_S32K144.c"
arm-none-eabi-gcc.exe: fatal error: specs subtarget_cpp_spec spec was not found to be renamed
arm-none-eabi-gcc.exe: fatal error: specs subtarget_cpp_spec spec was not found to be renamed
arm-none-eabi-gcc.exe: fatal error: specs subtarget_cpp_spec spec was not found to be renamed
compilation terminated.
compilation terminated.
compilation terminated.
make: *** [Project_Settings/Startup_Code/subdir.mk:59: Project_Settings/Startup_Code/startup_S32K144.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Project_Settings/Startup_Code/subdir.mk:51: Project_Settings/Startup_Code/startup.o] Error 1
make: *** [src/subdir.mk:35: src/hello.o] Error 1
arm-none-eabi-gcc.exe: fatal error: specs subtarget_cpp_spec spec was not found to be renamed
compilation terminated.
make: *** [Project_Settings/Startup_Code/subdir.mk:67: Project_Settings/Startup_Code/system_S32K144.o] Error 1

08:15:07 Build Finished (took 1s.856ms)

0 Kudos

50 Views
NXP Employee
NXP Employee

Hi, 

which library are you using? 

pastedImage_1.png

Jiri

0 Kudos

50 Views
Contributor I

Hello Jiri,

Sorry for the late reply, please see, I think it is the same as yours.

pastedImage_1.png

0 Kudos

50 Views
NXP Employee
NXP Employee

Hi, 

can you please attach your project? I'll look at it. 

Jiri 

0 Kudos

50 Views
Contributor I

Hi,

attached is the project folder.

Thanks

Guorao

0 Kudos

50 Views
NXP Employee
NXP Employee

Hi, 

thanks for sharing project. It looks that there is something wrong with your installation. On my machine can be attached project build without any issue. You can try re-install S32DS and see if it helps. 

Jiri

0 Kudos

50 Views
Contributor I

Hi,

I've tried but it doesn't work. Thank you all the same.

Guorao

发件人: jiri.kral@nxp.com

发送时间: 2019-06-10 20:26:41

收件人:  GR L

主题: Re: - Re: Build hello_s32k144 error

NXP Community

Re: Build hello_s32k144 error

reply from Jiri Kral in S32 Design Studio - View the full discussion

Hi, 

 

thanks for sharing project. It looks that there is something wrong with your installation. On my machine can be attached project build without any issue. You can try re-install S32DS and see if it helps. 

 

Jiri

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in S32 Design Studio by email or at NXP Community

Following Re: Build hello_s32k144 error in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

0 Kudos