'Makefile'에 해당되는 글 2건

  1. 2016.10.25 Error space or tab in Makefile
  2. 2016.10.14 Makefile : missing separator. Stop


Got the error because there are space or tab  character at the end of line in Makefile.


#Makefile

...

32 LOCAL_SRCS    := $(LOCAL_PATH)/main.cpp \    

33                                $(LOCAL_PATH)/manager.cpp 


...

공백 있다고 컴파일 에러 뱉음...

그럼 맨뒤에 공백 대신 탭 쓰면 괜찮으려나..

~/work/app/Makefile.inc:32: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.



해보니 안됨..-_-;;;

환경 : Linux xxxx 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

ARM CC : linaro-armv7ahf-2015.11-gcc5.2/arm-linux-gnueabihf


Posted by 라퀴옹
,



$ make

/work/myapp/make.inc:48: *** missing separator.  Stop.


48번째 라인으로 이동...

tab 이 빠졌다고 한다..



Posted by 라퀴옹
,