autoconf 와 automake
글쓴이: scoh98 / 작성시간: 월, 2005/05/23 - 10:17오전
이번에 새로 autoconf 와 automake 를 써 보려하는데
./automake 실행시 다음과 같이 에러가 납니다.
/usr/bin/automake: `--output-dir' is deprecated
그래도 그냥 무시하고
./configure 를 쳤더니 여러 no 항목이 걸리네요. 그런데 제가 pthread 를 쓰거든요.
아래와 같이 -lpthread 가 no 로 나옵니다. 그냥 코멘트 창에서 g++ xxx.cpp -lpthread 하면 컴파일 잘 되는데 말이죠.
이상하네요...
어떻게 하면 되나요?
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking for pthread_create in -lpthread... no
Forums:
pthread_create 함수를 테스트 해보세요.
pthread_create 함수를 테스트 해보세요.
deprecated 는 예전에 사용했지만 이제 사용하지 않는 쪽이 좋다.
deprecated 는 예전에 사용했지만 이제 사용하지 않는 쪽이 좋다. 혹은 사용하지 마라 정도로 생각하시면 됩니다.
보통 저런것들은 대신 할 다른 것을 준비해 둡니다. 비슷한 역할을 하는 다른 것을 찾아보세요.
지금은 호환을 위해 지원해 주더라도 추후 버전이 올라가면 완전히 사라질 수도 있므로 수정해 주는 것이 좋습니다.
댓글 달기