On Tue, Feb 8, 2011 at 10:48 AM, Nicolai G. <[email protected]> wrote:
> Hi everybody
>
> I'm trying to build net-snmp 5.5 (or 5.6 - the same problem) with
> win32/build.bat using vc9 (vs2008 SP1) nmake and facing build error
> that I don't know how to fix.
>
> Running build bat says:
> Net-SNMP build and install options
> ==================================
> 1. OpenSSL support: disabled
> 2. Platform SDK support: disabled
> 3. Install path: c:/usr
> 4. Install after build: enabled
> 5. Perl modules: enabled
> 6. Install perl modules: enabled
> 7. Quiet build (logged): enabled
> 8. Debug mode: disabled
> 9. IPv6 transports (requires SDK): disabled
> 10. winExtDLL agent (requires SDK): disabled
> 11. Link type: dynamic
> 12. Install development files enabled
>
> F. Finished - start build
> Q. Quit - abort build
>
> Select option to set / toggle: f
> Building...
> Creating *.out log files.
> Deleting old log files...
> Running Configure...
> Cleaning...
> Building main package...
> Build error (see make.out) at build.pl line 231, <> line 1.
>
>
> ----------------------------------------------------------------------------------
> The make.out contains this:
> cd libagent
> nmake /nologo all
> cl.exe /nologo /MD /W3 /GX /O2 /I "." /I ".." /I "..\..\snmplib" /I
> "..\.." /I "..\..\include" /I "..\..\agent" /I "..\..\agent\mibgroup"
> /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS"
> /Fp".\release\libagent.pch" /YX /Fo".\release\\" /Fd".\release\\" /FD
> /c ..\..\agent\agent_handler.c
> 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).
Bart.
------------------------------------------------------------------------------
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