2015年3月9日 星期一

Mint 17.1 32bits下compile memtest86+注意事項

不知道是否是linux kernel 版本號更新還是怎樣,當使用較新版的Mint進行compile memtets86+時,出現#include 找不到。
解決辦法:
sudo apt-get update && sudo apt-get install build-essential linux-headers-$(uname -r)
就搞定了!

另一個問題是,編譯時使用gcc 4.8.2產生的執行檔會當機,因此再使用Synapptic 進行安裝 gcc 4.4版,另外再將makefile :
CC=gcc改成CC=gcc-4.4,重新編譯,就可以了!
--> 閱讀更多...