5 Replies Latest reply on Apr 27, 2014 2:24 PM by JoMe_264151

    cannot find -lcs3, cannot find -lcs3unhosted, cannot find -lcs3micro



      I'm relatively new to PSOC programming and was trying to build on an existing project that I found interesting. However, the project has a linker script that is giving me some trouble- there's a line at the top which says


      GROUP(-lgcc -lc -lcs3 -lcs3unhosted -lcs3micro)


      and I get the following Build Errors:


      ERROR: cannot find -lcs3
      ERROR: cannot find -lcs3unhosted
      ERROR: cannot find -lcs3micro
      collect2.exe: error: ld returned 1 exit status
      The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.


      I was wondering if someone has seen such an error before and if yes, what is the best way to fix it. While playing around with it, I found that commenting it out causes an error in the function Start_c  in the file Cm3Start.c in cy_boot.


      I have attached the linker file as well.


      Any help would be really appreciated, thanks!