[AGENT++] Linker errors in VC++ 6

Branko Mažar branko.mazar at fer.hr
Fri Apr 2 10:05:23 CEST 2004


I have successfully built snmp++, agent++ and agentX++ libraries on Windows, named snmp.lib, agent.lib, agentX.lib. When I am compiling any of the example agents all goes well, but when linking the example agents, I get a bunch of linker errors. Something like this (not all here):

snmp.lib(address.obj) : error LNK2001: unresolved external symbol _isxdigit
snmp.lib(address.obj) : error LNK2001: unresolved external symbol _isdigit
snmp.lib(oid.obj) : error LNK2001: unresolved external symbol _isdigit
snmp.lib(oid.obj) : error LNK2001: unresolved external symbol _strcat
snmp.lib(msec.obj) : error LNK2001: unresolved external symbol _strcat
agent.lib(log.obj) : error LNK2001: unresolved external symbol _strcat
agent.lib(tools.obj) : error LNK2001: unresolved external symbol _strcat
snmp.lib(ctr64.obj) : error LNK2001: unresolved external symbol __fltused
snmp.lib(ctr64.obj) : error LNK2001: unresolved external symbol __ftol
agent.lib(mib_context.obj) : error LNK2001: unresolved external symbol _fclose
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _fclose
snmp.lib(usm_v3.obj) : error LNK2001: unresolved external symbol _fclose
agent.lib(log.obj) : error LNK2001: unresolved external symbol _fclose
agent.lib(mib_entry.obj) : error LNK2001: unresolved external symbol _fclose
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _fprintf
agent.lib(log.obj) : error LNK2001: unresolved external symbol _fprintf
agent.lib(mib_context.obj) : error LNK2001: unresolved external symbol _fopen
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _fopen
snmp.lib(usm_v3.obj) : error LNK2001: unresolved external symbol _fopen
agent.lib(log.obj) : error LNK2001: unresolved external symbol _fopen
agent.lib(mib_entry.obj) : error LNK2001: unresolved external symbol _fopen
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _vfprintf
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _strncmp
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _fgets
snmp.lib(usm_v3.obj) : error LNK2001: unresolved external symbol _fgets
snmp.lib(v3.obj) : error LNK2001: unresolved external symbol _rename

I included all libs in example agent project, include paths, etc. 
I would greatly appreciate if someone could exactly explain me what to do, that is what exact settings i have to make to link it correctly.

Thanks,
Branko Mazar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20040402/953aba41/attachment.htm 


More information about the AGENTPP mailing list