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.
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; ...
--
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.