aakansha rajvi wrote:
I have net-snmp 5.2.1 configured in linux. I have my private MIBS also
and it also got configured in linux.
I executed 'make distclean' to install the same package in windows.
Now, I am trying to install the same setup in windows with VC++.
But I am getting some errors. I just would like to know how the files
compiled under unix will work under VC++(windows)?
They should, as long as they don't use any Unix headers or functions
that are only available in Unix.
After adding the files to netsnmpmibs project, if I try to rebuild the
netsnmpmibs project using the option Build->ReBuild All or
Build->Build netsnmpmibs.lib,
I am getting some errors in the header files I used like unistd.h
which is not under VC++. And If I execute build.bat in win32 folder I
am getting some other error.
Should I compile the private MIBS in windows seperately and use them in VC++?
Try starting with a fresh extract of the source and build using the GUI
as outlined in README.win32. If it works, add in your additional source
files and modify the workspace. If it doesn't work then post the errors
to the list.
It should compile with VC++ 6.0 to .Net 2003 with the February 2003
Platform SDK (if you want to build the SDK version). The latest SDK
from Microsoft may not work based on what others have found here in the
list.
Alex
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders