This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: fatal error #6001: cannot open file "...linkInfo.xml": Invalid argument

Part Number: TMS320C6678

Hello,

I am dealing with a peculiar  linker error message.

The project I am working with has a linkInfo.xml file which is throwing a fatal error #6001: cannot open file: Invalid argument.

I have not seen this error before and I would like clarification as to what it means.

The linkInfo.xml file exists in the main project directory. Permissions are set to full control for all users.

I have performed a clean on the project and even restarted CCS.

I am using Windows 10 and CCS 10.2

The exact error is below:

<Linking>
fatal error #6001: cannot open file "Core0_linkInfo.xml":  Invalid argument
 

This project has been compiling all along until now.

I changed one library, the IPC library, which I rebuilt according to the instructions in the users guide.

The rebuilt library was rebuilt using the same version of the compiler 8.3.3 as the rest of the project.

Please Advise,

Forrest

  • Well. I figured it out.

    That file is one of many among the files output from the compiler.

    All the files in that particular directory had the same date stamp and so I realized that directory was filled with auto generated files.

    I would have expected the clean operation to clean at least some of those.

    So I deleted the entire bunch of them and recompiled.

    NO ERRORS!

    So, a word to the wise.

    Do not trust build clean to truly clean up your project.

    I had to do this once before in recent months.

    You will have to exit CCS and do a manual clean of your output directory.

    In this particular case, windows explorer would not allow me to delete the xml file.

    I closed everything I could think of and then some and still I needed to restart my machine to delete the xml file.

    Phew!

    I remember working with compilers years ago that required me to do manual clean operations since their compiler tools

    did not sufficiently "clean" sometimes. Sorry to see that is still an issue in 2021.

    Hopefully this helps someone.