在龙芯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