Re: Win32 not compiling 5.7.2 with Visual Studio 2010 Pro

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/02/13 02:05, James Gosnell wrote:
> Please ask and I'll provide all the possible information I can to get
> this problem resolved. I'm having one heck of a time compiling, but I'm
> getting too many errors and warnings. I've read the README.win32 file
> and have tried to follow it to the best of my ability, but still I'm
> getting a lot of errors and warnings. The errors are mostly linker
> errors, where it's not resolving external signals. I believe the problem
> is in warnings like bellow, actually. The library files like 'libagent'
> and 'libsnmp' files are compiling ok. I'm getting the errors when I try
> to link them in the support programs, like 'snmptrapd', 'snmptrap', etc.
> I think the build schema or solution needs to be edited. Here's an idea
> of the warning messages I'm getting:
>
> Warning54The element 'ClCompile' in namespace
> 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child
> element 'AdditionalOptions' in namespace
> 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible
> elements expected: 'PrecompiledHeader, AdditionalIncludeDirectories,
> AdditionalUsingDirectories, CompileAsManaged, ErrorReporting,
> WarningLevel, MinimalRebuild, DebugInformationFormat,
> PreprocessorDefinitions, Optimization, BasicRuntimeChecks,
> RuntimeLibrary, FunctionLevelLinking, FloatingPointModel,
> IntrinsicFunctions, PrecompiledHeaderFile, MultiProcessorCompilation,
> UseUnicodeForAssemblerListing, UndefinePreprocessorDefinitions,
> StringPooling, BrowseInformation, FloatingPointExceptions,
> CreateHotpatchableImage, RuntimeTypeInfo, OpenMPSupport,
> CallingConvention, DisableSpecificWarnings, ForcedIncludeFiles,
> ForcedUsingFiles, ShowIncludes, UseFullPaths, OmitDefaultLibName,
> TreatSpecificWarningsAsErrors' in namespace
> 'http://schemas.microsoft.com/developer/msbuild/2003'.C:\Program
> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets73610Miscellaneous
> Files

The Net-SNMP 5.7.2 build on Win32 is broken due to a last-minute change. 
Please try the following:
* Apply the (trivial) patch documented in 
http://sourceforge.net/p/net-snmp/bugs/2419/.
* Use the build.bat method documented in README.win32 to build Net-SNMP.

Bart.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.