Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id:
103756
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
mark.wilkinson [...] upm.es
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: anything that requires dmake is failing on 64-bit windows
Date: Wed, 15 Apr 2015 11:22:37 +0200
To: bug-Perl-Dist-Strawberry@rt.cpan.org
From: Mark Wilkinson <mark.wilkinson@upm.es>
Hi All! I've tried the 5.18 and 5.20 releases of Strawberry, and I get the same errors from both (64-bit Windows 7) with any CPAN module that requires dmake. The errors look like this (this is just one of many examples)... any ideas? Configuring R/RJ/RJBS/Data-UUID-1.220.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Configured options (run perl Makefile.PL --help for how to change this): UUID state storage: C:\Users\ADMINI~1\AppData\Local\Temp Generating a dmake-style Makefile Writing Makefile for Data::UUID Writing MYMETA.yml and MYMETA.json RJBS/Data-UUID-1.220.tar.gz D:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for R/RJ/RJBS/Data-UUID-1.220.tar.gz cp UUID.pm blib\lib\Data\UUID.pm Running Mkbootstrap for Data::UUID () D:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 UUID.bs D:\Strawberry\perl\bin\perl.exe D:\Strawberry\perl\lib\ExtUtils\xsubpp -typemap D:\Strawberry\perl\lib\ExtUtils\typemap -typemap typemap UUID.xs > UUID.xsc && D:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- UUID.xsc UUID.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -D PERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms -bitfields -s -O2 -DVERSION=\"1.220\" -DXS_VERSION=\"1.220\" "-ID:\St rawberry\perl\lib\CORE" -D_STDIR=\"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\" -D__MSWin32__ -D_DEFAULT_UMASK=0007 UUID.c In file included from D:\Strawberry\perl\lib\CORE/hv.h:593:0, from D:\Strawberry\perl\lib\CORE/perl.h:3480, from UUID.xs:2: D:\Strawberry\perl\lib\CORE/hv_func.h: In function 'S_perl_hash_murmur3': D:\Strawberry\perl\lib\CORE/hv_func.h:391:17: warning: cast from pointer to inte ger of different size In file included from UUID.xs:26:0: ptable.h: In function 'ptable_find': ptable.h:107:18: warning: cast from pointer to integer of different size ptable.h:107:18: warning: cast from pointer to integer of different size ptable.h:107:18: warning: cast from pointer to integer of different size ptable.h: In function 'ptable_split': ptable.h:147:19: warning: cast from pointer to integer of different size ptable.h:147:19: warning: cast from pointer to integer of different size ptable.h:147:19: warning: cast from pointer to integer of different size ptable.h: In function 'ptable_store': ptable.h:167:20: warning: cast from pointer to integer of different size ptable.h:167:20: warning: cast from pointer to integer of different size ptable.h:167:20: warning: cast from pointer to integer of different size UUID.xs: In function 'inc': UUID.xs:34:16: warning: cast from pointer to integer of different size UUID.xs:36:5: warning: cast to pointer from integer of different size UUID.xs: In function 'XS_Data__UUID_new': UUID.xs:385:4: warning: cast to pointer from integer of different size UUID.c: In function 'XS_Data__UUID_create': UUID.c:573:13: warning: cast to pointer from integer of different size UUID.c: In function 'XS_Data__UUID_create_from_name': UUID.c:635:13: warning: cast to pointer from integer of different size UUID.c: In function 'XS_Data__UUID_compare': UUID.c:681:13: warning: cast to pointer from integer of different size UUID.c: In function 'XS_Data__UUID_to_string': UUID.c:722:13: warning: cast to pointer from integer of different size UUID.c: In function 'XS_Data__UUID_from_string': UUID.c:760:13: warning: cast to pointer from integer of different size UUID.c: In function 'XS_Data__UUID_DESTROY': UUID.c:859:13: warning: cast to pointer from integer of different size UUID.xs:581:12: warning: cast from pointer to integer of different size UUID.xs:583:4: warning: cast to pointer from integer of different size D:\Strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Data::UUID\", 'DLBASE' => 'UUID', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def UUID.def --output-exp dll.exp g++ -o blib\arch\auto\Data\UUID\UUID.dll -Wl,--base-file -Wl,dll.base -mdll -s - L"D:\Strawberry\perl\lib\CORE" -L"D:\Strawberry\c\lib" UUID.o D:\Strawberry\pe rl\lib\CORE\libperl518.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcom dlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr - lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp d:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-m ingw32/bin/ld.exe: i386 architecture of input file `UUID.o' is incompatible with i386:x86-64 output d:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-m ingw32/bin/ld.exe: i386 architecture of input file `dll.exp' is incompatible wit h i386:x86-64 output UUID.o:UUID.c:(.text+0x4a): undefined reference to `__imp__Perl_croak_nocontext' UUID.o:UUID.c:(.text+0x83): undefined reference to `_sprintf' UUID.o:UUID.c:(.text+0xb8): undefined reference to `_sprintf' UUID.o:UUID.c:(.text+0xda): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0xed): undefined reference to `__imp__Perl_newSVpv' UUID.o:UUID.c:(.text+0xfe): undefined reference to `__imp__Perl_sv_2mortal' UUID.o:UUID.c:(.text+0x25f): undefined reference to `_sprintf' UUID.o:UUID.c:(.text+0x294): undefined reference to `_sprintf' UUID.o:UUID.c:(.text+0x2d5): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x35f): undefined reference to `__imp__Perl_sv_2pv_flags' UUID.o:UUID.c:(.text+0x39e): undefined reference to `__imp__Perl_sv_derived_from ' UUID.o:UUID.c:(.text+0x3ef): undefined reference to `__imp__Perl_sv_2iv_flags' UUID.o:UUID.c:(.text+0x40e): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0x44f): undefined reference to `_sscanf' UUID.o:UUID.c:(.text+0x636): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0x643): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0x654): undefined reference to `__imp__Perl_croak_xs_usage' UUID.o:UUID.c:(.text+0x666): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x6eb): undefined reference to `__imp__Perl_sv_2pv_flags' UUID.o:UUID.c:(.text+0x727): undefined reference to `__imp__Perl_sv_derived_from ' UUID.o:UUID.c:(.text+0x775): undefined reference to `__imp__Perl_sv_2iv_flags' UUID.o:UUID.c:(.text+0x7e1): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0x7f2): undefined reference to `__imp__Perl_croak_xs_usage' UUID.o:UUID.c:(.text+0x802): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x884): undefined reference to `__imp__Perl_sv_2pv_flags' UUID.o:UUID.c:(.text+0x8d5): undefined reference to `__imp__Perl_sv_2pv_flags' UUID.o:UUID.c:(.text+0x93c): undefined reference to `__imp__Perl_sv_derived_from ' UUID.o:UUID.c:(.text+0x98d): undefined reference to `__imp__Perl_sv_2iv_flags' UUID.o:UUID.c:(.text+0xa28): undefined reference to `__imp__Perl_sv_setiv' UUID.o:UUID.c:(.text+0xa44): undefined reference to `__imp__Perl_mg_set' UUID.o:UUID.c:(.text+0xa70): undefined reference to `__imp__Perl_sv_newmortal' UUID.o:UUID.c:(.text+0xaba): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0xace): undefined reference to `__imp__Perl_croak_xs_usage' UUID.o:UUID.c:(.text+0xadf): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0xaee): undefined reference to `__imp__Perl_push_scope' UUID.o:UUID.c:(.text+0xb04): undefined reference to `__imp__Perl_save_int' UUID.o:UUID.c:(.text+0xb67): undefined reference to `__imp__Perl_newSVpv' UUID.o:UUID.c:(.text+0xb7c): undefined reference to `__imp__Perl_sv_2mortal' UUID.o:UUID.c:(.text+0xb9e): undefined reference to `__imp__Perl_call_method' UUID.o:UUID.c:(.text+0xbb8): undefined reference to `__imp__Perl_newSVsv' UUID.o:UUID.c:(.text+0xbd8): undefined reference to `__imp__Perl_free_tmps' UUID.o:UUID.c:(.text+0xbe3): undefined reference to `__imp__Perl_pop_scope' UUID.o:UUID.c:(.text+0xc0b): undefined reference to `__imp__Perl_stack_grow' UUID.o:UUID.c:(.text+0xc1f): undefined reference to `__imp__Perl_markstack_grow' UUID.o:UUID.c:(.text+0xc31): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0xc49): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0xc58): undefined reference to `__imp__Perl_push_scope' UUID.o:UUID.c:(.text+0xc6e): undefined reference to `__imp__Perl_save_int' UUID.o:UUID.c:(.text+0xcf0): undefined reference to `__imp__Perl_call_method' UUID.o:UUID.c:(.text+0xd0f): undefined reference to `__imp__Perl_free_tmps' UUID.o:UUID.c:(.text+0xd1a): undefined reference to `__imp__Perl_pop_scope' UUID.o:UUID.c:(.text+0xd3f): undefined reference to `__imp__Perl_stack_grow' UUID.o:UUID.c:(.text+0xd5f): undefined reference to `__imp__Perl_stack_grow' UUID.o:UUID.c:(.text+0xd73): undefined reference to `__imp__Perl_markstack_grow' UUID.o:UUID.c:(.text+0xd8d): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0xd9c): undefined reference to `__imp__Perl_push_scope' UUID.o:UUID.c:(.text+0xdb2): undefined reference to `__imp__Perl_save_int' UUID.o:UUID.c:(.text+0xe0c): undefined reference to `__imp__Perl_sv_2mortal' UUID.o:UUID.c:(.text+0xe2e): undefined reference to `__imp__Perl_call_method' UUID.o:UUID.c:(.text+0xe70): undefined reference to `__imp__Perl_sv_2pv_flags' UUID.o:UUID.c:(.text+0xea9): undefined reference to `__imp__Perl_free_tmps' UUID.o:UUID.c:(.text+0xeb4): undefined reference to `__imp__Perl_pop_scope' UUID.o:UUID.c:(.text+0xee7): undefined reference to `__imp__Perl_stack_grow' UUID.o:UUID.c:(.text+0xefb): undefined reference to `__imp__Perl_markstack_grow' UUID.o:UUID.c:(.text+0xf0d): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0xf1a): undefined reference to `__imp__Perl_croak_nocontext ' UUID.o:UUID.c:(.text+0xf2e): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0xfb3): undefined reference to `__imp__Perl_sv_2pv_flags' UUID.o:UUID.c:(.text+0xffb): undefined reference to `__imp__Perl_sv_derived_from ' UUID.o:UUID.c:(.text+0x1049): undefined reference to `__imp__Perl_sv_2iv_flags' UUID.o:UUID.c:(.text+0x10dd): undefined reference to `__imp__Perl_newSVpv' UUID.o:UUID.c:(.text+0x11f0): undefined reference to `__imp__Perl_croak_nocontex t' UUID.o:UUID.c:(.text+0x1201): undefined reference to `__imp__Perl_croak_xs_usage ' UUID.o:UUID.c:(.text+0x1218): undefined reference to `_QueryPerformanceCounter@4 ' UUID.o:UUID.c:(.text+0x130d): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x1384): undefined reference to `__imp__Perl_sv_derived_fro m' UUID.o:UUID.c:(.text+0x13d5): undefined reference to `__imp__Perl_sv_2iv_flags' UUID.o:UUID.c:(.text+0x140f): undefined reference to `_rand' UUID.o:UUID.c:(.text+0x162b): undefined reference to `_srand' UUID.o:UUID.c:(.text+0x1647): undefined reference to `__imp__Perl_croak_nocontex t' UUID.o:UUID.c:(.text+0x1658): undefined reference to `__imp__Perl_croak_xs_usage ' UUID.o:UUID.c:(.text+0x16f0): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x1895): undefined reference to `__imp__Perl_croak_memory_w rap' UUID.o:UUID.c:(.text+0x18a6): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x190f): undefined reference to `__imp__Perl_sv_derived_fro m' UUID.o:UUID.c:(.text+0x195a): undefined reference to `__imp__Perl_sv_2iv_flags' UUID.o:UUID.c:(.text+0x1968): undefined reference to `_EnterCriticalSection@4' UUID.o:UUID.c:(.text+0x19ec): undefined reference to `_LeaveCriticalSection@4' UUID.o:UUID.c:(.text+0x1aee): undefined reference to `_LeaveCriticalSection@4' UUID.o:UUID.c:(.text+0x1b01): undefined reference to `__imp__Perl_croak_nocontex t' UUID.o:UUID.c:(.text+0x1b15): undefined reference to `__imp__Perl_croak_xs_usage ' UUID.o:UUID.c:(.text+0x1b40): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x1b67): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x1ba2): undefined reference to `_EnterCriticalSection@4' UUID.o:UUID.c:(.text+0x1c04): undefined reference to `_LeaveCriticalSection@4' UUID.o:UUID.c:(.text+0x1c36): undefined reference to `__imp__Perl_croak_xs_usage ' UUID.o:UUID.c:(.text+0x1c4a): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x1e12): undefined reference to `__errno' UUID.o:UUID.c:(.text+0x1e24): undefined reference to `_EnterCriticalSection@4' UUID.o:UUID.c:(.text+0x1e47): undefined reference to `_LeaveCriticalSection@4' UUID.o:UUID.c:(.text+0x1e6d): undefined reference to `__imp__Perl_sv_newmortal' UUID.o:UUID.c:(.text+0x1ea4): undefined reference to `__imp__Perl_sv_setref_pv' UUID.o:UUID.c:(.text+0x1ec6): undefined reference to `_GlobalMemoryStatus@4' UUID.o:UUID.c:(.text+0x1ed2): undefined reference to `_GetSystemInfo@4' UUID.o:UUID.c:(.text+0x1ede): undefined reference to `_GetSystemTimeAsFileTime@4 ' UUID.o:UUID.c:(.text+0x1eea): undefined reference to `_QueryPerformanceCounter@4 ' UUID.o:UUID.c:(.text+0x1ef0): undefined reference to `_GetTickCount@0' UUID.o:UUID.c:(.text+0x1f0c): undefined reference to `_GetComputerNameA@8' UUID.o:UUID.c:(.text+0x1f31): undefined reference to `__imp__Perl_newSVpv' UUID.o:UUID.c:(.text+0x1f42): undefined reference to `__imp__Perl_sv_2mortal' UUID.o:UUID.c:(.text+0x2089): undefined reference to `__imp__Perl_croak_xs_usage ' UUID.o:UUID.c:(.text+0x209b): undefined reference to `__imp__Perl_get_context' UUID.o:UUID.c:(.text+0x20f5): undefined reference to `__imp__Perl_xs_apiversion_ bootcheck' UUID.o:UUID.c:(.text+0x2118): undefined reference to `__imp__Perl_xs_version_boo tcheck' UUID.o:UUID.c:(.text+0x213b): undefined reference to `__imp__Perl_newXS' UUID.o:UUID.c:(.text+0x2435): undefined reference to `__imp__Perl_gv_stashpv' UUID.o:UUID.c:(.text+0x24ae): undefined reference to `_InitializeCriticalSection @4' UUID.o:UUID.c:(.text+0x24ca): undefined reference to `__imp__Perl_newSVpv' UUID.o:UUID.c:(.text+0x24ec): undefined reference to `__imp__Perl_newCONSTSUB' UUID.o:UUID.c:(.text+0x25b9): undefined reference to `__imp__Perl_call_list' collect2.exe: error: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\Data\UUID\UUID.dll' RJBS/Data-UUID-1.220.tar.gz D:\Strawberry\c\bin\dmake.exe -- NOT OK Stopping: 'install' failed for 'Data::UUID'. Failed during this command: RJBS/Data-UUID-1.220.tar.gz : make NO
Show quoted text
cpan> exit
Lockfile removed. C:\Users\Administrator\Documents\GitHub\DataFairPort\Libraries\Perl\FAIR\example
Show quoted text
s>perl -v
This is perl 5, version 18, subversion 4 (v5.18.4) built for MSWin32-x64-multi-t hread Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com
On Wed Apr 15 05:23:09 2015, mark.wilkinson@upm.es wrote:
Show quoted text
> Hi All! > > I've tried the 5.18 and 5.20 releases of Strawberry, and I get the > same > errors from both (64-bit Windows 7) with any CPAN module that requires > dmake. > > The errors look like this (this is just one of many examples)... any > ideas?
I have the suspicion that Strawberry's gcc is not being used because another gcc is in the path first. Can you install App::pwhich, then do: pwhich -a gcc gcc.exe g++ g++.exe (It's been a while since I used Perl on Windows, I don't know if pwhich requires the .exe or not) and report the results here? Thanks.
Is this still an issue?


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.