Re: Building NET_SNMP-5.5 using Visual Studio-2008

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, Feb 9, 2010 at 11:08 AM, <[email protected]> wrote:

> i am building netsnmp-5.5( using netsnmp.dll) using
> Microsoft Visual studio 2008 on windows xp.
> [ ... ]
> snmpwalk.obj : error LNK2019: unresolved external symbol _optind referenced
> in function _optProc
> snmpwalk.obj : error LNK2019: unresolved external symbol _optarg referenced
> in function _optProc
> [ ... ]
>

As far as I know net-snmp 5.5 with winExtDLL enabled builds fine with MSVC
2008. Have you alread tried to extract net-snmp-5.5.zip in a new
subdirectory and to build the project with no other modifications than
enabling winExtDLL ?

The above error message means that neither optind nor optarg have been
exported from netsnmp.dll. Have you perhaps modified libsnmp_dll/libsnmp.def
?

Bart.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
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.