Chinaunix首页 | 论坛 | 博客
  • 博客访问: 661540
  • 博文数量: 156
  • 博客积分: 4833
  • 博客等级: 上校
  • 技术积分: 1554
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-21 19:36
文章分类

全部博文(156)

文章存档

2016年(2)

2013年(1)

2012年(13)

2011年(30)

2010年(46)

2009年(29)

2008年(23)

2007年(12)

分类: LINUX

2007-08-29 14:31:01

 
 net-snmp 5.1.2  building options should be

 
 
 CFLAGS="-isystem /usr/local/arm/3.0/arm-linux/include"
 CPPFLAGS="-isystem /usr/local/arm/3.0/arm-linux/include"
   ./configure --target=arm-linux --host=arm --build=i686
   --with-cc=arm-linux-gcc --with-ar=arm-linux-ar
   --with-endianness=little
   --prefix=/usr --exec-prefix=/usr --with-install-prefix=/nfsroot
   ******to build everything

 CFLAGS="-isystem/usr/local/arm/3.0/arm-linux/include"
 CPPFLAGS="-isystem/usr/local/arm/3.0/arm-linux/include"
 ./configure --target=arm-linux --host=arm --build=i686
 --with-cc=arm-linux-gcc --with-ar=arm-linux-ar
 --with-endianness=little
 --disable-applications --disable-manuals --disable-scripts
 --enable-mini-agent --prefix=/usr --exec-prefix=/usr
 --with-install-prefix=/nfsroot                              
 *******for the mini-agent                              
                              
 CFLAGS="-isystem /usr/local/arm/3.0/arm-linux/include"              
 CPPFLAGS="-isystem /usr/local/arm/3.0/arm-linux/include"            
 ./configure --target=arm-linux --host=arm --build=i686              
 --with-cc=arm-linux-gcc --with-ar=arm-linux-ar                      
 --with-endianness=little                              
 --disable-applications --disable-manuals --disable-scripts          
 --prefix=/usr                              
 --exec-prefix=/usr --with-install-prefix=/nfsroot                   
 ******for the standard agent                              
                              
                              
--prefix and --exec-prefix means that net-snmp will be located in /usr    
 of your embedded device ,the difference between both is that one is for share component and the
 other  for specific device i guess  

阅读(2380) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~