[Digikam-devel] Compile problems with png library

Gerhard Kulzer gerhard at kulzer.net
Tue Mar 14 06:58:26 GMT 2006


Hi Gilles,
I'm back in France and try to compile the latest version of svn. compilation 
stops here:
/bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -O2 -march=pentium4 
-ffast-math -mmmx -msse2    -o libdigikam.la -rpath /usr/lib -L/usr/lib 
-L/usr/share/qt3/lib -L/usr/X11R6/lib    -R /usr/lib -R /usr/lib 
-R /usr/share/qt3/lib -R /usr/X11R6/lib -no-undefined -Wl,--no-undefined 
-Wl,--allow-shlib-undefined albummanager.lo album.lo albumitemhandler.lo 
albumdb.lo albumdb_sqlite2.lo albumlister.lo dragobjects.lo iconview.lo 
icongroupitem.lo iconitem.lo digikamapp.lo digikamview.lo albumfolderview.lo 
albumiconview.lo albumicongroupitem.lo albumiconitem.lo albumpropsedit.lo 
albumsettings.lo cameralist.lo cameratype.lo cameradragobject.lo 
kipiinterface.lo tagcreatedlg.lo albumfiletip.lo tagspopupmenu.lo syncjob.lo 
albumhistory.lo scanlib.lo imageinfo.lo datefolderview.lo pixmapmanager.lo 
tagfolderview.lo tagfilterview.lo monthwidget.lo searchfolderview.lo dio.lo 
searchresultsview.lo searchresultsitem.lo searchquickdialog.lo 
searchadvanceddialog.lo searchwidgets.lo kdateedit.lo kdatetimeedit.lo 
kdatepickerpopup.lo folderview.lo folderitem.lo upgradedb_sqlite2tosqlite3.lo 
squeezedcombobox.lo ratingwidget.lo digikamfirstrun.lo dcopiface.lo 
dcopiface_skel.lo firstrunUI.lo -lkio -lsqlite3   -lkabc -lkexif   -lkipi   
-lkutils 
-lexiv2 ../../digikam/sqlite/libsqlite.la ../../digikam/libs/filters/libfilters.la ../../digikam/libs/thumbbar/libthumbbar.la ../../digikam/libs/themeengine/libthemeengine.la ../../digikam/libs/widgets/libwidgets.la ../../digikam/libs/dialogs/libdialog.la ../../digikam/libs/jpegutils/libjpegutils.la ../../digikam/libs/imageproperties/libimagepropertiesdigikam.la ../../digikam/libs/threadimageio/libthreadimageio.la ../../digikam/utilities/cameragui/libcameragui.la ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la ../../digikam/utilities/imageeditor/editor/libdimgeditor.la ../../digikam/utilities/splashscreen/libsplashscreen.la ../../digikam/utilities/setup/libsetup.la
../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(pngmetaloader.o): 
In function `Digikam::PNGMetaLoader::png_skip_till_end(png_struct_def*, 
png_info_struct*)':pngmetaloader.cpp:(.text+0x51): undefined reference to 
`png_crc_finish'
:pngmetaloader.cpp:(.text+0x68): undefined reference to `png_read_data'
:pngmetaloader.cpp:(.text+0x73): undefined reference to `png_get_uint_32'
:pngmetaloader.cpp:(.text+0x7e): undefined reference to `png_reset_crc'
:pngmetaloader.cpp:(.text+0x98): undefined reference to `png_crc_read'
:pngmetaloader.cpp:(.text+0xec): undefined reference to `png_handle_IHDR'
:pngmetaloader.cpp:(.text+0x162): undefined reference to `png_read_data'
:pngmetaloader.cpp:(.text+0x16d): undefined reference to `png_get_uint_32'
:pngmetaloader.cpp:(.text+0x17b): undefined reference to `png_reset_crc'
:pngmetaloader.cpp:(.text+0x195): undefined reference to `png_crc_read'
:pngmetaloader.cpp:(.text+0x1ef): undefined reference to `png_handle_tEXt'
:pngmetaloader.cpp:(.text+0x20d): undefined reference to `png_handle_tIME'
:pngmetaloader.cpp:(.text+0x225): undefined reference to `png_crc_finish'
:pngmetaloader.cpp:(.text+0x26d): undefined reference to `png_handle_IEND'
:pngmetaloader.cpp:(.text+0x28b): undefined reference to `png_handle_zTXt'
:pngmetaloader.cpp:(.text+0x2a9): undefined reference to `png_handle_unknown'
collect2: ld returned 1 exit status
make[2]: *** [libdigikam.la] Fehler 1
make[2]: Leaving directory `/usr/local/graphics/digikam/digikam'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/graphics/digikam/digikam'
make: *** [all-recursive] Fehler 1

The png12-dev libs are installed.
Any idea whats going wrong?

Gerhard



More information about the Digikam-devel mailing list