摘要: 参考:http://blog.chinaunix.net/uid-25513153-id-212328.html 一、zebra安装 1、编译安装 vim ./lib/zebra.h +103 增加: #ifdef GNU_LINUX #define __USE_GNU #endif ./configure sudo make sudo make install 2、配置... 阅读全文
posted @ 2015-10-16 23:57 SuperTao1024 阅读(991) 评论(0) 推荐(0) 编辑
摘要: 1、编译动态库 将写完的snmp代理程序编译生成动态库 gcc -c -fpic telnetConfig.c -o telnetConfig.o -I/usr/local/net-snmp/include gcc -shared telnetConfig.o -o libtelnetConfig. 阅读全文
posted @ 2015-10-16 23:35 SuperTao1024 阅读(2056) 评论(0) 推荐(0) 编辑