[AGENT++] MSVS project file for cmd_exe_mib example

Jochen Katz katz at agentpp.com
Wed Oct 20 22:23:24 CEST 2010


Hi,

> libsnmp++.lib(log.obj) : error LNK2005: "public: static class AgentLog *
> __cdecl DefaultLog::log(void)" (?log at DefaultLog@@SAPAVAgentLog@@XZ) already
> defined in cmd_exe_mib.obj

did you get any warnings before? Did you modify cmd_exe_mib.cpp? There
should never be DefaultLog::log() defined in cmd_exe_mib.cpp, because it
is only implemented in log.cpp.

Regards,
  Jochen



More information about the AGENTPP mailing list