RE: help wanted using net-snmp package with windows and VS.NET

This is a discussion on RE: help wanted using net-snmp package with windows and VS.NET within the SNMP Users forums, part of the Networking and Network Related category; Hi, Dave thanks for your understanding. I will try to make my question more precise. As you know i tried ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-11-2005
taner memet ali
 
Posts: n/a
Default RE: help wanted using net-snmp package with windows and VS.NET

Hi,
Dave thanks for your understanding. I will try to make my question more
precise.

As you know i tried to compile the net-snmp package using cygwin but failed
to do this.
I followed the suggestions that Alex and Andy made (included all the
patches) but the compilation did not succeed and therefore i decided to use
VS.NET.
Well i was able to compile the net-snmp package using VS.NET and the
win32sdk.dsw file that is in the win32 folder (I followed the steps in the
readme file to do the compilation).
Encouraged through this success i tried to compile the snmpdemoapp.c and was
faced with the linkage error that i described before.
I have all files in a project folder with following hierarchy

+ netsnmp5.2.1.2
|--agent
|--apps
|--dist
|--include
|--local
|--man
|--mibs
|--ov
|--perl
|--snmplib
|--testing
|--win32
|snmpdemoapp.c

As i said i have succesfully compiled all the net-snmp executables and they
are in the
win32\bin\debug
folder.

The code of the snmpdemoapp.c is easy to understand so I only changed the
host adress in the sourcecode like this to get the system information from
my second machine:
session.peername = strdup("192.168.1.106");

I also edited the include path targets to get the right headers.
(VS.NET has a property panel where you can set the include paths)

My problem is that i dont know where to copy the snmpdemoapp.c so it can be
compiled successfully. Should I use the win32sdk.dsw?

If you need more information please tell it

With best regards



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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 10:23 PM.


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