RE: help wanted using net-snmp package with windows and VS.NET
"taner memet ali" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <001601c5ce66$34ffc2d0$6902a8c0@psilaptop> |
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users