I\'m interested in mathematics and Daoism. Welcome to talk about these subjects with me.
分类: C/C++
2013-01-29 15:20:05
1)下载makefile
wget http://ncu.dl.sourceforge.net/project/nmon/makefile
修改makefile。把其中的CFLAGS改为:
CFLAGS=-g -O2 -D GETUSER -Wall -O LARGEMEM
2) 下载源代码:
wget http://ncu.dl.sourceforge.net/project/nmon/lmon14g.c
然后把源代码改名为lmon.c
3) 安装ncurses:
yum install ncurses-devel
4) 编译:
make nmon_x86_rhel52
java33445202016-03-07 19:59:50
[root@hc nmon]# make nmon_x86_64_centos6
make: *** No rule to make target `nmon_x86_64_centos6\'. Stop.
为什么我编译的时候出错?