Bluehost.com Web Hosting $6.95

Building snmpdemoapp on Win32

This is a discussion on Building snmpdemoapp on Win32 within the SNMP Users forums, part of the Networking and Network Related category; What's involved in building snmpdemoapp on a Win32 platform? Since I am not sure how to translate option definition ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-14-2005
xxx yyy
 
Posts: n/a
Default Building snmpdemoapp on Win32

What's involved in building snmpdemoapp on a Win32 platform?

Since I am not sure how to translate option definition lines such as

CFLAGS=-I. `net-snmp-config --cflags`
BUILDLIBS=`net-snmp-config --libs`
BUILDAGENTLIBS=`net-snmp-config --agent-libs`

from gcc compiler-ize to cl compiler-ize, I opted to try to compile it with
Visual Studio. -

I compile successfully after adding the win32 and include directories to the
"Additional include directories" list -

If I now
Add references netsnmp.lib and ws2_32.lib to the Input/"Additional
Dependencies" list
Direct LIBCD.lib to the "Ignore Specific Library" column
Add references to the Win32\lib\debug or lib\release path listed under
General/"Additional Library
Directories"
I am left with the link error "unresolved external symbol __imp__optind"

I'm not quite sure what all the "net-snmp-config --libs" and
"net-snmp-config --agent-libs" reference

Can anyone suggest
what the missing library might be, (and/or any other missing project
configuration)

or provide a Win32 (cl) translation of the gcc makefile

(Still too new to Linux or Cygwin to feel comfortable using the gcc compiler
(but am downloading Cygwin components in case))




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0