2017-12-13 4 views
0

私は2.xyzのための最新のLinuxカーネルのコードを持って、私のLinux 4.0Linux端末で「make xconfig」を実行したときに、「gconfigが失敗しました」というターゲットとなるレシピは何ですか?

1) に、これまでの手順を実行しなかった私はLinuxドライバには本当に新しいですし、私はLinuxカーネル2.6をコンパイルしようとしています、

そしてタールを抽出(.tar.bz3)以下にするために試してみてください

2)インストール済みのgcc、

apt-get install gcc 

3)ファイルが、それらのすべてがエラーで発生しました:

make menuconfig 

make xconfig 

make gconfig 

エラー:

[email protected]:~/Desktop/linux-2.6.9# make gconfig 
    HOSTCC scripts/basic/fixdep 
scripts/basic/fixdep.c: In function ‘traps’: 
scripts/basic/fixdep.c:368:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 
    if (*(int *)test != INT_CONF) { 
^
scripts/basic/fixdep.c:370:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 
    *(int *)test); 
    ^
    HOSTCC scripts/basic/split-include 
scripts/basic/split-include.c: In function ‘main’: 
scripts/basic/split-include.c:133:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 
     fgets(old_line, buffer_size, fp_target); 
    ^
    HOSTCC scripts/basic/docproc 
* 
* 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. 
* 
    HOSTCC scripts/kconfig/conf.o 
scripts/kconfig/conf.c: In function ‘conf_string’: 
scripts/kconfig/conf.c:164:20: warning: variable ‘help’ set but not used [-Wunused-but-set-variable] 
    const char *def, *help; 
        ^
scripts/kconfig/conf.c: In function ‘conf_sym’: 
scripts/kconfig/conf.c:198:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable] 
    int type; 
    ^
scripts/kconfig/conf.c: In function ‘conf_choice’: 
scripts/kconfig/conf.c:273:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable] 
    int type; 
    ^
scripts/kconfig/conf.c: In function ‘conf_askvalue’: 
scripts/kconfig/conf.c:94:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 
    fgets(line, 128, stdin); 
^
scripts/kconfig/conf.c: In function ‘conf_choice’: 
scripts/kconfig/conf.c:350:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 
    fgets(line, 128, stdin); 
    ^
make[1]: *** No rule to make target 'scripts/kconfig/.tmp_gtkcheck', needed by 'scripts/kconfig/gconf.o'. Stop. 
Makefile:429: recipe for target 'gconfig' failed 
make: *** [gconfig] Error 2 

私はundrestandする助けてください!

+0

申し訳ありませんが、StackOverflowのために定義された通り、このQは、プログラミングに関するものではありません。 ** http://unix.stackexchange.comまたはhttp://superuser.comで**より適切な**ことがあります。あなたのQの下にある 'flag'リンクを使って、司会者にそれを移動するように依頼してください。 2つの異なるサイトに同じQを投稿しないでください。 https://stackoverflow.com/help/on-topic、https://stackoverflow.com/help/how-to-ask、https://stackoverflow.com/help/dont-askおよびhttps://をお読みください。ここにQを投稿する前に、stackoverflow.com/help/mcveをご覧ください。幸運 – shellter

+0

これまでに述べたことを読んだことがありますか?* GTK +のインストールが見つかりません。 GTK + 2.0開発パッケージが正しくインストールされていることを確認してください... gtk + -2.0、glib-2.0、libglade-2.0が必要です。 – 0andriy

答えて

0

gtk2.0をインストールするために、あなたの端末で以下の書き込みとlibgtk2.0-devの

sudo apt-get install gtk2.0 

sudo apt-get install build-essential libgtk2.0-dev 
関連する問題