-
Net-SNMP configuration summary:
-
SNMP Versions Supported:1 2c 3
Building for: solaris2
Net-SNMP Version: 5.5
Network t
You don't have problems with snmp-lib, but with basic codings: you don't
have main() defined at all (certainly if this is all your code!).
Or if you have this as a module, you have to compile it with "-c" option,
see gcc manual for details on options.
Tomas
On Wed, 12 May 2010, Alexander Shiko
Hello,
I started to learn C API of net-snmp package, and I have a problem with
compiling simple application on FreeBSD 7.2 with net-snmp 5.4.2:
# cc -O2 -fno-strict-aliasing -pipe -march=athlon-mp -g -I/usr/local/include
-I. -L /usr/local/lib -o mib.o -lnetsnmp mib.c
/usr/lib/crt1.o(.text+0x7b):
I'm developing an app using net-snmp library version 5.5 on 64bit Linux.
The reading is asynchronous. I have this piece of code:
if (pdu->errstat == SNMP_ERR_NOERROR) {
while (vp) {
snprint_variable(buf, sizeof(buf), vp->name,
vp->name_length, v