Skip Menu |

This queue is for tickets about the XML-LibXML-Common CPAN distribution.

Report information
The Basics
Id: 6352
Status: resolved
Priority: 0/
Queue: XML-LibXML-Common

People
Owner: Nobody in particular
Requestors: metabarb [...] zoomnet.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.13
Fixed in: (no value)



Subject: Build failure on solaris for Common.c, error in Common.xs
Trying to build XML-LibXML-Common-0.13 on solaris (5.8 Generic_108528-17 sun4u sparc). bash-2.03$ make cp Common.pm blib/lib/XML/LibXML/Common.pm /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Common.xs > Common.xsc && mv Common.xsc Common.c gcc -c -I/staff/ban/local/include -I/staff/ban/local/include/libxml2 - I/usr/local/include -I/usr/include -fno-strict-aliasing -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -DHAVE_UTF8 -DHAVE_BLANK Common.c Common.xs: In function `LIBXML_COMMON_error_handler': Common.xs:29: `__builtin_va_alist' undeclared (first use in this function) Common.xs:29: (Each undeclared identifier is reported only once Common.xs:29: for each function it appears in.) make: *** [Common.o] Error 1
On út 18.kvě.2004 15:49:56, guest wrote: Show quoted text
> Trying to build XML-LibXML-Common-0.13 on solaris (5.8
Generic_108528- Show quoted text
> 17 sun4u sparc). > > bash-2.03$ make > cp Common.pm blib/lib/XML/LibXML/Common.pm > /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris > -I/usr/local/lib/perl5/5.6.1 > /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap > /usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap > Common.xs > Common.xsc && mv Common.xsc Common.c >
gcc -c -I/staff/ban/local/include -I/staff/ban/local/include/libxml2 - Show quoted text
> I/usr/local/include -I/usr/include -fno-strict-aliasing > -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.13\" > -DXS_VERSION=\"0.13\" -fPIC > -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -DHAVE_UTF8 > -DHAVE_BLANK Common.c > Common.xs: In function `LIBXML_COMMON_error_handler': > Common.xs:29: `__builtin_va_alist' undeclared (first use in this > function) > Common.xs:29: (Each undeclared identifier is reported only once > Common.xs:29: for each function it appears in.) > make: *** [Common.o] Error 1
I added #include <stdarg.h> in the CVS, hopefully it fixes the problem for your platform. See http://perl-xml.cvs.sourceforge.net/perl-xml/XML-LibXML-Common/ -- Petr