[问题]linux2.6编译问题

内核编译和嵌入式产品的设计与开发
回复
xxmv99
帖子: 166
注册时间: 2007-12-26 11:02
送出感谢: 0
接收感谢: 0

[问题]linux2.6编译问题

#1

帖子 xxmv99 » 2008-01-30 18:16

代码: 全选

xxmv99@xxmv99-desktop:~  nux-2.6.24$ make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog ecklist.o
In file included from scripts/kconfig/lxdialog ecklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog ecklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog ecklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog ecklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog ecklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog ecklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog ecklist.c:116: error: ‘WINDOW’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:116: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog ecklist.c:116: error: for each function it appears in.)
scripts/kconfig/lxdialog ecklist.c:116: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:116: error: ‘list’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog ecklist.c:129: warning: implicit declaration of function ‘getmaxy’
scripts/kconfig/lxdialog ecklist.c:129: error: ‘stdscr’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:130: error: ‘KEY_MAX’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:131: warning: implicit declaration of function ‘getmaxx’
scripts/kconfig/lxdialog ecklist.c:137: error: ‘COLS’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:138: error: ‘LINES’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:140: warning: implicit declaration of function ‘draw_shadow’
scripts/kconfig/lxdialog ecklist.c:142: warning: implicit declaration of function ‘newwin’
scripts/kconfig/lxdialog ecklist.c:143: warning: implicit declaration of function ‘keypad’
scripts/kconfig/lxdialog ecklist.c:143: error: ‘TRUE’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:145: warning: implicit declaration of function ‘draw_box’
scripts/kconfig/lxdialog ecklist.c:146: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:146: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:147: warning: implicit declaration of function ‘wattrset’
scripts/kconfig/lxdialog ecklist.c:147: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:148: warning: implicit declaration of function ‘mvwaddch’
scripts/kconfig/lxdialog ecklist.c:150: warning: implicit declaration of function ‘waddch’
scripts/kconfig/lxdialog ecklist.c:151: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:154: warning: implicit declaration of function ‘print_title’
scripts/kconfig/lxdialog ecklist.c:156: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:157: warning: implicit declaration of function ‘print_autowrap’
scripts/kconfig/lxdialog ecklist.c:164: warning: implicit declaration of function ‘subwin’
scripts/kconfig/lxdialog ecklist.c:171: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:171: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog ecklist.c:189: warning: implicit declaration of function ‘print_item’
scripts/kconfig/lxdialog ecklist.c:192: warning: implicit declaration of function ‘print_arrows’
scripts/kconfig/lxdialog ecklist.c:195: warning: implicit declaration of function ‘print_buttons’
scripts/kconfig/lxdialog ecklist.c:197: warning: implicit declaration of function ‘wnoutrefresh’
scripts/kconfig/lxdialog ecklist.c:199: warning: implicit declaration of function ‘doupdate’
scripts/kconfig/lxdialog ecklist.c:202: warning: implicit declaration of function ‘wgetch’
scripts/kconfig/lxdialog ecklist.c:210: error: ‘KEY_UP’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:210: error: ‘KEY_DOWN’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:220: error: ‘FALSE’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:221: warning: implicit declaration of function ‘scrollok’
scripts/kconfig/lxdialog ecklist.c:222: warning: implicit declaration of function ‘wscrl’
scripts/kconfig/lxdialog ecklist.c:232: warning: implicit declaration of function ‘wrefresh’
scripts/kconfig/lxdialog ecklist.c:293: warning: implicit declaration of function ‘delwin’
scripts/kconfig/lxdialog ecklist.c:297: error: ‘KEY_LEFT’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:298: error: ‘KEY_RIGHT’ undeclared (first use in this function)
scripts/kconfig/lxdialog ecklist.c:310: warning: implicit declaration of function ‘on_key_esc’
scripts/kconfig/lxdialog ecklist.c:312: error: ‘KEY_RESIZE’ undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog ecklist.o] Error 1
make: *** [menuconfig] Error 2
xxmv99@xxmv99-desktop:~  nux-2.6.24$


make xconfig也过不过,没装qt3.一定要装qt3么?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
送出感谢: 0
接收感谢: 7 次
联系:

#2

帖子 BigSnake.NET » 2008-01-30 19:16

xconfig 一定要qt3
没qt就 menuconfig , 需要 ncurses
再没有就 config 吧
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
xxmv99
帖子: 166
注册时间: 2007-12-26 11:02
送出感谢: 0
接收感谢: 0

#3

帖子 xxmv99 » 2008-01-31 0:30

BigSnake.NET 写了:xconfig 一定要qt3
没qt就 menuconfig , 需要 ncurses
再没有就 config 吧


明白它们之间的关系了.tks

现在暂时不装qt3,ncurses是什么包?

代码: 全选

sudo apt-get install ncurses
吗?

现在没有u在身边,明天试试. :P
回复

回到 “内核及嵌入式开发”