[KPhotoAlbum] compile error with kphotoalbum 3.1 - need some help...
Reimar Imhof
Reimar.Imhof at netcologne.de
Fri Jan 4 14:16:19 GMT 2008
Am Dienstag, 11. Dezember 2007 01:28 schrieb Jan Kundrát:
> 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?
Yes, it gets linked together. But the resulting binary is very large, about 15
or 16 MB.
It also gets linked together when I put the -ljpeg at the end of the link
comand. I also get a very big file, about 15 or 16 MB.
>
> > -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
Cheers
Reimar
More information about the Kphotoalbum
mailing list