こんにちは 奥井です。
> > make xconfig,make,gconfig,make menuconfigとも
> > /usr/include/bits/socket.h:305.24:asm/socket.h:そのようなファイルやディレクトリはありません
> > というメッセージがでました。これは前回と同様に/usr/src/linux2.6.11.4/includeにasm-i386へのリンクファイル asmを作ったらなくなりましたが、次は
> > /usr/include/asm/error.h:4:31:asm-generic/errno.h:そのようなファイルやディレクトリはありません
> > というメッセージがでました。asm-generiもerrno.hもあるんですが。
ln -s /usr/src/linux/include/asm-generic asm-genericで上のエラーはでなくなりました。
しかしやっぱりconfigができません
[root@oldpc linux]# make xconfig これはQtがないので当然だと思います。
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] エラー 1
make: *** [xconfig] エラー 2
[root@oldpc linux]# make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** [scripts/kconfig/.tmp_gtkcheck] エラー 1
make: *** [gconfig] エラー 2
[root@oldpc linux]# make menuconfig
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/lxdialog/checklist.o
scripts/lxdialog/checklist.c:24 から include されたファイル中:
scripts/lxdialog/dialog.h:32:20: curses.h: そのようなファイルやディレクトリはありません
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:130: error: 文法エラー before "use_colors"
scripts/lxdialog/dialog.h:130: 警告: type defaults to `int' in declaration of `use_colors'
scripts/lxdialog/dialog.h:130: 警告: data definition has no type or storage class
scripts/lxdialog/dialog.h:131: error: 文法エラー before "use_shadow"
scripts/lxdialog/dialog.h:131: 警告: type defaults to `int' in declaration of `use_shadow'
scripts/lxdialog/dialog.h:131: 警告: data definition has no type or storage class
scripts/lxdialog/dialog.h:133: error: 文法エラー before "attributes"
scripts/lxdialog/dialog.h:133: 警告: type defaults to `int' in declaration of `attributes'
scripts/lxdialog/dialog.h:133: 警告: data definition has no type or storage class
scripts/lxdialog/dialog.h:146: error: 文法エラー before '*' token
scripts/lxdialog/dialog.h:146: 警告: function declaration isn't a prototype
scripts/lxdialog/dialog.h:149: error: 文法エラー before '*' token
scripts/lxdialog/dialog.h:149: 警告: function declaration isn't a prototype
scripts/lxdialog/dialog.h:150: error: 文法エラー before '*' token
scripts/lxdialog/dialog.h:150: 警告: function declaration isn't a prototype
scripts/lxdialog/dialog.h:151: error: 文法エラー before '*' token
scripts/lxdialog/dialog.h:152: 警告: function declaration isn't a prototype
scripts/lxdialog/dialog.h:153: error: 文法エラー before '*' token
scripts/lxdialog/dialog.h:153: 警告: function declaration isn't a prototype
scripts/lxdialog/checklist.c:32: error: 文法エラー before '*' token
scripts/lxdialog/checklist.c:34: 警告: function declaration isn't a prototype
scripts/lxdialog/checklist.c: 関数 `print_item' 内:
scripts/lxdialog/checklist.c:38: 警告: implicit declaration of function `wattrset'
scripts/lxdialog/checklist.c:38: error: `win' undeclared (first use in this function)
scripts/lxdialog/checklist.c:38: error: (Each undeclared identifier is reported only once
scripts/lxdialog/checklist.c:38: error: for each function it appears in.)
scripts/lxdialog/checklist.c:39: 警告: implicit declaration of function `wmove'
scripts/lxdialog/checklist.c:39: error: `choice' undeclared (first use in this function)
scripts/lxdialog/checklist.c:41: 警告: implicit declaration of function `waddch'
scripts/lxdialog/checklist.c:44: error: `selected' undeclared (first use in this function)
scripts/lxdialog/checklist.c:46: 警告: implicit declaration of function `wprintw'
scripts/lxdialog/checklist.c:46: error: `status' undeclared (first use in this function)
scripts/lxdialog/checklist.c:51: 警告: implicit declaration of function `mvwaddch'
scripts/lxdialog/checklist.c:51: error: `item' undeclared (first use in this function)
scripts/lxdialog/checklist.c:53: 警告: implicit declaration of function `waddstr'
scripts/lxdialog/checklist.c:56: 警告: implicit declaration of function `wrefresh'
scripts/lxdialog/checklist.c: トップレベル:
scripts/lxdialog/checklist.c:64: error: 文法エラー before '*' token
scripts/lxdialog/checklist.c:66: 警告: function declaration isn't a prototype
scripts/lxdialog/checklist.c: 関数 `print_arrows' 内:
scripts/lxdialog/checklist.c:67: error: `win' undeclared (first use in this function)
scripts/lxdialog/checklist.c:67: error: `y' undeclared (first use in this function) scripts/lxdialog/checklist.c:67: error: `x' undeclared (first use in this function) scripts/lxdialog/checklist.c:69: error: `scroll' undeclared (first use in this function)
scripts/lxdialog/checklist.c:82: error: `height' undeclared (first use in this function)
scripts/lxdialog/checklist.c:85: error: `item_no' undeclared (first use in this function)
scripts/lxdialog/checklist.c:85: error: `choice' undeclared (first use in this function)
scripts/lxdialog/checklist.c: トップレベル:
scripts/lxdialog/checklist.c:103: error: 文法エラー before '*' token
scripts/lxdialog/checklist.c:104: 警告: function declaration isn't a prototype
scripts/lxdialog/checklist.c: 関数 `print_buttons' 内:
scripts/lxdialog/checklist.c:105: error: `width' undeclared (first use in this function)
scripts/lxdialog/checklist.c:106: error: `height' undeclared (first use in this function)
scripts/lxdialog/checklist.c:108: error: `dialog' undeclared (first use in this function)
scripts/lxdialog/checklist.c:108: error: `selected' undeclared (first use in this function)
scripts/lxdialog/checklist.c: 関数 `dialog_checklist' 内:
scripts/lxdialog/checklist.c:126: error: `WINDOW' undeclared (first use in this function)
scripts/lxdialog/checklist.c:126: error: `dialog' undeclared (first use in this function)
scripts/lxdialog/checklist.c:126: error: `list' undeclared (first use in this function)
scripts/lxdialog/checklist.c:126: 警告: left-hand operand of comma expression has no effect
scripts/lxdialog/checklist.c:132: 警告: implicit declaration of function `endwin'
scripts/lxdialog/checklist.c:133: 警告: implicit declaration of function `fprintf'
scripts/lxdialog/checklist.c:133: error: `stderr' undeclared (first use in this function)
scripts/lxdialog/checklist.c:150: error: `COLS' undeclared (first use in this function)
scripts/lxdialog/checklist.c:151: error: `LINES' undeclared (first use in this function)
scripts/lxdialog/checklist.c:153: error: `stdscr' undeclared (first use in this function)
scripts/lxdialog/checklist.c:155: 警告: implicit declaration of function `newwin'
scripts/lxdialog/checklist.c:156: 警告: implicit declaration of function `keypad'
scripts/lxdialog/checklist.c:156: error: `TRUE' undeclared (first use in this function)
scripts/lxdialog/checklist.c:189: 警告: implicit declaration of function `subwin'
scripts/lxdialog/checklist.c:221: 警告: implicit declaration of function `wnoutrefresh'
scripts/lxdialog/checklist.c:223: 警告: implicit declaration of function `doupdate' scripts/lxdialog/checklist.c:226: 警告: implicit declaration of function `wgetch'
scripts/lxdialog/checklist.c:233: error: `KEY_UP' undeclared (first use in this function)
scripts/lxdialog/checklist.c:233: error: `KEY_DOWN' undeclared (first use in this function)
scripts/lxdialog/checklist.c:243: error: `FALSE' undeclared (first use in this function)
scripts/lxdialog/checklist.c:244: 警告: implicit declaration of function `scrollok' scripts/lxdialog/checklist.c:245: 警告: implicit declaration of function `wscrl'
scripts/lxdialog/checklist.c:272: error: called object is not a function
scripts/lxdialog/checklist.c:308: 警告: implicit declaration of function `delwin'
scripts/lxdialog/checklist.c:312: error: `KEY_LEFT' undeclared (first use in this function)
scripts/lxdialog/checklist.c:313: error: `KEY_RIGHT' undeclared (first use in this function)
scripts/lxdialog/checklist.c: トップレベル:
scripts/lxdialog/dialog.h:133: 警告: array `attributes' assumed to have one element
make[2]: *** [scripts/lxdialog/checklist.o] エラー 1
make[1]: *** [menuconfig] エラー 2
make: *** [menuconfig] エラー 2
gconfigだけでも使えればと思い以下を実行
apt-get install gtk2-devel
apt-get install glib2
apt-get install libglade
apt-get install libglade2-devel
[root@oldpc linux]# make gconfig
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/gconf.o
In file included from /usr/include/gtk-2.0/gtk/gtkactiongroup.h:34,
from /usr/include/gtk-2.0/gtk/gtk.h:37,
from scripts/kconfig/gconf.c:17:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:53: 警告: function declaration isn't a prototype
scripts/kconfig/images.c:6: 警告: `xpm_load' defined but not used
scripts/kconfig/images.c:36: 警告: `xpm_save' defined but not used
scripts/kconfig/images.c:66: 警告: `xpm_back' defined but not used
scripts/kconfig/images.c:94: 警告: `xpm_tree_view' defined but not used
scripts/kconfig/images.c:121: 警告: `xpm_single_view' defined but not used
scripts/kconfig/images.c:148: 警告: `xpm_split_view' defined but not used
scripts/kconfig/images.c:175: 警告: `xpm_symbol_no' defined but not used
scripts/kconfig/images.c:192: 警告: `xpm_symbol_mod' defined but not used
scripts/kconfig/images.c:209: 警告: `xpm_symbol_yes' defined but not used
scripts/kconfig/images.c:226: 警告: `xpm_choice_no' defined but not used
scripts/kconfig/images.c:243: 警告: `xpm_choice_yes' defined but not used
scripts/kconfig/images.c:277: 警告: `xpm_menu_inv' defined but not used
scripts/kconfig/images.c:294: 警告: `xpm_menuback' defined but not used
scripts/kconfig/gconf.c:942: 警告: `renderer_toggled' defined but not used
HOSTCC scripts/kconfig/kconfig_load.o
HOSTLD scripts/kconfig/gconf
/usr/bin/ld: cannot find -lz
collect2: ld はステータス 1 で終了しました
make[1]: *** [scripts/kconfig/gconf] エラー 1
make: *** [gconfig] エラー 2
となりエラーで実行できません。
どこをどう調べればよいのかわかりません。
何がいけないのかご助言お願いします。