I can't answer your question, but I would like to know how did you
build net-snmp on windows with OpenSSL support ?

AFAIK, win32/configure script does not take OpenSSL path, is there a
way to tell the build scripts where to pick OpenSSL from ?

Thanks,
Ravindra

On Mon, Oct 20, 2008 at 6:01 PM, Elisha Shaish wrote:
>
> Hi
>
> I have a problem building the perl modules. I've built the libraries with OpenSSL support. The last few lines of the nmake.out file are
>
> SNMP.xs(4773) : warning C4996: 'strcat' was declared deprecated
> C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(78) : see declaration of 'strcat'
> Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> SNMP.xs(4776) : warning C4996: 'strcat' was declared deprecated
> C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(78) : see declaration of 'strcat'
> Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> SNMP.xs(4780) : warning C4996: 'strcat' was declared deprecated
> C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(78) : see declaration of 'strcat'
> Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> SNMP.xs(4846) : warning C4013: 'winsock_cleanup' undefined; assuming extern returning int
> Running Mkbootstrap for SNMP ()
> C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 SNMP.bs
> link -out:..\blib\arch\auto\SNMP\SNMP.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 SNMP.obj C:\Perl\lib\CORE\perl510.lib c:\usr\lib\netsnmp.lib "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\oldnames.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\kernel32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winspool.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\shell32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\netapi32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\uuid.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2_32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mpr.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winmm.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\version.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbc32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbccp32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\msvcrt.lib" -def:SNMP.def
> Creating library ..\blib\arch\auto\SNMP\SNMP.lib and object ..\blib\arch\auto\SNMP\SNMP.exp
> SNMP.obj : error LNK2001: unresolved external symbol _usmAESPrivProtocol
> SNMP.obj : error LNK2001: unresolved external symbol _usmDESPrivProtocol
> SNMP.obj : error LNK2001: unresolved external symbol _usmHMACSHA1AuthProtocol
> SNMP.obj : error LNK2001: unresolved external symbol _usmHMACMD5AuthProtocol
> ..\blib\arch\auto\SNMP\SNMP.dll : fatal error LNK1120: 4 unresolved externals
>
> Any ideas
>
>
> __________________________________________________ _______________
> Store, manage and share up to 5GB with Windows Live SkyDrive.
> http://skydrive.live.com/welcome.asp...kydrive_102008
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.p...r_id=100&url=/
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/...net-snmp-users
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users