NT Linking prob

Frank Fock Frank.Fock____t-online.de
Tue Apr 10 00:12:40 CEST 2001


Hi Eoin,

RFC1213 MIB does define many objects that are already part
of AGENT++ (i.e., the system group). You will have to remove
these definitions from the generated code first.

Regards,
Frank

Eoin O'Sullivan wrote:

> Hi Folks,
> I hope I am not wasting your time with this problem, as it's probably
> something quite simple.
> I've recently started using your proust and am quite impressed. I'm
> running it on an NT platform, and got the SNMP and AGENT libraries
> built easily, as well as the sample agents.
> However, having used AgentGen to generate code for an agent based
> on RFC1213, I got the following compliation errors in VC6 :
>
> V3Agent.lib(system_group.obj) : error LNK2005: "public: __thiscall
> sysUpTime::sysUpTime(void)" (??0sysUpTime@@QAE at XZ) already defined in
> rfc1213_mib.obj
>
> - I got 92 of these. I've used the same Multithread flag as for the
> libraries, defined the flags etc. Sorry about the stupid question, but I'm
> currently stuck. Maybe someone else new to VC6 has had the same problem in
> linking an agent?
>
> Thanks ( and sorry),
> Eoin

--
Frank Fock - AGENT++
Email: fock____agentpp.com
Fax: +49 7195 177108





More information about the AGENTPP mailing list