질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

make menuconfig 진입시 에러

작성자 정보

  • 윤형원 작성
  • 작성일

컨텐츠 정보

  • 35,629 조회
  • 3 댓글
  • 0 추천
  • 목록

본문

안녕하세요.

리눅스 커널을 업데이트에 도전하고 있던 중이였습니다.

make munuconfig 를 실행할 차례였는데 에러가 나면서 진행이 안됩니다.ㅠㅠ

에러 메시지는 아래와 같습니다.

[root@localhost linux]# make menuconfig
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or direct
ory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list b
efore ?쁟htype?
셲cripts/kconfig/lxdialog/dialog.h:187: error: expected ????before ????t
oken
scripts/kconfig/lxdialog/dialog.h:193: error: expected ????before ????to
ken
scripts/kconfig/lxdialog/dialog.h:195: error: expected ????before ????to
ken
scripts/kconfig/lxdialog/dialog.h:196: error: expected ????before ????to
ken
scripts/kconfig/lxdialog/dialog.h:197: error: expected ????before ????to
ken
scripts/kconfig/lxdialog/dialog.h:198: error: expected ????before ????to
ken
scripts/kconfig/lxdialog/dialog.h:200: error: expected ????before ????to
ken
scripts/kconfig/lxdialog/checklist.c:31: error: expected ????before ????
token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ????before ????
token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ????before ????
token
scripts/kconfig/lxdialog/checklist.c: In function ?쁡ialog_checklist??
scripts/kconfig/lxdialog/checklist.c:116: error: ?쁗INDOW??undeclared (first
use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is
reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in
.)
scripts/kconfig/lxdialog/checklist.c:116: error: ?쁡ialog??undeclared (first
use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: ?쁫ist??undeclared (first us
e in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma ex
pression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of funct
ion ?쁤etmaxy?
셲cripts/kconfig/lxdialog/checklist.c:129: error: ?쁲tdscr??undeclared (first
 use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: ?쁊EY_MAX??undeclared (first
 use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of funct
ion ?쁤etmaxx?
셲cripts/kconfig/lxdialog/checklist.c:137: error: ?쁂OLS??undeclared (first u
se in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: ?쁋INES??undeclared (first u
se in this function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of funct
ion ?쁡raw_shadow?
셲cripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of func
tion ?쁭ewwin?
셲cripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of func
tion ?쁪eypad?
셲cripts/kconfig/lxdialog/checklist.c:143: error: ?쁔RUE??undeclared (first u
se in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of funct
ion ?쁡raw_box?
셲cripts/kconfig/lxdialog/checklist.c:146: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:146: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of func
tion ?쁶attrset?
셲cripts/kconfig/lxdialog/checklist.c:147: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of func
tion ?쁬vwaddch?
셲cripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of func
tion ?쁶addch?
셲cripts/kconfig/lxdialog/checklist.c:151: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of func
tion ?쁯rint_title?
셲cripts/kconfig/lxdialog/checklist.c:156: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of func
tion ?쁯rint_autowrap?
셲cripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of func
tion ?쁲ubwin?
셲cripts/kconfig/lxdialog/checklist.c:171: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:171: error: ?쁲truct dialog_color??has
no member named ?쁝tr?
셲cripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of func
tion ?쁯rint_item?
셲cripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of func
tion ?쁯rint_arrows?
셲cripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of func
tion ?쁯rint_buttons?
셲cripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of func
tion ?쁶noutrefresh?
셲cripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of func
tion ?쁡oupdate?
셲cripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of func
tion ?쁶getch?
셲cripts/kconfig/lxdialog/checklist.c:210: error: ?쁊EY_UP??undeclared (first
 use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: ?쁊EY_DOWN??undeclared (firs
t use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: ?쁅ALSE??undeclared (first u
se in this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of funct
ion ?쁲crollok?
셲cripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of func
tion ?쁶scrl?
셲cripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of func
tion ?쁶refresh?
셲cripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of func
tion ?쁡elwin?
셲cripts/kconfig/lxdialog/checklist.c:297: error: ?쁊EY_LEFT??undeclared (fir
st use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: ?쁊EY_RIGHT??undeclared (fir
st use in this function)
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of funct
ion ?쁮n_key_esc?
셲cripts/kconfig/lxdialog/checklist.c:312: error: ?쁊EY_RESIZE??undeclared (f
irst use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2

왜 이런 메시지가 나오는것일까요?

CentOS 책보면서 하는데 미치겠네요.ㅠㅠ

고수님들의 성은을 기다립니다.

관련자료

댓글 3

막둥이님의 댓글

  • 막둥이
  • 작성일
error: curses.h: No such file or directory 라고 에러 메세지가 나오네요

ncurses-devel 패키지를 설치 하세요

윤형원님의 댓글

  • 윤형원
  • 작성일
답변 감사합니다. 설치해보고 안되면 또 여쭈어 봐도 될까요?

윤형원님의 댓글

  • 윤형원
  • 작성일
오 정말 감사합니다.
덕분에 잘 되네요^^

정말 감사하고 고맙습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,033 명
  • 현재 강좌수 :  35,780 개
  • 현재 접속자 :  179 명