Chinaunix首页 | 论坛 | 博客
  • 博客访问: 452648
  • 博文数量: 80
  • 博客积分: 2301
  • 博客等级: 大尉
  • 技术积分: 884
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-16 20:07
个人简介

I\'m interested in mathematics and Daoism. Welcome to talk about these subjects with me.

文章分类

全部博文(80)

文章存档

2017年(2)

2016年(16)

2015年(4)

2014年(6)

2013年(22)

2012年(2)

2011年(1)

2010年(4)

2009年(20)

2008年(2)

2007年(1)

我的朋友

分类: 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


阅读(2894) | 评论(1) | 转发(0) |
0

上一篇:gdb 小技巧

下一篇:is_valid_ip_addr

给主人留下些什么吧!~~

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.

为什么我编译的时候出错?