make menuconfig 에러 질문입니다.
red hat 9.0
========
커널 2.6.2를 컴파일 하는 중입니다.
make mrproper는 정상적으로 끝냈고
make menuconfig 를 했는데 아래와 같이 나옵니다.
일단 찾을 수 없다고 나온 파일들은 모두 있는 상태입니다.
아마도 링크가 잘 못 걸린 것 같은데, 어떤 링크가 잘못된 것인지 도와주세요.
==============================================================
[root@lovejin linux]# make menuconfig
HOSTCC scripts/fixdep
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11,
from scripts/fixdep.c:105:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: 그런 파일이나 디렉토리가 없음
scripts/fixdep.c: In function `use_config':
scripts/fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: for each function it appears in.)
scripts/fixdep.c:193: warning: unused variable `s'
scripts/fixdep.c: In function `parse_dep_file':
scripts/fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable `s'
make[1]: *** [scripts/fixdep] 오류 1
make: *** [scripts/fixdep] 오류 2
검색해보니..
비슷한 질문에
http://linux.derkeiler.com/Newsgroups/alt.linux/2003-09/0003.html
이런 답변이..(정답인지는 모르겠습니다만..glibc의 문제인듯)
http://redage.net
ncurse가 설치되어 있지 않아서 생기는 문제같습니다.
ncurse가 설치되어 있지 않아서 생기는 문제같습니다.
make menuconfig는 화면 입출력에 ncurse library를 사용하기 때문에 반드시 ncurse가 설치되어 있어야 합니다.
다음과 같이 실행해서...
# rpm -qa | grep ncurse
나오는 출력이 적어도 다음 두개는 꼭 있어야 합니다.
ncurses-devel-5.3.110
ncurses-5.3.110
void main(void)
{
char *brain;
brain = malloc(sizeof(stress));
free(brain);
}
뭐든지 답은 간단한데서 시작한다.
댓글 달기