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.

How can I fix this error?

Dear Sir:

     I imported a 5510DSK project into the CCS V5.1 using the “Legacy CCSc3.3 Projects” selection. In the general properties for the project, I selected “DSK5510” and Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator.” I also included the dsk5510bslx.lib and rts55x.lib into my linker file search path.

    However, when I try to build the project, the following message appear on the ‘Console window’

 

**** Build of configuration Debug for project aic23 ****

 

C:\ti\ccsv5\utils\bin\gmake -k all

lib/subdir_vars.mk:9: *** missing separator.  Stop.

**** Build Finished ****

 

The contain of the lib/subdir_vars.mk file are listed:

################################################################################

# Automatically-generated file. Do not edit!

################################################################################

 

# Add inputs and outputs from these tool invocations to the build variables

LIB_SRCS += \

../lib/mcbsp.lib

 

null./lib/mcbsp.exe

 

null"lib\mcbsp.exe"

 

And the lib/subdir_rules.mk file is listed as:

################################################################################

# Automatically-generated file. Do not edit!

################################################################################

 

# Each subdirectory must supply rules for building sources it contributes

lib/mcbsp.exe: ../lib/mcbsp.lib $(GEN_CMDS)

     @echo 'Building file: $<'

     @echo 'Invoking: C5500 Linker'

     "C:/ti/ccsv5/tools/compiler/c5500/bin/cl55" -v5510A --memory_model=large -O2 -g --define="_DEBUG" --quiet --display_error_number --diag_warning=225 --ptrdiff_size=32 --obj_directory="C:/Users/lshyu.CARDIOVASCULAR/workspace_v5_1/aic23/Debug" -z -m"aic23.map" -i"C:/ti/ccsv5/tools/compiler/c5500/lib" -i"C:/ti/ccsv5/tools/compiler/c5500/include" -i"C:/Users/lshyu.CARDIOVASCULAR/workspace_v5_1/aic23" -i"/lib" --reread_libs --warn_sections --rom_model -o "$@" "$<" "../aic23.cmd"

     @echo 'Finished building: $<'

     @echo ' '

 

The same project can be imported into CCS v4 with similar changed on libraries. I have been working on this for two days and was not able to solve the problem. If you can help me on this it will be of great help. Thank you.

 

Yours,

LY Shyu

  • Can you run your project on the DSK board with CCS4 and the Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator setting?

    Regards.

  • Liang-Yu Shyu said:

    lib/subdir_vars.mk:9: *** missing separator.  Stop.

    That error means that there's something wrong with the makefile itself, such as using space characters instead of the tab character, or a missing tab.  We need to see the file exactly as it appears on disk.  Could you post the file subdir_vars.mk as an attachment so that the forum won't reformat it?   In particular, I am suspicious of the appearance of "null"

  • Yes, I can. I can build and run the project with CCS4.

    Yours.

  • Archaeologist said:

    lib/subdir_vars.mk:9: *** missing separator.  Stop.

    That error means that there's something wrong with the makefile itself, such as using space characters instead of the tab character, or a missing tab.  We need to see the file exactly as it appears on disk.  Could you post the file subdir_vars.mk as an attachment so that the forum won't reformat it?   In particular, I am suspicious of the appearance of "null"

    [/quote]
     
    Thank you very much for your reply. Attached please find the zip file of 'subdi_vars.mk.'
     
    Yours.
  • Liang-Yu Shyu said:

    lib/subdir_vars.mk:9: *** missing separator.  Stop.

    Well, the file actually is as it appears on the forum.

    This file looks like it is corrupted.  The lines mentioning mcbsp.exe should not start in the first column.  I don't think the "null" should be there.

    I don't know what this file is supposed to look like, so I can't offer a fix.

    My best guess is that conversion from "Legacy CCSc3.3 Projects" corrupted this file.