Hey guys,
I've tried building NetSNMP for Windows 7 to use the .dll in my projects,
but I had problems running the build.bat file. I ran it with the standard
settings after running vcvarsall.bat for MSVC 2010. It seemed the problem
was with the code in snmplib\read_config.c. I'm not sure how to fix it and
was wondering if there was someone who could help me?
I looked for the errors in the make.out file and this is what I found:
..\..\snmplib\read_config.c(545) : error C2143: syntax error : missing ';'
before 'type'
..\..\snmplib\read_config.c(547) : error C2065: 'tmpbuf' : undeclared
identifier
..\..\snmplib\read_config.c(547) : error C2109: subscript requires array or
pointer type
..\..\snmplib\read_config.c(548) : error C2065: 'tmpbuf' : undeclared
identifier
..\..\snmplib\read_config.c(548) : warning C4047: '=' : 'char *' differs in
levels of indirection from 'int'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
There were a lot of warnings about 'benign redefinition of type'. I'm not
sure if that's relevant.
If anyone can offer any help at all I would GREATLY appreciate it!
Thanks!
Chris
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders