最近コンパイルサーバを構築するために、再びリードする、サーバーの崩壊をコンパイルします。過去には多くの権利ではない、その結果、Ubuntuのに16.04のリリースを使用して再インストールした後は、Ubuntu 12.04のバージョンを使用して。次は、特定の状況を見てください。
コマンドをインストールしてください
須藤はapt-getをインストールメイク
コンパイルエラー
環境:チーH5チップ
次のようにしかし、Linuxカーネルをコンパイルすることは与えられます。
Cleaning kernel ...
drivers/video/sunxi/disp2/disp/de//Makefile:18: *** Too many open files. Stop.
scripts/Makefile.clean:94: recipe for target 'drivers/video/sunxi/disp2/disp' failed
make[3]: *** [drivers/video/sunxi/disp2/disp] Error 2
scripts/Makefile.clean:94: recipe for target 'drivers/video/sunxi' failed
make[2]: *** [drivers/video/sunxi] Error 2
scripts/Makefile.clean:94: recipe for target 'drivers/video' failed
make[1]: *** [drivers/video] Error 2
Makefile:1038: recipe for target '_clean_drivers' failed
make: *** [_clean_drivers] Error 2
Building kernel
/home/hudson/.hudson/jobs/AllWinnerH5/workspace/AllWinnerH5.Android5.1/lichee/linux-3.10/output/lib/modules/3.10.65
Copy rootfs.cpio.gz for arm64
HOSTCC scripts/basic/fixdep
/bin/sh: 1: gcc: not found
scripts/Makefile.host:118: recipe for target 'scripts/basic/fixdep' failed
make[2]: *** [scripts/basic/fixdep] Error 127
/home/hudson/.hudson/jobs/AllWinnerH5/workspace/AllWinnerH5.Android5.1/lichee/linux-3.10/Makefile:419: recipe for target 'scripts_basic' failed
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
ソリューション
makeコマンドのバージョンを削減
1、makeコマンドのバージョンを参照してください
-v作ります
hudson@hudson121:~/.hudson/jobs/AllWinnerH5/workspace/AllWinnerH5.Android5.1/lichee$ make -v
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
2.ダウンロード
住所:http://ftp.gnu.org/gnu/make/
コマンド:wgetをhttp://ftp.gnu.org/gnu/make/make-3.81.tar.gz
3、解凍
コマンド:タールXFが作る-3.81.tar.gz
4、設定
./configure --prefix =は/ usr / local /メイク3.81
コンパイル5、
build.sh SH
6、交換してください
sudoのcpはメイクは/ usr / binに/作ります
結論
次に、このコマンドは(-vを作る)バージョン3.81をダウンあります表示します。これは、メイクの縮小版を完了します。あなたは以下のメッセージを残すことができ、何を理解していません。その助けはあなたが、少し賞賛を残してください、ありがとうございました!