On Tue, Feb 8, 2011 at 1:35 PM, Bart Van Assche <[email protected]> wrote: > On Tue, Feb 8, 2011 at 12:21 PM, Nicolai G. <[email protected]> wrote: >> >> On Tue, Feb 8, 2011 at 1:04 PM, Bart Van Assche <[email protected]> >> wrote: >> > On Tue, Feb 8, 2011 at 10:48 AM, Nicolai G. <[email protected]> >> > wrote: >> >> [ ... ] >> >> NMAKE : fatal error U1077: '"C:\Microsoft Visual Studio >> >> 9.0\VC\BIN\cl.exe"' : return code '0xc0000135' >> >> Stop. >> >> NMAKE : fatal error U1077: '"C:\Microsoft Visual Studio >> >> 9.0\VC\BIN\nmake.EXE"' : return code '0x2' >> >> Stop. >> >> >> >> >> >> I've also tried start cmd with /V:ON /E:ON options ( as in >> >> >> >> http://www.net-snmp.org/wiki/index.php/Using_the_command_line_and_nmake) >> >> but it gives nothing. >> >> >> >> Any ideas or tips how to build net-snmp with vc9 nmake? >> >> >> >> I don't think it's significant, but I'll mention that the perl I use >> >> comes with cygwin package. >> > >> > Googling for 0xc0000135 + cl.exe told me that the above might indicate >> > that >> > vcvars32.bat has not been run before build.bat (which is documented in >> > README.win32 too by the way). >> >> No, vcvars32.bat was definetly called (my build system depends on it too). >> By the way Can it be win 7 issue? > > win32/build.bat runs fine on Windows 7 as far as I know - I am not aware of > any differences in the behavior of build.bat on Windows 7 compared to other > Windows versions. > > Bart. >
Well I set environment step by step and found weired thing: First of all I actually start Microsoft Visual Studio 9.0\VC\vcvarsall.bat which calls vcvars32.bat if not other specified (so that makes me sure vcvars32.bat was called) then trying to build fails, but when I explicitly call vcvars32.bat and try to build and it goes, but with linker error: netsnmpmibs.lib(snmpNotifyTable.obj) : error LNK2019: unresolved external symbol _log_notification referenced in function _send_notifications ..\bin\.\release/snmpd.exe : fatal error LNK1120: 1 unresolved externals -- Nicolai Grodzitski ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ 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
