Re: [Module::Build] make test failure report (Cygwin)
Status: Beta
Brought to you by:
kwilliams
|
From: Terrence B. <met...@ur...> - 2003-10-09 13:32:16
|
Randy W. Sims wrote:
> On 10/8/2003 11:45 AM, Terrence Brannon wrote:
>
>> gcc -shared -o XSTest.dll -Wl,--out-implib=libXSTest.dll.a
>> -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
>> -s -L/usr/local/lib lib/XSTest.o
>
>
> Adding "-l$Config{libperl}" to the linker command should remove all
> the unresolved references.
>
I just attempted to do this by editing Build.PL ni the home directory:
my $build = new Module::Build
(
module_name => 'Module::Build',
license => 'perl',
requires => {
'perl' => '5.005_03',
'Config' => 0,
'Data::Dumper' => 0,
'File::Basename' => 0,
'File::Compare' => 0,
'File::Copy' => 0,
'File::Find' => 0,
'File::Path' => 0,
'File::Spec' => 0,
'ExtUtils::Install' => 0,
'IO::File' => 0,
'Cwd' => 0,
},
recommends => {
'YAML' => 0.35,
'Archive::Tar' => '1.00',
'ExtUtils::Install' => 0.30,
'ExtUtils::ParseXS' => 2.02,
# 'Module::Signature' => 0.21, # Our support isn't good
enough yet
},
build_requires => {
Test => 0,
},
extra_linker_flags => '-L $Config{libperl}'
);
but the problem is still there (sorry for the ugly transcript):
~/.cpan/build/Module-Build-0.20 $ make test
/usr/bin/perl Build test
t/basic.........
t/basic.........ok 1/19
t/basic.........ok 2/19
t/basic.........ok 3/19
t/basic.........ok 4/19
t/basic.........ok 5/19
t/basic.........ok 6/19
t/basic.........ok 7/19
t/basic.........ok 8/19
t/basic.........ok 9/19
t/basic.........ok 10/19
t/basic.........ok 11/19
t/basic.........ok 12/19
t/basic.........ok 13/19
t/basic.........ok 14/19
t/basic.........ok 15/19
t/basic.........ok 16/19
t/basic.........ok 17/19
t/basic.........ok 18/19
t/basic.........ok 19/19
t/basic.........ok
t/compat........
t/compat........ok 1/23
t/compat........ok 2/23
t/compat........ok 3/23
t/compat........ok 4/23Can't open blib/libdoc/Sample::Docs.3pm for
writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
make[1]: *** [all] Error 255
# Failed test 5 in t/compat.t at line 33
t/compat........NOK 5
t/compat........ok 6/23
t/compat........ok 7/23
t/compat........ok 8/23
t/compat........ok 9/23
t/compat........ok 10/23
t/compat........ok 11/23Can't open blib/libdoc/Sample::Docs.3pm for
writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
make[1]: *** [all] Error 255
# Failed test 12 in t/compat.t at line 33 fail #2
t/compat........NOK 12
t/compat........ok 13/23
t/compat........ok 14/23
t/compat........ok 15/23
t/compat........ok 16/23
t/compat........ok 17/23
t/compat........ok 18/23
t/compat........ok 19/23
t/compat........ok 20/23
t/compat........ok 21/23
t/compat........ok 22/23
t/compat........ok 23/23
t/compat........FAILED tests 5, 12
Failed 2/23 tests, 91.30% okay
t/extend........
t/extend........ok 1/9
t/extend........ok 2/9
t/extend........ok 3/9
t/extend........ok 4/9
t/extend........ok 5/9
t/extend........ok 6/9
t/extend........ok 7/9
t/extend........ok 8/9
t/extend........ok 9/9
t/extend........ok
t/install.......
t/install.......ok 1/17
t/install.......ok 2/17# Test 3 got: 'Can't open
blib/libdoc/Sample::Docs.3pm for writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
' (t/install.t at line 32)
# Expected: ''
t/install.......NOK 3# Failed test 4 in t/install.t at line 37
t/install.......NOK 4# Test 5 got: 'Can't open
blib/libdoc/Sample::Docs.3pm for writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
' (t/install.t at line 42)
t/install.......NOK 5# Expected: ''
# Failed test 6 in t/install.t at line 46
t/install.......NOK 6# Test 7 got: 'Can't open
blib/libdoc/Sample::Docs.3pm for writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
' (t/install.t at line 52)
t/install.......NOK 7# Expected: ''
# Failed test 8 in t/install.t at line 55
t/install.......NOK 8# Test 9 got: 'Can't open
blib/libdoc/Sample::Docs.3pm for writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
' (t/install.t at line 61)
# Expected: ''
t/install.......NOK 9
t/install.......NOK 10# Failed test 10 in t/install.t at line 64
t/install.......ok 11/17
t/install.......ok 12/17Can't open blib/libdoc/Sample::Docs.3pm for
writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
t/install.......ok 13/17# Failed test 14 in t/install.t at line 80
t/install.......NOK 14Can't open blib/libdoc/Sample::Docs.3pm for
writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
t/install.......ok 15/17# Failed test 16 in t/install.t at line 90
t/install.......NOK 16
t/install.......ok 17/17
t/install.......FAILED tests 3-10, 14, 16
Failed 10/17 tests, 41.18% okay
t/manifypods....
t/manifypods....ok 1/17
t/manifypods....ok 2/17Can't open blib/libdoc/Sample::Docs.3pm for
writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
t/manifypods....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-17
Failed 15/17 tests, 11.76% okay
t/notes.........
t/notes.........ok 1/5
t/notes.........ok 2/5
t/notes.........ok 3/5
t/notes.........ok 4/5
t/notes.........ok 5/5
t/notes.........ok
t/runthrough....
t/runthrough....ok 1/24
t/runthrough....ok 2/24
t/runthrough....ok 3/24
t/runthrough....ok 4/24
t/runthrough....ok 5/24
t/runthrough....ok 6/24
t/runthrough....ok 7/24
t/runthrough....ok 8/24
t/runthrough....ok 9/24
t/runthrough....ok 10/24
t/runthrough....ok 11/24Can't open blib/libdoc/Sample::Docs.3pm for
writing: Invalid argument
at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1286
# Test 12 got: 'Error executing 'Build' in dist directory: at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1530.
' (t/runthrough.t at line 63)
# Expected: ''
t/runthrough....NOK 12# Failed test 13 in t/runthrough.t at line 66
t/runthrough....NOK 13
t/runthrough....ok 14/24
t/runthrough....ok 15/24
t/runthrough....ok 16/24
t/runthrough....ok 17/24
t/runthrough....ok 18/24
t/runthrough....ok 19/24
t/runthrough....ok 20/24
t/runthrough....ok 21/24
t/runthrough....ok 22/24
t/runthrough....ok 23/24
t/runthrough....ok 24/24
t/runthrough....FAILED tests 12-13
Failed 2/24 tests, 91.67% okay
t/signature.....skipped
all skipped: Skipping unless $ENV{TEST_SIGNATURE} is true
t/versions......
t/versions......ok 1/2
t/versions......ok 2/2
t/versions......ok
t/xs............
t/xs............ok 1/11
t/xs............ok 2/11
t/xs............ok 3/11Creating library file: libXSTest.dll.a
lib/XSTest.o(.text+0x31):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x3b):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x49):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x53):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x61):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x6b):XSTest.c: undefined reference to
`_Perl_Tmarkstack_ptr_ptr'
lib/XSTest.o(.text+0x8c):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x96):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0xb1):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xc3):XSTest.c: undefined reference to `_Perl_croak'
lib/XSTest.o(.text+0xcf):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xd9):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0xf4):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xfe):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x117):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x121):XSTest.c: undefined reference to `_Perl_Top_ptr'
lib/XSTest.o(.text+0x139):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x143):XSTest.c: undefined reference to
`_Perl_Tcurpad_ptr'
lib/XSTest.o(.text+0x151):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x15b):XSTest.c: undefined reference to `_Perl_Top_ptr'
lib/XSTest.o(.text+0x17d):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x187):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x19a):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1b5):XSTest.c: undefined reference to `_Perl_sv_setiv'
lib/XSTest.o(.text+0x1c9):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1d3):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x1e1):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1eb):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x208):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x216):XSTest.c: undefined reference to `_Perl_mg_set'
lib/XSTest.o(.text+0x228):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x232):XSTest.c: undefined reference to
`_Perl_sv_newmortal'
lib/XSTest.o(.text+0x248):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x252):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x260):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x271):XSTest.c: undefined reference to `_Perl_sv_2iv'
lib/XSTest.o(.text+0x2b0):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2ba):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x2c6):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2d0):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x2de):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2e8):XSTest.c: undefined reference to
`_Perl_Tmarkstack_ptr_ptr'
lib/XSTest.o(.text+0x302):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x30c):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x31f):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x342):XSTest.c: undefined reference to `_Perl_newXS'
lib/XSTest.o(.text+0x34e):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x358):XSTest.c: undefined reference to
`_Perl_Isv_yes_ptr'
lib/XSTest.o(.text+0x366):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x370):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x381):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x38b):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x399):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x3a3):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o XSTest.dll -Wl,--out-implib=libXSTest.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib lib/XSTest.o
# Test 4 got: 'error building lib/XSTest.o from 'lib/XSTest.dll' at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797, <File0000> line 14.
' (t/xs.t at line 33)
# Expected: ''
t/xs............NOK 4
t/xs............ok 5/11
t/xs............ok 6/11Creating library file: libXSTest.dll.a
lib/XSTest.o(.text+0x31):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x3b):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x49):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x53):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x61):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x6b):XSTest.c: undefined reference to
`_Perl_Tmarkstack_ptr_ptr'
lib/XSTest.o(.text+0x8c):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x96):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0xb1):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xc3):XSTest.c: undefined reference to `_Perl_croak'
lib/XSTest.o(.text+0xcf):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xd9):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0xf4):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xfe):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x117):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x121):XSTest.c: undefined reference to `_Perl_Top_ptr'
lib/XSTest.o(.text+0x139):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x143):XSTest.c: undefined reference to
`_Perl_Tcurpad_ptr'
lib/XSTest.o(.text+0x151):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x15b):XSTest.c: undefined reference to `_Perl_Top_ptr'
lib/XSTest.o(.text+0x17d):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x187):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x19a):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1b5):XSTest.c: undefined reference to `_Perl_sv_setiv'
lib/XSTest.o(.text+0x1c9):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1d3):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x1e1):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1eb):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x208):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x216):XSTest.c: undefined reference to `_Perl_mg_set'
lib/XSTest.o(.text+0x228):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x232):XSTest.c: undefined reference to
`_Perl_sv_newmortal'
lib/XSTest.o(.text+0x248):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x252):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x260):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x271):XSTest.c: undefined reference to `_Perl_sv_2iv'
lib/XSTest.o(.text+0x2b0):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2ba):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x2c6):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2d0):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x2de):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2e8):XSTest.c: undefined reference to
`_Perl_Tmarkstack_ptr_ptr'
lib/XSTest.o(.text+0x302):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x30c):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x31f):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x342):XSTest.c: undefined reference to `_Perl_newXS'
lib/XSTest.o(.text+0x34e):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x358):XSTest.c: undefined reference to
`_Perl_Isv_yes_ptr'
lib/XSTest.o(.text+0x366):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x370):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x381):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x38b):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x399):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x3a3):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o XSTest.dll -Wl,--out-implib=libXSTest.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib lib/XSTest.o
error building lib/XSTest.o from 'lib/XSTest.dll' at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797, <File0000> line 14.
t/xs............ok 7/11Creating library file: libXSTest.dll.a
lib/XSTest.o(.text+0x31):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x3b):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x49):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x53):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x61):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x6b):XSTest.c: undefined reference to
`_Perl_Tmarkstack_ptr_ptr'
lib/XSTest.o(.text+0x8c):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x96):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0xb1):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xc3):XSTest.c: undefined reference to `_Perl_croak'
lib/XSTest.o(.text+0xcf):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xd9):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0xf4):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0xfe):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x117):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x121):XSTest.c: undefined reference to `_Perl_Top_ptr'
lib/XSTest.o(.text+0x139):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x143):XSTest.c: undefined reference to
`_Perl_Tcurpad_ptr'
lib/XSTest.o(.text+0x151):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x15b):XSTest.c: undefined reference to `_Perl_Top_ptr'
lib/XSTest.o(.text+0x17d):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x187):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x19a):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1b5):XSTest.c: undefined reference to `_Perl_sv_setiv'
lib/XSTest.o(.text+0x1c9):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1d3):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x1e1):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x1eb):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x208):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x216):XSTest.c: undefined reference to `_Perl_mg_set'
lib/XSTest.o(.text+0x228):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x232):XSTest.c: undefined reference to
`_Perl_sv_newmortal'
lib/XSTest.o(.text+0x248):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x252):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x260):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x271):XSTest.c: undefined reference to `_Perl_sv_2iv'
lib/XSTest.o(.text+0x2b0):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2ba):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x2c6):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2d0):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x2de):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x2e8):XSTest.c: undefined reference to
`_Perl_Tmarkstack_ptr_ptr'
lib/XSTest.o(.text+0x302):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x30c):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x31f):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x342):XSTest.c: undefined reference to `_Perl_newXS'
lib/XSTest.o(.text+0x34e):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x358):XSTest.c: undefined reference to
`_Perl_Isv_yes_ptr'
lib/XSTest.o(.text+0x366):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x370):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
lib/XSTest.o(.text+0x381):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x38b):XSTest.c: undefined reference to
`_Perl_Tstack_sp_ptr'
lib/XSTest.o(.text+0x399):XSTest.c: undefined reference to
`_Perl_Gcurinterp_ptr'
lib/XSTest.o(.text+0x3a3):XSTest.c: undefined reference to
`_Perl_Tstack_base_ptr'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o XSTest.dll -Wl,--out-implib=libXSTest.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib lib/XSTest.o
# Test 8 got: 'error building lib/XSTest.o from 'lib/XSTest.dll' at
/home/metaperl/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797, <File0000> line 14.
' (t/xs.t at line 50)
# Expected: ''
t/xs............NOK 8
t/xs............ok 9/11
t/xs............ok 10/11
t/xs............ok 11/11
t/xs............FAILED tests 4, 8
Failed 2/11 tests, 81.82% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/compat.t 23 2 8.70% 5 12
t/install.t 17 10 58.82% 3-10 14 16
t/manifypods.t 255 65280 17 15 88.24% 3-17
t/runthrough.t 24 2 8.33% 12-13
t/xs.t 11 2 18.18% 4 8
1 test skipped.
Failed 5/10 test scripts, 50.00% okay. 31/127 subtests failed, 75.59% okay.
make: *** [test] Error 14
~/.cpan/build/Module-Build-0.20 $
|