Thursday, August 30, 2012

makefile:10: *** missing separator. Stop.

I almost always use spaces instead of tabs because everyone's text editor interprets a TAB differently, so I map TAB to be a number of SPACEs. I spent about 20 minutes trying to figure out why "make" was generating an error of "missing separator". The answer is here:
 CC = $(CROSS_COMPILE)gcc-4.6.1
 LD = $(CROSS_COMPILE)ld
make requires TABS, and I had tabs converted to spaces.
<--tab-->CC = $(CROSS_COMPILE)gcc-4.6.1
<--tab-->LD = $(CROSS_COMPILE)ld
Sheesh...

1 comment: