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.

Error when building makefile exported from CCStudio v3.3

Other Parts Discussed in Thread: CCSTUDIO

I exported the makefile from CCS, and I want to build the makefile in command prompt without using .pjt, but it appears some errors. I typed: gmake -f <projectName.mak> and below are the errors:

"C:/CCStudio_v3.3/C6000/cgtools/bin/cl6x" -g -pm -pdsw225 -o3 -fr"D:/Test/Debug" -d"_DEBUG" -mf5 -mv6400 --gcc -@"test.Debug.lkf"
': Invalid argumenten command file 'test.Debug.lkf
>> ERROR: no source files, nothing to do
"C:/CCStudio_v3.3/C6000/cgtools/bin/cl6x" -@"test.Debug.lkf"
': Invalid argumenten command file 'test.Debug.lkf
>> ERROR: no source files, nothing to do

I didn't change anything from the makefile exported directly from CCS , except changing the MAKEFILE_DIR to my drive.

Do I need to edit the makefile? Please advise.

  • Hello,

    It is complaining about the generated lkf file. It looks like you are building on Windows. Did you make sure exported the makefile for Windows? The default is UNIX so you did not explicitly specify Windows, it would use the default.

    Thanks

    ki

  • Hi Ki,

    Thanks for your feedback. Yes, you are right, I exported the makefile for UNIX. But after exporting the makefile for Windows, i still encounter some errors:

    <Assembling>
    "D:\Profiles\gmc\LOCALS~1\Temp\0740811", ERROR! at EOF: [E1500] file access error: failed to open "D:/Test/Debug/test.obj" for writing
    "D:\Profiles\gmc\LOCALS~1\Temp\0740811", ERROR! : [E1000] Failed to write object file : D:/Test/Debug/test.obj

    >> Compilation failure
    gmake: *** [Debug\test.obj] Error 1

    Please advise. Thanks.

  • Hi,

    I had the same problem and the same error messages. In case your problem still needs to be solved: Check if the subfolder "Debug" in your path D:/Test/ already exists. If not, create the subfolder manually or choose a different destination for your object file.

    Hope this helps!

  • Hi,

    I also had the same problem and the same error messages ,such as "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\0386011", ERROR!   at EOF: [E1500];"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\0386011", ERROR!  : [E1000] Failed to write.

    But now, I have not any way to solve the problem. If you can help me? Thanks.

    CPPCHINA

     

  • David,

    Two things to check:

    -make sure you have administrator access to the PC

    -check the windows system environment variables and make sure TEMP and TMP are defined to valid locations

    Thanks

    ki