[KPhotoAlbum] compile error with kphotoalbum 3.1 - need some help...

Jan Kundrát jkt at gentoo.org
Tue Dec 11 00:28:07 GMT 2007


Reimar Imhof wrote:
> /bin/sh ../libtool --silent --tag=CXX   --mode=link /usr/bin/g++-4.2 
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -m32
> -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions 
> -DQT_NO_CAST_ASCII -DQT_CAST_NO_ASCII  -L/opt/kde3/lib -L/usr/lib/qt3/lib 

What happens when you remove this item:

> -Wl,--as-needed

from that command? Does it get linked together?

> -Wl,--enable-new-dtags   -Wl,-Bdirect -o kphotoalbum main.o
> MainWindow/libMainWindow.la Survey/libsurvey.la ImportExport/libImportExport.la
> XMLDB/libxmldb.la DateBar/libdatebar.la Browser/libBrowser.la
> Plugins/libPlugins.la Viewer/libViewer.la ThumbnailView/libThumbnailView.la
> AnnotationDialog/libAnnotationDialog.la Settings/libSettings.la
> ImageManager/libImageManager.la DB/libDB.la
> CategoryListView/libCategoryListView.la  -lkio -ljpeg -lkipi 
> HTMLGenerator/libHTMLGenerator.la Utilities/libUtilities.la Exif/libexif.la
> -lexiv2 -lkmediaplayer -L/opt/kde3/lib -lkdcraw


-- 
cd /local/pub && more beer > /dev/mouth

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20071211/67fece64/attachment.sig>


More information about the Kphotoalbum mailing list