在龍芯mips64el平台編譯bmon


bmon 是一個 實時命令行流量監控軟件,但作者在github並沒有提供mips64el的版本。下面記錄一下編譯過程。可以在這里下載bmon.v4.0.linux-mips64el.tar.gz

bmon

環境

OperationSystem  CentOSLinux
Architecture     mips64el
CPU(s)           8
Modelname        Loongson-3AR4(Loongson-3B4000)
KernelVersion    4.19.90-1.nk7_5.18.mips64el
MemoryTotal      63.0928G

編譯過程

# clone代碼
git clone https://github.com/tgraf/bmon.git
cd bmon

# 安裝依賴
yum install automake autoconf ncurses-devel libconfuse-devel libconfuse libnl3-devel

# 生成 configure文件
./autogen.sh

# 編譯
./configure --build=mips64el
make
make install
bmon

官方提供的編譯文檔已經夠詳細的,在./configure這一步遇到報錯configure: error: cannot guess build type; you must specify one ,加上--build=mips64el參數即可。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM