连接错误如下:
aCC -AA -o snmp.exe aa1.o aa2.o aa3.o -L/usr/local/libfor3.8.7 -L/lib -L/usr/local/lib -L/usr/local/unixODBC/lib -L/usr/local/ssl/lib -lodbc -lnetsnmp -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lcrypto -lm -lssl -lpthread
/usr/ccs/bin/ld: Unsatisfied symbols:
clear_user_list (first referenced in /usr/local/lib/libnetsnmpagent.a(snmp_vars.o)) (code)
netsnmp_oid_stash_free (first referenced in /usr/local/lib/libnetsnmphelpers.a(table.o)) (code)
....
我用的是net-snmp Version: 5.2.1
那位有建议不胜感谢!
aCC -AA -o snmp.exe aa1.o aa2.o aa3.o -L/usr/local/libfor3.8.7 -L/lib -L/usr/local/lib -L/usr/local/unixODBC/lib -L/usr/local/ssl/lib -lodbc -lnetsnmp -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lcrypto -lm -lssl -lpthread
/usr/ccs/bin/ld: Unsatisfied symbols:
clear_user_list (first referenced in /usr/local/lib/libnetsnmpagent.a(snmp_vars.o)) (code)
netsnmp_oid_stash_free (first referenced in /usr/local/lib/libnetsnmphelpers.a(table.o)) (code)
....
我用的是net-snmp Version: 5.2.1
那位有建议不胜感谢!