AnsweredAssumed Answered

Object file linking problem

Question asked by Jeemon Joy on Jul 13, 2015
Latest reply on Jul 20, 2015 by Carlos_Mendoza


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.


Is there any limitations on linking the number of object files?


Thanks in Advance

Jeemon Joy