서버관련

libtool: error: specify a tag with '--tag' 에러 발생시

2019. 12. 18. 10:47

컴파일시 아래와 같은 에러가 발생하는데.. 몇시간 애먹었던.. 기억이 있네요.

구글링시에도 어떻게 하라는거 같긴한데. 명확한 부분이 없어 기록해봅니다

libtool: compile: unable to infer tagged configuration 
libtool:   error: specify a tag with '--tag' 
*** Error code 1 

 

vi Makefile 

LIBTOOL = $(SHELL) $(top_builddir)/libtool --tag=CC

--tag=CC 를 추가해주고 컴파일하면 됩니다. ㅎㅎ