Build project get arm-none-eabi-gcc.exe: error: nano.specs: No such file or directory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build project get arm-none-eabi-gcc.exe: error: nano.specs: No such file or directory

5,050件の閲覧回数
LitteFish
Contributor I

I try to build a project and get this failure:

/usr/bin/make --no-print-directory main-build
Building file: ../src/uds_stack/uds/src/dtc_cfg.c
Building file: ../src/uds_stack/uds/src/dtcmgr.c
Building file: ../src/uds_stack/uds/src/uds_app.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/uds_stack/uds/src/dtc_cfg.args" -MMD -MP -MF"src/uds_stack/uds/src/dtc_cfg.d" -MT"src/uds_stack/uds/src/dtc_cfg.o" -o "src/uds_stack/uds/src/dtc_cfg.o" "../src/uds_stack/uds/src/dtc_cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/uds_stack/uds/src/dtc_cfg.args" -MMD -MP -MF"src/uds_stack/uds/src/dtcmgr.d" -MT"src/uds_stack/uds/src/dtcmgr.o" -o "src/uds_stack/uds/src/dtcmgr.o" "../src/uds_stack/uds/src/dtcmgr.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/uds_stack/uds/src/dtc_cfg.args" -MMD -MP -MF"src/uds_stack/uds/src/uds_app.d" -MT"src/uds_stack/uds/src/uds_app.o" -o "src/uds_stack/uds/src/uds_app.o" "../src/uds_stack/uds/src/uds_app.c"
arm-none-eabi-gcc.exe: error: nano.specs: No such file or directory
make[1]: *** [src/uds_stack/uds/src/subdir.mk:33: src/uds_stack/uds/src/dtc_cfg.o] Error 1
make[1]: *** Waiting for unfinished jobs....

I try to add the binary file in the environment path. But still get the same result. My S32 DS version is:

S32 Design Studio for S32 Platform

Version 3.5

Build id:220726

nano.specs is located in C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\arm-none-eabi\newlib

arm-none-eabi-gcc.exe is located in C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\bin

I add this in my environment path.

My environment path is:

C:\NXP\S32DS.3.5\eclipse;
C:\NXP\S32DS.3.5\S32DS\build_tools\msys32\usr\bin;
C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\arm-none-eabi\newlib;
C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\bin
C:/NXP/S32DS.3.5/eclipse/jre/bin/client;
C:/NXP/S32DS.3.5/eclipse/jre/bin;
C:\Program Files\Common Files\Oracle\Java\javapath;
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Windows\System32\OpenSSH\;
C:\Users\abc\AppData\Local\Programs\Python\Python38\Scripts;
C:\Users\abc\AppData\Local\Programs\Python;
C:\Program Files\Git\cmd;
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;
C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;
C:\Users\abc\AppData\Local\Programs\Python\Python38\Scripts\;
C:\Users\abc\AppData\Local\Programs\Python\Python38\;
C:\Users\abc\AppData\Local\Microsoft\WindowsApps

 

can anyone help me. Thanks.

 

0 件の賞賛
返信
5 返答(返信)

1,522件の閲覧回数
zongliang
Contributor II

i got same issue.

when i upgrade my compiler from 9.3 to 10.3, this error disappeared

3,610件の閲覧回数
CY9
Contributor III

I have the same problem. 

If I compiled with gcc-6.3, this SHxT happened.

After I insert the path of gcc-11 at the beginning of the "path" variable, it disappear! 

C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v11.4\gcc-11.4-arm32-eabi\bin; ...

 

--

CY9_0-1729494830025.png

 

0 件の賞賛
返信

4,995件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

is your project old one and you are trying to import it in S32DS v3.5? 

It looks that the path for the .specs file is unknown for project.  

0 件の賞賛
返信

4,206件の閲覧回数
sobo
Contributor III
Hello,

I have the same problem, as described above.
I try to compile this project :
https://community.nxp.com/t5/S32K-Knowledge-Base/S32K358-Multicore-Start-CM7-2-from-CM7-0/ta-p/19238...

first I have to update the path for gcc , I need to add C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\bin to S32DS env variable.

for the nano.specs , I try to add
C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\arm-none-eabi\newlib\lib\v8-r\fpv5-sp\hard
or
C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-arm32-eabi\arm-none-eabi\newlib\lib
to the env PATH but I have the same error:

arm-none-eabi-gcc.exe: error: nano.specs: No such file or directory

How can I update the PATH to find th nano.specs files ?



0 件の賞賛
返信

723件の閲覧回数
molo
Contributor I

Changing your compiler version to 10.2 will resolve this issue.
0 件の賞賛
返信