[AGENT++] Linker error

Jochen Katz katz at agentpp.com
Thu Jan 5 00:11:03 CET 2006


Hi,

> I have successfully compiled the static libs for snmp++ and  agent++,
> now  i  am trying to compile for one test  agent ..... i m getting
> following linker errors .... i will be grateful  if someone can help
> me in this.... totally stcked in it ;(
> 
> 1)  Agent error LNK2019: unresolved external symbol
> _des_ncbc_encrypt referenced in function "public: virtual int

did you change config_snmp_pp.h to use opensll? In this case you have to
add "-lssl" to the linker command of the example makefiles.

If you didn't change config_snmp_pp.h: download libdes from agentpp.com
(from snmp++3.x downloads) and unpack it into the directory where snmp++
and agent++ are. Don't forget to build it (just a "make") and the
example makefiles will find and use libdes.

Regards,
  Jochen



More information about the AGENTPP mailing list