On 8/26/05, Alex Burger <[EMAIL PROTECTED]> wrote: > 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.
I started with a fresh source. Now I am using net-snmp-5.2.1.2. I used build.bat and just enabled perl modules and Install Perl Modules. Since I am not having psdk, I disabled that option. Then started to build. Building... Creating *.out log files. Deleting old log files... Running Configure... Cleaning... Building main package... Running Configure for DLL... Cleaning libraries... Building DLL libraries... Cleaning Perl.... Building Perl modules... Testing Perl modules... Installing Perl modules... See perltest.out for Perl test results Installing main package... Done! Now, i viewed the output ot perltest.out. Some errors are displayed. Will this affect any of my further proceedings like including my mib in the source. I have attached my perltest.out and make.out. But anyhow, I am able to start the agent and getting response after configuring snmp.conf,snmpd.conf and snmptrapd.conf. I have installed Active Perl Also. Shall I proceed further like compiling my mib and including that? Thanks > > 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders