Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I tried all the options but still I am getting errors:
/usr/local/bin/perl.exe -I/usr/local/lib/perl5/5.20.2/cygwin-thread-mu +lti-64int -I/usr/local/lib/perl5/5.20.2 /usr/local/lib/perl5/5.20.2/E +xtUtils/xsubpp -typemap /usr/local/lib/perl5/5.20.2/ExtUtils/typemap + OLE.xs >xstmp.c && mv xstmp.c OLE.cpp g++ -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fwrapv -fno-strict- +aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.1 +712\" -DXS_VERSION=\"0.1712\" "-I/usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE" OLE.cpp In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi- +64int/CORE/perl.h:2368:0, from OLE.xs:94: OLE.xs: In function ‘BOOL StartsWithAlpha(PerlInterpreter*, SV*)’: /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:142 +9:43: note: in definition of macro ‘_generic_swash_uni’ #define _generic_swash_uni(classnum, c) ((c) < 256 + \ ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:142 +9:43: note: in definition of macro ‘_generic_swash_uni’ #define _generic_swash_uni(classnum, c) ((c) < 256 + \ ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi- +64int/CORE/perl.h:2368:0, from OLE.xs:94: /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi- +64int/CORE/perl.h:5100:0, from OLE.xs:94: /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:30: +51: note: in definition of macro ‘_is_uni_FOO’ #define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:30: +51: note: in definition of macro ‘_is_uni_FOO’ #define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs: In function ‘BOOL IsLocalMachine(PerlInterpreter*, SV*)’: OLE.xs:483:43: error: ‘stricmp’ was not declared in this scope && stricmp(pszName, szComputerName) == 0) ^ Makefile:373: recipe for target 'OLE.o' failed make: *** [OLE.o] Error 1 JDB/Win32-OLE-0.1712.tar.gz /usr/bin/make -- NOT OK

In reply to Re^2: How to make Win32::OLE work on Cygwin (cpan -i -T Win32::OLE) by gjoshi
in thread How to make Win32::OLE work on Cygwin by gjoshi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (None)
    As of 2024-04-25 01:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found