build Net-SNMP error by VC6

"Xia Zhongwu" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi, all
I build Net-SNMP by the way of "Microsoft Visual C++ - Workspace -
Building" according readme.win32, but failed -_-://
My environment is : WinXP SP2, VC6.
I can build sucessfully by the way of "Microsoft Visual C++ - Configure
/ nmake - Building"
Following is output information of snmpbulkget project.
   
 
--------------------Configuration: snmpbulkget - Win32
Release--------------------
Compiling...
snmpbulkget.c
Linking...
   Creating library ../bin/release/snmpbulkget.lib and object
../bin/release/snmpbulkget.exp
LINK : warning LNK4049: locally defined symbol "_snmp_perror" imported
LINK : warning LNK4049: locally defined symbol "_netsnmp_calloc"
imported
LINK : warning LNK4049: locally defined symbol "_netsnmp_free" imported
LINK : warning LNK4049: locally defined symbol "_netsnmp_malloc"
imported
LINK : warning LNK4049: locally defined symbol "_usmDESPrivProtocol"
imported
LINK : warning LNK4049: locally defined symbol
"_usmHMACSHA1AuthProtocol" imported
LINK : warning LNK4049: locally defined symbol "_usmHMACMD5AuthProtocol"
imported
LINK : warning LNK4049: locally defined symbol "_netsnmp_strdup"
imported
LINK : warning LNK4049: locally defined symbol "_usmNoPrivProtocol"
imported
LINK : warning LNK4049: locally defined symbol "_usmNoAuthProtocol"
imported
LINK : warning LNK4049: locally defined symbol "_netsnmp_realloc"
imported
LINK : warning LNK4049: locally defined symbol "_snmp_set_detail"
imported
LINK : warning LNK4049: locally defined symbol "_snmp_errno" imported
LINK : warning LNK4049: locally defined symbol "_netsnmpUDPDomain_len"
imported
LINK : warning LNK4049: locally defined symbol "_netsnmpUDPDomain"
imported
snmpbulkget.obj : error LNK2001: unresolved external symbol
__imp__optarg
netsnmp.lib(snmp_parse_args.obj) : error LNK2001: unresolved external
symbol __imp__optarg
netsnmp.lib(snmp_parse_args.obj) : error LNK2001: unresolved external
symbol __imp__getopt
netsnmp.lib(snmp_parse_args.obj) : error LNK2001: unresolved external
symbol __imp__optind
netsnmp.lib(mib.obj) : error LNK2001: unresolved external symbol
__imp__optind
netsnmp.lib(snmp_logging.obj) : error LNK2001: unresolved external
symbol __imp__optind
netsnmp.lib(snmpv3.obj) : error LNK2001: unresolved external symbol
__imp__optind
../bin/release/snmpbulkget.exe : fatal error LNK1120: 3 unresolved
externals
Error executing link.exe.

snmpbulkget.exe - 8 error(s), 15 warning(s)

Thanks
Zhongwu Xia
 

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.