Hi,
When I tried to create an independent project with all the required platform (driver, hal, OSA, system, start_up, utilities, CMSIS, ...) files, following error occurred during the linking.
Error is:
arm-none-eabi-gcc: error: ./Libraies/fatfs/fsl_sd_disk/src/fsl_sd_disk.o: No such file or directory
make: *** [SD.elf] Error 1
While observing the error, I could see that the directory name (Libraries) in linking path "../Libraies/fatfs/fsl_sd_disk/src/fsl_sd_disk.o" is wrong ("r" is missing in "/Libraries").
And also object file "fsl_sd_disk.o" is created in specified directory.
Work around:
Limited the linkage of number of object files by including some of the *.c files to a single .c file and excluding those included *.c files from the project.
After doing this I could create independent project successfully.
Thanks in Advance
Jeemon Joy
Solved! Go to Solution.
Hi Jeemon Joy,
The issue seems to be related with the 8192 character command line limit on Windows. Please take a look to the following post created by our colleague Erich Styger, it explains how to solve this issue:
Solving the 8192 Character Command Line Limit on Windows | MCU on Eclipse
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jeemon Joy,
The issue seems to be related with the 8192 character command line limit on Windows. Please take a look to the following post created by our colleague Erich Styger, it explains how to solve this issue:
Solving the 8192 Character Command Line Limit on Windows | MCU on Eclipse
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Carlos Mendoza,
By following what is mentioned in the link attached in your reply, I could solve the problem.
Thanks a lot Carlos Mendoza.
Also thanks to Erich Styger.
I would like to know whether any limitations in the newly copied executables (.exe).
Regards
Jeemon Joy
Hi Jeemon,
You're welcome, it is good to hear you could solve the problem.
By looking at the release notes, it seems that there are no known problems so far:
Version 2.6.1-201502281154 released | GNU ARM Eclipse
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer