[AGENT++] linking error, msec.cpp:277: undefined reference to `Snmp_pp::msec::m_localtime_mutex'

Jochen Katz katz at agentpp.com
Fri Jun 13 21:06:18 CEST 2014


Hello Michael,

> Invoking: GCC C++ Linker
> g++ -L/usr/local/include/ -L/usr/local/include/snmp_pp/
> -L/usr/local/lib64 -L/usr/lib64/ -pthread -o "snmp++get" ./get_group.o
> ./get_singleMIB.o ./help.o ./mainSnmp++get.o ./usage.o

this command is missing the "-lsnmp++" option.

Regards,
  Jochen


More information about the AGENTPP mailing list