With regards to 5.8.8, please see reply above. The error occurs at "make test".

With regards to 5.8.6, the error occurs at "make". I have attached the fail log below:

sunscape% make cp lib/MyPackage.pm blib/lib/MyPackage.pm /usr/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp -C++ -typema +p /usr/local/lib/perl5/5.8.6/ExtUtils/typemap -typemap perlobject.map + -typemap typemap MyPackage.xs > MyPackage.xsc && mv MyPackage.xsc M +yPackage.c Please specify prototyping behavior for MyPackage.xs (see perlxs manua +l) CC -c -I. -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFI +LE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.01\" -DXS_VERSI +ON=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE" +MyPackage.c CC: Warning: Option -fno-strict-aliasing passed to ld, if ld is invoke +d, ignored otherwise CC: Warning: Option -pipe passed to ld, if ld is invoked, ignored othe +rwise CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored othe +rwise "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 102: Erro +r: "{" expected instead of "__attribute__". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 102: Erro +r: The function __attribute__ must have a prototype. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 102: Erro +r: noreturn is not defined. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 104: Erro +r: Badly formed expression. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 104: Erro +r: Multiple declaration for pat. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 104: Erro +r: va_list must be initialized. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 104: Erro +r: "," expected instead of "*". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 153: Erro +r: The type "void" is incomplete. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 153: Erro +r: There is no matching ")". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 153: Erro +r: Multiple declaration for pat. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 153: Erro +r: Multiple declaration for va_list. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 153: Erro +r: va_list must be initialized. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 153: Erro +r: "," expected instead of "*". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 163: Erro +r: There is no matching ")". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 163: Erro +r: Multiple declaration for pat. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 163: Erro +r: Multiple declaration for va_list. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 163: Erro +r: va_list must be initialized. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 163: Erro +r: "," expected instead of "*". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 230: Erro +r: There is no matching ")". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 230: Erro +r: Multiple declaration for pat. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 230: Erro +r: Multiple declaration for va_list. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 230: Erro +r: va_list must be initialized. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 230: Erro +r: "," expected instead of "*". "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 360: Erro +r: The type "void" is incomplete. "/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE/proto.h", line 360: Erro +r: Unexpected type name "U32" encountered. Compilation aborted, too many Error messages. *** Error code 1 make: Fatal error: Command failed for target `MyPackage.o'

20060821 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips


In reply to Re^2: XS module build not working for Perl 5.8 by Anonymous Monk
in thread XS module build not working for Perl 5.8 by rzer10

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.