[prev in list] [next in list] [prev in thread] [next in thread]
List: fink-users
Subject: [Fink-users] qmake broken (Was Re: link issue for qtpfsgui-mac on
From: Martin Costabel <costabel () wanadoo ! fr>
Date: 2010-03-06 2:08:08
Message-ID: 4B91B908.4050409 () wanadoo ! fr
[Download RAW message or body]
Martin Costabel wrote:
> Pascal Lamboley wrote:
>> Hi all,
>>
>> Compiling qtpfsgui-mac on my PPC machines, I get :
>> g++-4.0 -headerpad_max_install_names -arch ppc -o qtpfsgui.app/
> []
>> qrc_icons.o -F/sw/lib/qt4-mac/lib -L/sw/lib/qt4-mac/lib -lexiv2 -
>> lIlmImf -lImath -lHalf -lIex -lfftw3f -lm -ltiff -lIlmThread -L/sw/
>> lib -ljpeg -lexpat -framework QtGui -L/sw/lib/system-openssl/lib -L/
>> sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/usr/X11R6/lib -L/
>> sw/lib/qt4-mac/lib -F/sw/lib/qt4-mac/lib -Wl,-framework,QtCore -
>> framework QtCore -liconv
>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
>> _compress
>> _uncompress
>
> There is a "-lz" missing. This is probably a bug in the new qt4-mac
> package. With qt4-mac-4.5.2-2 installed, there is no such problem, -lz
> shows up on the linker line (and some other additional necessary libs
> like -lpng, too).
I can confirm this now: With the new qt4-mac installed, qmake produces a
defective Makefile with missing libraries. When I replace the file
/sw/lib/qt4-mac/lib/QtGui.framework/QtGui.prl
in qt4-mac-4.6.2-2 by the one from an older qt4-mac-4.5.2-2, then the
above error does not happen, and qtpfsgui-mac builds OK.
I suspect that this is not a problem with the new qt4 version, but a
result of Fink's *.la-file cleaning policy. I think qmake uses
dependency_libs fields from some *.la files to construct the
QMAKE_PRL_LIBS variable, which it then puts into the Makefile.
If my suspicion is right, then putting the right libraries back into
that variable will require a major coding effort.
--
Martin
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic