编译net-snmp测试程序引用libnetsnmp.a库,编译报如下错误,网上查了下,需要在编译的时候引用-lrt库,增加后编译成功。
cc -g -o container_test container-snmp-demo.c -lnetsnmp -lcrypto -lrt -L./libs
wx61307a0120efd 博主文章分类:SNMP 协议简介与开发 ©著作权
编译net-snmp测试程序引用libnetsnmp.a库,编译报如下错误,网上查了下,需要在编译的时候引用-lrt库,增加后编译成功。
cc -g -o container_test container-snmp-demo.c -lnetsnmp -lcrypto -lrt -L./libs
eference to 'p
第一个参数有下面几种选项。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M