in reply to Re^3: How to make Win32::OLE work on Cygwin (cpan -i -T Win32::OLE)
in thread How to make Win32::OLE work on Cygwin
Hello,
I am running perl 5.14 and I am also having the same issue during Win32-OLE-0.1712 installation.
I am unable to understand the solution. Could you please explain how to resolve this problem? Thank you.
Issue:
Running Mkbootstrap for Win32::OLE () chmod 644 "OLE.bs" g++ -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wim +plicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl. +x86/build=/usr/src/debug/perl-5.14.4-3 -fdebug-prefix-map=/mnt/share/ +maint/perl.x86/src/perl-5.14.4=/usr/src/debug/perl-5.14.4-3 -fwrapv - +fno-strict-aliasing -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION= +\"0.1712\" -DXS_VERSION=\"0.1712\" "-I/usr/lib/perl5/5.14/i686-cygwi +n-threads-64int/CORE" OLE.cpp cc1plus: warning: command line option ‘-Wimplicit-function-declaration +’ is valid for C/ObjC but not for C++ OLE.xs: In function ‘BOOL IsLocalMachine(PerlInterpreter*, SV*)’: OLE.xs:482:85: error: ‘stricmp’ was not declared in this scope if (GetComputerNameA(szComputerName, &dwSize) && stricmp(pszName, + szComputerName) == 0) + ^ Makefile:376: recipe for target 'OLE.o' failed make: *** [OLE.o] Error 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to make Win32::OLE work on Cygwin (cpan -i -T Win32::OLE)
by syphilis (Archbishop) on Oct 30, 2015 at 06:32 UTC | |
|
Re^5: How to make Win32::OLE work on Cygwin (cpan -i -T Win32::OLE)
by Anonymous Monk on Oct 30, 2015 at 06:35 UTC |