Subject: | Can't compile Tk-804.034 f/Windows 7 (64-bit) with Strawberry Perl 5.18.2.1-64bit |
Date: | Wed, 5 Feb 2014 17:49:07 +0000 |
To: | "bug-Tk [...] rt.cpan.org" <bug-Tk [...] rt.cpan.org> |
From: | "Urquhart, Russ" <rurquhart [...] ti.com> |
Hi,
I have tried, with both Strawberry Perl 5.18.2.1-64bit (as well as Activestate Perl 5.16.3.1603 64-bit), to compile and make this.
The perl Makefile.PL seems to go ok. It is when I do the dmake. It goes for a while and then ends with:
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 X.bs
dlltool --def X.def --output-exp dll.exp
g++ -o ..\..\blib\arch\auto\Tk\X\X.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" X.o C:\strawberry\perl\l
b\CORE\libperl518.a C:\strawberry\c\x86_64-w64-mingw32\lib\libimm32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libcomctl32.a C:\strawberry\c\x86_64-w64-mingw32\l
b\libcomdlg32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libmoldname.a C:\strawberry\c\x86_64-w64-mingw32\lib\l
bkernel32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libuser32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libwins
ool.a C:\strawberry\c\x86_64-w64-mingw32\lib\libcomdlg32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libadvapi32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libshell
2.a C:\strawberry\c\x86_64-w64-mingw32\lib\libole32.a C:\strawberry\c\x86_64-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libnetapi32.a
C:\strawberry\c\x86_64-w64-mingw32\lib\libuuid.a C:\strawberry\c\x86_64-w64-mingw32\lib\libws2_32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libmpr.a C:\strawber
y\c\x86_64-w64-mingw32\lib\libwinmm.a C:\strawberry\c\x86_64-w64-mingw32\lib\libversion.a C:\strawberry\c\x86_64-w64-mingw32\lib\libodbc32.a C:\strawberry\c\x8
_64-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\x86_64-w64-mingw32\lib\libcomctl32.a dll.exp
X.o:X.c:(.text+0xb5): undefined reference to `_imp__Perl_sv_setnv'
X.o:X.c:(.text+0xcb): undefined reference to `_imp__Perl_mg_set'
X.o:X.c:(.text+0xf9): undefined reference to `_imp__Perl_sv_newmortal'
X.o:X.c:(.text+0x119): undefined reference to `_imp__Perl_sv_2iv_flags'
X.o:X.c:(.text+0x13d): undefined reference to `_imp__Perl_sv_2pv_flags'
X.o:X.c:(.text+0x284c): undefined reference to `_imp__Perl_croak_xs_usage'
X.o:X.c:(.text+0x2fcb): undefined reference to `_imp__Perl_xs_apiversion_bootcheck'
X.o:X.c:(.text+0x2fff): undefined reference to `_imp__Perl_xs_version_bootcheck'
X.o:X.c:(.text+0x3030): undefined reference to `_imp__Perl_newXS_flags'
X.o:X.c:(.text+0x304e): undefined reference to `_imp__Perl_call_list'
collect2: ld returned 1 exit status
dmake: Error code 129, while making '..\..\blib\arch\auto\Tk\X\X.dll'
dmake: Error code 255, while making 'subdirs'
dmake: Error code 255, while making 'subdirs'
Perl version is:
C:\Tk-804.032>perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x64-multi-thread
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.
I'm running Windows version 7.
ANY help anyone can give PLEASE! I am trying to test another application that relies on Tk for windows!
Thanks again!
Russ Urquhart