hi i'm trying to compile a project, but ccs reports the following error:
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
subdir_rules.mk:11: *** commands commence before first target. Stop.
**** Build Finished ****
what can i do?
thanks
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.
hi i'm trying to compile a project, but ccs reports the following error:
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
subdir_rules.mk:11: *** commands commence before first target. Stop.
**** Build Finished ****
what can i do?
thanks
This is timely. I am seeing an identical error. I switched (for the first time) from my Debug configuration to my Release configuration, and this is the message I get.
The .mk file looks OK, unless there is something wrong in the GEN_OPTS or GEN_HDRS macros...
A slightly redacted version of the first lines of my .mk files follows. The line breaks are kind of messed up here, but look like proper Makefile stuff in "real life."
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Each subdirectory must supply rules for building sources it contributes
services/fp_alarm.obj: C:/Users/wardw/fp/CCSBand/services/fp_alarm.c $(GEN_OPTS) $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: MSP430 Compiler'
"C:/ti/ccsv5/tools/compiler/msp430_4.2.1/bin/cl430" -vmspx --abi=eabi -O2 --include_path="C:/ti/ccsv5/ccs_base/msp430/includ
e" --include_path="C:/ti/ccsv5/tools/compiler/msp430_4.2.1/include" --advice:power=all --define=__MSP430F5528__ --define=
__ARMSTRONG_V7__=1 --define=__BOSCH_SMB380__=1 --define=__FP_ACTIVE_BAND__=1 --diag_warning=225 --display_error_number --diag_wrap=o
ff --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_wi
th_compile --preproc_dependency="services/fp_alarm.pp" --obj_directory="services" $(GEN_OPTS__FLAG) "$<"
@echo 'Finished building: $<'
@echo ' '
For these generated files, the only time I ran into an issue is when I copied a project from a Windows PC to a Linux machine and tried to build and ran into the usual formatting issue of the files. Otherwise they should just work
Just a note for anyone else who has encountered this issue--I copied over some define symbols for another project and this seemed to leave a newline in the string. This, in turn, will screw up the makefile when it tries to add those defines to the command line compilation for individual source files. Just an FYI! :)