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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |