Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 68384
Status: resolved
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.99
Fixed in: (no value)



Subject: Html.o:Html.c:(.text+0x1753d): undefined reference to `_imp___ZTV12wxClientData'
No idea why this happens the command g++ -shared -s -o ..\..\blib\arch\auto\Wx\Html\Html.dll Html.o C:\perl\5.12.2\lib\MSWin32-x86-multi-thread\CORE\libperl512.a C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib\libwxmsw28u_core.a C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib\libwxbase28u.a C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib\libwxmsw28u_html.a C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib\libwxmsw28u_core.a C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib\libwxbase28u.a C:\MinGW\lib\libmoldname.a C:\MinGW\lib\libkernel32.a C:\MinGW\lib\libuser32.a C:\MinGW\lib\libgdi32.a C:\MinGW\lib\libwinspool.a C:\MinGW\lib\libcomdlg32.a C:\MinGW\lib\libadvapi32.a C:\MinGW\lib\libshell32.a C:\MinGW\lib\libole32.a C:\MinGW\lib\liboleaut32.a C:\MinGW\lib\libnetapi32.a C:\MinGW\lib\libuuid.a C:\MinGW\lib\libws2_32.a C:\MinGW\lib\libmpr.a C:\MinGW\lib\libwinmm.a C:\MinGW\lib\libversion.a C:\MinGW\lib\libodbc32.a C:\MinGW\lib\libodbccp32.a C:\MinGW\lib\libcomctl32.a Html.def the error Html.o:Html.c:(.text+0x1753d): undefined reference to `_imp___ZTV12wxClientData' Html.o:Html.c:(.text$_ZN12wxClientDataD1Ev[wxClientData::~wxClientData()]+0x5): undefined reference to `_imp___ZTV12wxClientData' Html.o:Html.c:(.text$_ZN12wxClientDataD0Ev[wxClientData::~wxClientData()]+0xb): undefined reference to `_imp___ZTV12wxClientData' Html.o:Html.c:(.text$_ZN15wxPliUserDataCDD1Ev[wxPliUserDataCD::~wxPliUserDataCD()]+0x2c): undefined reference to `_imp___ZTV12wxClientData' Html.o:Html.c:(.text$_ZN15wxPliUserDataCDD1Ev[wxPliUserDataCD::~wxPliUserDataCD()]+0x49): undefined reference to `_imp___ZTV12wxClientData' Html.o:Html.c:(.text$_ZN15wxPliUserDataCDD1Ev[wxPliUserDataCD::~wxPliUserDataCD()]+0x65): more undefined references to `_imp___ZTV12wxClientData' follow collect2: ld returned 1 exit status dmake: Error code 129, while making '..\..\blib\arch\auto\Wx\Html\Html.dll' dmake: Error code 255, while making 'subdirs' dmake: Error code 255, while making 'subdirs' the symbol does appear to be around in some form $ grep -r ZTV12wxClientData . Binary file ./ext/html/Html.o matches grep -r ZTV12wxClientData C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib Binary file C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets/msw_2_8_11_uni_mslu_gcc_3_4/lib/wxmsw28u_core_gcc_custom.dll matches Binary file C:\perl\site\5.12.2\lib\MSWin32-x86-multi-thread\Alien\wxWidgets/msw_2_8_11_uni_mslu_gcc_3_4/lib/wxmsw28u_html_gcc_custom.dll matches
On Mon May 23 00:52:45 2011, noreply wrote: Show quoted text
> No idea why this happens
Could you attach the full output of perl Makefile.PL & make Thanks Mark
On Mon May 23 06:59:04 2011, MDOOTSON wrote: Show quoted text
> On Mon May 23 00:52:45 2011, noreply wrote:
> > No idea why this happens
> > Could you attach the full output of perl Makefile.PL & make > > Thanks > > Mark
:) Its not very revealing, everything goes smoothly until Html.o it worked fine for compiling the last version $ pmvers Wx Alien::wxWidgets Wx: 0.98 Alien::wxWidgets: 0.51 $ perl Makefile.PL Checking if your kit is complete... Looks good 'WX' is not a known MakeMaker parameter name. Note (probably harmless): No library found for -lunicows Note (probably harmless): No library found for -lunicows Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::RichText Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Print Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::DateTime Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Html Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Media Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Help Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::XRC Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Grid Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::STC Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::AUI Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Socket Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::DND Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Calendar Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::MDI Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::DocView Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::FS Note (probably harmless): No library found for -lunicows Writing Makefile for Wx::Perl::SplashFast Writing Makefile for Wx::Perl::Carp Writing Makefile for Wx::Perl::TextValidator Writing Makefile for Wx::Perl Writing Makefile for Wx Writing Makefile for Wx ====================================================================== For installation instructions and further help please see docs/INSTALL.pod For command line switches help use: perl Makefile.PL --help ====================================================================== $ dmake >Wx-0.99-smooth-until-Html.txt 2>&1
Subject: Wx-0.99-smooth-until-Html.txt

Message body is not shown because it is too large.

Thanks for the extra info. I have no idea why it happens either. I would not expect a name mangling issue to only occur in html.o and not before. If you have the time, could you check if Wx-0.98 still builds? That would at least discount changes to your environment + compiler since building wxWidgets as a cause.
On Mon May 23 00:52:45 2011, noreply wrote: Hi, Just noticed your grep output. This produces for me Binary file libwxbase28u.a matches Binary file wxbase28u_gcc_custom.dll matches Binary file wxmsw28u_core_gcc_custom.dll matches Binary file wxmsw28u_html_gcc_custom.dll matches but you appear to be missing the symbol in the important place - libwxbase28u.a ? Show quoted text
> the symbol does appear to be around in some form > > $ grep -r ZTV12wxClientData . > Binary file ./ext/html/Html.o matches > > grep -r ZTV12wxClientData > C:\perl\site\5.12.2\lib\MSWin32-x86-multi- > thread\Alien\wxWidgets\msw_2_8_11_uni_mslu_gcc_3_4\lib > Binary file > C:\perl\site\5.12.2\lib\MSWin32-x86-multi- >
thread\Alien\wxWidgets/msw_2_8_11_uni_mslu_gcc_3_4/lib/wxmsw28u_core_gcc _custom.dll Show quoted text
> matches > Binary file > C:\perl\site\5.12.2\lib\MSWin32-x86-multi- >
thread\Alien\wxWidgets/msw_2_8_11_uni_mslu_gcc_3_4/lib/wxmsw28u_html_gcc _custom.dll Show quoted text
> matches
Yup, Wx-0.98 failed to build for the same reason I had nuked my WXDIR after installing Wx-0.98 the first time, and my config had 'wx_base_directory' => 'D:\\wxMSW-2.8.11', 'prefix' => 'D:\\wxMSW-2.8.11' ...-ID:\\wxMSW-2.8.11\\include -ID:\\wxMSW-2.8.11\\contrib\\include ' so apparently, something went fubar with my wxMSW-2.8.11 build checking some logs I forgot I had, I see I had two variants wxMSW-2.8.11\lib\gcc_dll\libwxmsw28u_html.a wxMSW-2.8.11\lib\libwx_mswu_html-2.8.dll.a so maybe it was picking up the other version or some .o files or something or Alien::wxWidgets copied the wrong one I'll be back :)
On Tue May 24 07:35:19 2011, noreply wrote: Show quoted text
> Yup, Wx-0.98 failed to build for the same reason > I had nuked my WXDIR after installing Wx-0.98 the first time, and my > config had > > 'wx_base_directory' => 'D:\\wxMSW-2.8.11', > 'prefix' => 'D:\\wxMSW-2.8.11' > ...-ID:\\wxMSW-2.8.11\\include -ID:\\wxMSW-2.8.11\\contrib\\include ' > > so apparently, something went fubar with my wxMSW-2.8.11 build > checking some logs I forgot I had, I see I had two variants > wxMSW-2.8.11\lib\gcc_dll\libwxmsw28u_html.a > wxMSW-2.8.11\lib\libwx_mswu_html-2.8.dll.a > > so maybe it was picking up the other version > or some .o files or something > or Alien::wxWidgets copied the wrong one > > I'll be back :)
uninstall Alien::wxWidgets Wx and reinstalling went smoothly as expected i won't be trying to replicate the fubar situation :) thanks for your time thanks
No problem. Thanks for updating.