busybox Makefile 수정
글쓴이: alexyoon / 작성시간: 목, 2011/09/22 - 3:04오후
busybox-1.19.2를 컴파일 하는데 아래와 같이 에러가 납니다.
CC applets/applets.o
In file included from include/libbb.h:13,
from include/busybox.h:8,
from applets/applets.c:9:
include/platform.h:149: fatal error: byteswap.h: No such file or directory
compilation terminated.
make[1]: *** [applets/applets.o] 오류 1
make: *** [applets_dir] 오류 2
제 생각에는 byteswap.h는 busybox source directory에는 없으니 /usr/include에 있는 것을 가져오게 해야 할것 같습니다.
그래서 /usr/include를 Makefile에 추가해주어야 할 것 같은데, 어떻게 해야 하느지 잘 모르겠습니다.
혹시 아시는 분은 답변 부탁드립니다.
Forums:
음..
컴파일 옵션으로 -I/usr/include를 추가하시면 될것같습니다.
참고로 -I 는 대문자 아이 입니다. 인클루드 경로 추가하는 옵션입니다.
댓글 달기