On Mon, Mar 19, 2012 at 2:50 PM, Bart Van Assche <bvanass...@acm.org> wrote:
> On 03/19/12 18:35, Fulko Hew wrote:
>
> > ... So I thought I'd compile with vcvarsall.bat x86 (expecting to see
> > the 'other' 3 DLLs fail to load).
> > Now I see (when using snmp -DALL) that snmpd sees only _5_ DLLs to load
> > (it omitted the wow64mib) and its now _hanging_ (instead) on the first
> > one it tries (eventagnt.dll).
>
... snip ...
> All I can say is that winExtDLL behaved as expected in the tests I ran.
> With which Windows version did this occur ?
>
Windows 7 Professional 64bit (with service pack 1)
with Visual Studio 10 'Ultimate' (with service pack 1) and ((in theory)
Windows SDK 7.1)
and ActivePerl
In the mean time, I thought I'd drop back (disable winExtDLL) and
enable/build-with openSSL
support. I downloaded openSSL 1.0.1 built it and installed it where I
think it belongs
as per README.win32 (and my interpretation of VS10 directories).
Now I get the following errors... Note that I got these same errors when
trying to
build Net-SNMP 5.7.1 (versus what I've currently trying... 5.7 (because 5.7
wasn't
getting these errors before, but now sadly I am.)
Also note that I did have issues with the OS, et.al. and 'corporate
lockdown' policies that
I had to overcome to get _this_ far. There could be other policies in my
way yet to come
but I don't think these current issues are 'security policy' related.
The new errors are:
... snip ...
cd snmpdf
nmake /nologo all
cl.exe /nologo /MD /W3 /EHsc /O2 /I "." /I ".." /I "..\..\snmplib"
/I "..\.." /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D
"_CRT_SECURE_NO_WARNINGS" /D "_CRT_NONSTDC_NO_WARNINGS" /D "_MBCS"
/Fo".\release\\" /Fd".\release\\" /FD /c ..\..\apps\snmpdf.c
snmpdf.c
..\..\apps\snmpdf.c(147) : warning C4267: 'return' : conversion from
'size_t' to 'int', possible loss of data
..\..\apps\snmpdf.c(298) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
link.exe @C:\Users\fulko.hew\AppData\Local\Temp\nm903B.tmp
snmpdf.obj : error LNK2019: unresolved external symbol
snmp_parse_args_descriptions referenced in function usage
snmpdf.obj : error LNK2019: unresolved external symbol
snmp_parse_args_usage referenced in function usage
snmpdf.obj : error LNK2019: unresolved external symbol optarg referenced in
function optProc
snmpdf.obj : error LNK2019: unresolved external symbol snmp_add_null_var
referenced in function add
snmpdf.obj : error LNK2019: unresolved external symbol debugmsg_oid
referenced in function add
snmpdf.obj : error LNK2019: unresolved external symbol debugmsg referenced
in function add
snmpdf.obj : error LNK2019: unresolved external symbol debugmsgtoken
referenced in function add
snmpdf.obj : error LNK2019: unresolved external symbol
snmp_get_do_debugging referenced in function add
snmpdf.obj : error LNK2019: unresolved external symbol snmp_perror
referenced in function add
snmpdf.obj : error LNK2019: unresolved external symbol snmp_parse_oid
referenced in function add
snmpdf.obj : error LNK2019: unresolved external symbol snmp_sess_perror
referenced in function collect
snmpdf.obj : error LNK2019: unresolved external symbol snmp_errstring
referenced in function collect
snmpdf.obj : error LNK2019: unresolved external symbol snmp_free_pdu
referenced in function collect
snmpdf.obj : error LNK2019: unresolved external symbol snmp_pdu_create
referenced in function collect
snmpdf.obj : error LNK2019: unresolved external symbol snmp_oid_compare
referenced in function collect
snmpdf.obj : error LNK2019: unresolved external symbol snmp_synch_response
referenced in function collect
snmpdf.obj : error LNK2019: unresolved external symbol snmp_close
referenced in function main
snmpdf.obj : error LNK2019: unresolved external symbol winsock_cleanup
referenced in function main
snmpdf.obj : error LNK2019: unresolved external symbol snmp_open referenced
in function main
snmpdf.obj : error LNK2019: unresolved external symbol winsock_startup
referenced in function main
snmpdf.obj : error LNK2019: unresolved external symbol snmp_parse_args
referenced in function main
..\bin\.\release/snmpdf.exe : fatal error LNK1120: 21 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\link.exe"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'
Stop.
Build error (see above) at build.pl line 292, <> line 5.
C:\Users\fulko.hew\net-snmp-5.7\net-snmp-5.7\win32>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders