Subject: | Math::MPC doesn't compile in Strawberry Perl 5.12.0.1 |
Date: | Mon, 21 Jun 2010 06:52:30 -0700 |
To: | bug-Math-MPC [...] rt.cpan.org |
From: | Garen <garen.p [...] gmail.com> |
Build failure on Windows XP 32-bit:
...
Checking if your kit is complete...
Looks good
Writing Makefile for Math::MPC
cp MPC.pm blib\lib\Math\MPC.pm
C:\Perl\strawberry\5.12.0.1\perl\bin\perl.exe C:\Perl\strawberry\5.12.0.1\perl\l
ib\ExtUtils\xsubpp -typemap C:\Perl\strawberry\5.12.0.1\perl\lib\ExtUtils\typem
ap -typemap typemap MPC.xs > MPC.xsc && C:\Perl\strawberry\5.12.0.1\perl\bin\pe
rl.exe -MExtUtils::Command -e "mv" -- MPC.xsc MPC.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"0.81\" -DXS_VERSION=\"0.81\" "-IC:\Per
l\strawberry\5.12.0.1\perl\lib\CORE" -DNEWPERL MPC.c
MPC.xs:50: error: expected declaration specifiers or '...' before 'intmax_t'
MPC.xs:123: error: expected declaration specifiers or '...' before 'intmax_t'
MPC.xs:151: error: expected declaration specifiers or '...' before 'intmax_t'
MPC.c: In function 'XS_Math__MPC__mpc_mul_sj':
MPC.c:2918: error: 'intmax_t' undeclared (first use in this function)
MPC.c:2918: error: (Each undeclared identifier is reported only once
MPC.c:2918: error: for each function it appears in.)
MPC.c:2918: error: expected ';' before 'i'
MPC.c:2923: error: 'i' undeclared (first use in this function)
MPC.c:2923: error: too many arguments to function '_mpc_mul_sj'
MPC.c: In function 'XS_Math__MPC__mpc_div_sj':
MPC.c:2993: error: 'intmax_t' undeclared (first use in this function)
MPC.c:2993: error: expected ';' before 'i'
MPC.c:2998: error: 'i' undeclared (first use in this function)
MPC.c:2998: error: too many arguments to function '_mpc_div_sj'
MPC.c: In function 'XS_Math__MPC__mpc_sj_div':
MPC.c:3017: error: 'intmax_t' undeclared (first use in this function)
MPC.c:3017: error: expected ';' before 'i'
MPC.c:3023: error: 'i' undeclared (first use in this function)
MPC.c:3023: warning: passing argument 3 of '_mpc_sj_div' makes integer from poin
ter without a cast
MPC.xs:151: note: expected 'mpc_rnd_t' but argument is of type 'mpc_ptr'
MPC.c:3023: error: too many arguments to function '_mpc_sj_div'
dmake.EXE: Error code 129, while making 'MPC.o'
SISYPHUS/Math-MPC-0.81.tar.gz
C:\Perl\strawberry\5.12.0.1\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Checking if your kit is complete...
Looks good
Writing Makefile for Math::MPC
cp MPC.pm blib\lib\Math\MPC.pm
C:\Perl\strawberry\5.12.0.1\perl\bin\perl.exe C:\Perl\strawberry\5.12.0.1\perl\l
ib\ExtUtils\xsubpp -typemap C:\Perl\strawberry\5.12.0.1\perl\lib\ExtUtils\typem
ap -typemap typemap MPC.xs > MPC.xsc && C:\Perl\strawberry\5.12.0.1\perl\bin\pe
rl.exe -MExtUtils::Command -e "mv" -- MPC.xsc MPC.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"0.81\" -DXS_VERSION=\"0.81\" "-IC:\Per
l\strawberry\5.12.0.1\perl\lib\CORE" -DNEWPERL MPC.c
MPC.xs:50: error: expected declaration specifiers or '...' before 'intmax_t'
MPC.xs:123: error: expected declaration specifiers or '...' before 'intmax_t'
MPC.xs:151: error: expected declaration specifiers or '...' before 'intmax_t'
MPC.c: In function 'XS_Math__MPC__mpc_mul_sj':
MPC.c:2918: error: 'intmax_t' undeclared (first use in this function)
MPC.c:2918: error: (Each undeclared identifier is reported only once
MPC.c:2918: error: for each function it appears in.)
MPC.c:2918: error: expected ';' before 'i'
MPC.c:2923: error: 'i' undeclared (first use in this function)
MPC.c:2923: error: too many arguments to function '_mpc_mul_sj'
MPC.c: In function 'XS_Math__MPC__mpc_div_sj':
MPC.c:2993: error: 'intmax_t' undeclared (first use in this function)
MPC.c:2993: error: expected ';' before 'i'
MPC.c:2998: error: 'i' undeclared (first use in this function)
MPC.c:2998: error: too many arguments to function '_mpc_div_sj'
MPC.c: In function 'XS_Math__MPC__mpc_sj_div':
MPC.c:3017: error: 'intmax_t' undeclared (first use in this function)
MPC.c:3017: error: expected ';' before 'i'
MPC.c:3023: error: 'i' undeclared (first use in this function)
MPC.c:3023: warning: passing argument 3 of '_mpc_sj_div' makes integer from poin
ter without a cast
MPC.xs:151: note: expected 'mpc_rnd_t' but argument is of type 'mpc_ptr'
MPC.c:3023: error: too many arguments to function '_mpc_sj_div'
dmake.EXE: Error code 129, while making 'MPC.o'
SISYPHUS/Math-MPC-0.81.tar.gz
C:\Perl\strawberry\5.12.0.1\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make