<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Greets,<br><br>Relative to CLFS-1.1.0 x86_64 multilib.....<br><br>The 32bit build works fine, but the 64bit (and I'll suspect n32 as well) breaks.<br><br>After a bit of dissecting, it appears the configure time switch  '--libdir= ' is <br>somehow causing things to go awry.....<br><br>-----<br><br>32bit;<br><br>make[1]: Entering directory `/usr/local/wxWidgets-2.8.9/utils/wxrc'             <br>/usr/local/wxWidgets-2.8.9/bk-deps g++ -m32 -c -o wxrc_wxrc.o -D__WXGTK__     -I<br>. -DWXUSINGDLL -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/local/<br>wxWidgets-2.8.9/lib/wx/include/gtk2-ansi-release-2.8 -I../../include -pthread -I<br>/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/in<br>clude/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0<br>/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-<br>1 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-ali<br>asing ./wxrc.cpp                                                                <br>g++ -m32 -o wxrc wxrc_wxrc.o -pthread     -L/usr/local/wxWidgets-2.8.9/lib   -lz<br> -ldl -lm -lwx_base_xml-2.8 -lexpat -lwx_base-2.8       -pthread  -Wl,--version-<br>script,/usr/local/wxWidgets-2.8.9/version-script -lz -ldl -lm                   <br>make[1]: Leaving directory `/usr/local/wxWidgets-2.8.9/utils/wxrc'<br><br>(end of successful build)<br><br>-----<br><br>64bit;<br><br>make[1]: Entering directory `/usr/local/wxWidgets-2.8.9/utils/wxrc'         <br>/usr/local/wxWidgets-2.8.9/bk-deps g++ -m64 -c -o wxrc_wxrc.o -D__WXGTK__   <br>  -I. -DWXUSINGDLL -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/lo<br>cal/wxWidgets-2.8.9/lib/wx/include/gtk2-ansi-release-2.8 -I../../include -pt<br>hread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0<br> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/li<br>b64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/inc<br>lude/pixman-1 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fn<br>o-strict-aliasing ./wxrc.cpp                                                    <br>g++ -m64 -o wxrc wxrc_wxrc.o -pthread   -L/usr/lib64     -L/usr/local/wxWidg<br>ets-2.8.9/lib   -lz -ldl -lm -lwx_base_xml-2.8 -lexpat -lwx_base-2.8       -pthr<br>ead   -L/usr/lib64  -Wl,--version-script,/usr/local/wxWidgets-2.8.9/version-<br>script -lz -ldl -lm                                                             <br>wxrc_wxrc.o: In function `ArrayOfXRCWidgetData::Insert(XRCWidgetData const&, uns<br>igned long, unsigned long)':                                                    <br>wxrc.cpp:(.text+0x2eb): undefined reference to `wxBaseArrayPtrVoid::Insert(void <br>const*, unsigned long, unsigned long)'                                          <br>wxrc_wxrc.o: In function `ArrayOfXRCWidgetData::Add(XRCWidgetData const&, unsign<br>ed long)':...<br><br>....<snip>....<br><br>wxrc.cpp:(.text._ZN15XRCWndClassData18GenerateHeaderCodeER7wxFFile[XRCWndClassDa<br>ta::GenerateHeaderCode(wxFFile&)]+0x742): undefined reference to `wxStringBase::<br>InitWith(char const*, unsigned long, unsigned long)'                            <br>wxrc.cpp:(.text._ZN15XRCWndClassData18GenerateHeaderCodeER7wxFFile[XRCWndClassDa<br>ta::GenerateHeaderCode(wxFFile&)]+0x7de): undefined reference to `wxStringBase::<br>InitWith(char const*, unsigned long, unsigned long)'                            <br>collect2: ld returned 1 exit status                                             <br>make[1]: *** [wxrc] Error 1                                                     <br>make[1]: Leaving directory `/usr/local/wxWidgets-2.8.9/utils/wxrc'          <br>make: *** [wxrc] Error 2<br><br>-----<br><br>Apparently, the  '--libdir=/usr/lib64'  switch issued at configure time, gets parsed into the<br>makefiles as part of variable  LDFLAGS , and as this precedes the actual linktime library<br>path we want   ( -L/usr/local/src/wxWidgets-2.8.9/lib ), ld fails to find the libraries we're<br>trying to link 'wxrc' to.....or such and similar.<br><br>I don't seem to recall this happening with wxWidget-2.8.8 so perhaps something has changed?<br><br>Not sure if it's me, or something else...nor even how to fix it, but there it is....<br><br>Manually editted the offending LDFLAGS entry from the wxrc makefile and the problem<br>goes away.....perhaps someone wiser than myself could look into this one?<br><br><br>Regards,<br><br>Don<br><br /><hr /> <a href='' target='_new'></a></body>
</html>