Hello everyone , I’m very noob to snmp and even compilation in general I used and modified an example agent (static_table) however i would to use it in my project folder but i dont know how to compile it in a good way , if i just do g++ agent.cpp i have sooooo much undefined reference.
I tried something like that
g++ -DHAVE_CONFIG_H -I. -I/SNMP/agent+±4.5.0 -I/SNMP/agent+±4.5.0/include -I/SNMP/agent+±4.5.0/include -pthread -I/usr/local/include -D_GNU_SOURCE -D_XOPEN_SOURCE=XPG6 -g -O2 -pthread -MT agent.o -MD -MP -MF .deps/agent.Tpo -c -o agent.o agent.cpp
But not working too please help me
@AGENTPP Please help me I hope its not too complicate, is there a g++ command ?