[Digikam-devel] [Bug 122747] Will not build with GCC 4.1
Patrice Tremblay
tremblaypatrice at yahoo.fr
Fri Mar 3 18:28:06 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=122747
------- Additional Comments From tremblaypatrice yahoo fr 2006-03-03 19:28 -------
OK... I fixed the previous error in my local copy (basically doing the same thing you did to fix cietonguewidget.h; removing 'Digikam::DColor::' in front of the two offending functions digikam/libs/dimg/dcolor.h)
But now this is what I get:
/bin/sh ../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i586 -mtune=i686 -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 -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o showfoto -R /opt/kde/lib -R /opt/kde/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib -L/opt/kde/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib -Wl,--as-needed -Wl,--enable-new-dtags main.o showfoto.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkutils -lkio -lkparts -ljpeg -lexiv2 ../../digikam/showfoto/setup/libsetup.la ../../digikam/libs/widgets/libwidgets.la ../../digikam/libs/dialogs/libdialog.la ../../digikam/libs/imageproperties/libimagepropertiesshowfoto.la ../../digikam/libs/thumbbar/libthumbbar.la ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la ../../digikam/utilities/imageeditor/editor/libdimgeditor.la ../../digikam/utilities/imageeditor/editor/libshowfoto.la ../../digikam/utilities/splashscreen/libsplashscreen.la ../../digikam/libs/threadimageio/libthreadimageio.la
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::qt_property(int, int, QVariant*)':sidebar.cpp:(.text+0x10e): undefined reference to `KMultiTabBar::qt_property(int, int, QVariant*)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::qt_cast(char const*)':sidebar.cpp:(.text+0x14f): undefined reference to `KMultiTabBar::qt_cast(char const*)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::staticMetaObject()':sidebar.cpp:(.text+0x1c1): undefined reference to `KMultiTabBar::staticMetaObject()'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::deleteTab(QWidget*)':sidebar.cpp:(.text+0x389): undefined reference to `KMultiTabBar::removeTab(int)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::appendTab(QWidget*, QPixmap const&, QString const&)':sidebar.cpp:(.text+0x40b): undefined reference to `KMultiTabBar::appendTab(QPixmap const&, int, QString const&)'
:sidebar.cpp:(.text+0x43c): undefined reference to `KMultiTabBar::tab(int) const'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::setSplitter(QSplitter*)':sidebar.cpp:(.text+0x4a9): undefined reference to `KMultiTabBar::setStyle(KMultiTabBar::KMultiTabBarStyle)'
:sidebar.cpp:(.text+0x4bc): undefined reference to `KMultiTabBar::showActiveTabTexts(bool)'
:sidebar.cpp:(.text+0x50d): undefined reference to `KMultiTabBar::setPosition(KMultiTabBar::KMultiTabBarPosition)'
:sidebar.cpp:(.text+0x52f): undefined reference to `KMultiTabBar::setPosition(KMultiTabBar::KMultiTabBarPosition)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::Sidebar(QWidget*, char const*, Digikam::Sidebar::Side, bool)':sidebar.cpp:(.text+0x57a): undefined reference to `KMultiTabBar::KMultiTabBar(KMultiTabBar::KMultiTabBarMode, QWidget*, char const*)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::setActiveTab(QWidget*)':sidebar.cpp:(.text+0x6c8): undefined reference to `KMultiTabBar::setTab(int, bool)'
:sidebar.cpp:(.text+0x6e8): undefined reference to `KMultiTabBar::setTab(int, bool)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::qt_emit(int, QUObject*)':sidebar.cpp:(.text+0x7af): undefined reference to `KMultiTabBar::qt_emit(int, QUObject*)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::shrink()':sidebar.cpp:(.text+0x84f): undefined reference to `KMultiTabBar::tabs()'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::clicked(int)':sidebar.cpp:(.text+0x8f6): undefined reference to `KMultiTabBar::setTab(int, bool)'
:sidebar.cpp:(.text+0x916): undefined reference to `KMultiTabBar::setTab(int, bool)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::qt_invoke(int, QUObject*)':sidebar.cpp:(.text+0x9ff): undefined reference to `KMultiTabBar::qt_invoke(int, QUObject*)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::Sidebar(QWidget*, char const*, Digikam::Sidebar::Side, bool)':sidebar.cpp:(.text+0xa4a): undefined reference to `KMultiTabBar::KMultiTabBar(KMultiTabBar::KMultiTabBarMode, QWidget*, char const*)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::~Sidebar()':sidebar.cpp:(.text+0xc87): undefined reference to `KMultiTabBar::~KMultiTabBar()'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::~Sidebar()':sidebar.cpp:(.text+0xce7): undefined reference to `KMultiTabBar::~KMultiTabBar()'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::~Sidebar()':sidebar.cpp:(.text+0xd47): undefined reference to `KMultiTabBar::~KMultiTabBar()'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o): In function `Digikam::Sidebar::loadViewState()':sidebar.cpp:(.text+0xedf): undefined reference to `KMultiTabBar::setTab(int, bool)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o):(.data.rel.ro._ZTVN7Digikam7SidebarE[vtable for Digikam::Sidebar]+0x198): undefined reference to `KMultiTabBar::fontChange(QFont const&)'
../../digikam/libs/widgets/.libs/libwidgets.a(sidebar.o):(.data.rel.ro._ZTIN7Digikam7SidebarE[typeinfo for Digikam::Sidebar]+0x8): undefined reference to `typeinfo for KMultiTabBar'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(imagepropertiessidebar.o):(.data.rel.ro._ZTVN7Digikam22ImagePropertiesSideBarE[vtable for Digikam::ImagePropertiesSideBar]+0x198): undefined reference to `KMultiTabBar::fontChange(QFont const&)'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(exifwidget.o): In function `Digikam::ExifWidget::getTagDescription(QString const&)':exifwidget.cpp:(.text+0x3d9): undefined reference to `Exiv2::ExifKey::ExifKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:exifwidget.cpp:(.text+0x3ec): undefined reference to `Exiv2::ExifTags::tagDesc(unsigned short, Exiv2::IfdId)'
:exifwidget.cpp:(.text+0x40b): undefined reference to `Exiv2::ExifKey::~ExifKey()'
:exifwidget.cpp:(.text+0x460): undefined reference to `Exiv2::ExifKey::~ExifKey()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(exifwidget.o): In function `Digikam::ExifWidget::getTagTitle(QString const&)':exifwidget.cpp:(.text+0x619): undefined reference to `Exiv2::ExifKey::ExifKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:exifwidget.cpp:(.text+0x62c): undefined reference to `Exiv2::ExifTags::tagTitle(unsigned short, Exiv2::IfdId)'
:exifwidget.cpp:(.text+0x64b): undefined reference to `Exiv2::ExifKey::~ExifKey()'
:exifwidget.cpp:(.text+0x6a0): undefined reference to `Exiv2::ExifKey::~ExifKey()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(exifwidget.o): In function `Digikam::ExifWidget::decodeMetadata()':exifwidget.cpp:(.text+0x16a4): undefined reference to `Exiv2::ExifData::ExifData()'
:exifwidget.cpp:(.text+0x16dc): undefined reference to `Exiv2::ExifData::load(unsigned char const*, long)'
:exifwidget.cpp:(.text+0x16f4): undefined reference to `Exiv2::ExifData::sortByKey()'
:exifwidget.cpp:(.text+0x1a5e): undefined reference to `Exiv2::operator<<(std::basic_ostream<char, std::char_traits<char> >&, Exiv2::Exifdatum const&)'
:exifwidget.cpp:(.text+0x1c83): undefined reference to `Exiv2::ExifData::~ExifData()'
:exifwidget.cpp:(.text+0x1cfa): undefined reference to `Exiv2::ExifData::~ExifData()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(exifwidget.o):(.data.DW.ref._ZTIN5Exiv25ErrorE[DW.ref._ZTIN5Exiv25ErrorE]+0x0): undefined reference to `typeinfo for Exiv2::Error'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(iptcwidget.o): In function `Digikam::IptcWidget::decodeMetadata()':iptcwidget.cpp:(.text+0xaed): undefined reference to `Exiv2::IptcData::load(unsigned char const*, long)'
:iptcwidget.cpp:(.text+0xb3f): undefined reference to `Exiv2::IptcData::sortByKey()'
:iptcwidget.cpp:(.text+0xe19): undefined reference to `Exiv2::operator<<(std::basic_ostream<char, std::char_traits<char> >&, Exiv2::Iptcdatum const&)'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(iptcwidget.o): In function `Digikam::IptcWidget::getTagDescription(QString const&)':iptcwidget.cpp:(.text+0x18c3): undefined reference to `Exiv2::IptcKey::IptcKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:iptcwidget.cpp:(.text+0x18d7): undefined reference to `Exiv2::IptcDataSets::dataSetDesc(unsigned short, unsigned short)'
:iptcwidget.cpp:(.text+0x18f1): undefined reference to `vtable for Exiv2::IptcKey'
:iptcwidget.cpp:(.text+0x198a): undefined reference to `vtable for Exiv2::IptcKey'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(iptcwidget.o): In function `Digikam::IptcWidget::getTagTitle(QString const&)':iptcwidget.cpp:(.text+0x1bb3): undefined reference to `Exiv2::IptcKey::IptcKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:iptcwidget.cpp:(.text+0x1bc7): undefined reference to `Exiv2::IptcDataSets::dataSetTitle(unsigned short, unsigned short)'
:iptcwidget.cpp:(.text+0x1be1): undefined reference to `vtable for Exiv2::IptcKey'
:iptcwidget.cpp:(.text+0x1c7a): undefined reference to `vtable for Exiv2::IptcKey'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(makernotewidget.o): In function `Digikam::MakerNoteWidget::getTagDescription(QString const&)':makernotewidget.cpp:(.text+0x3d9): undefined reference to `Exiv2::ExifKey::ExifKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:makernotewidget.cpp:(.text+0x3ec): undefined reference to `Exiv2::ExifTags::tagDesc(unsigned short, Exiv2::IfdId)'
:makernotewidget.cpp:(.text+0x40b): undefined reference to `Exiv2::ExifKey::~ExifKey()'
:makernotewidget.cpp:(.text+0x460): undefined reference to `Exiv2::ExifKey::~ExifKey()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(makernotewidget.o): In function `Digikam::MakerNoteWidget::getTagTitle(QString const&)':makernotewidget.cpp:(.text+0x619): undefined reference to `Exiv2::ExifKey::ExifKey(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:makernotewidget.cpp:(.text+0x62c): undefined reference to `Exiv2::ExifTags::tagTitle(unsigned short, Exiv2::IfdId)'
:makernotewidget.cpp:(.text+0x64b): undefined reference to `Exiv2::ExifKey::~ExifKey()'
:makernotewidget.cpp:(.text+0x6a0): undefined reference to `Exiv2::ExifKey::~ExifKey()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(makernotewidget.o): In function `Digikam::MakerNoteWidget::decodeMetadata()':makernotewidget.cpp:(.text+0x1654): undefined reference to `Exiv2::ExifData::ExifData()'
:makernotewidget.cpp:(.text+0x168c): undefined reference to `Exiv2::ExifData::load(unsigned char const*, long)'
:makernotewidget.cpp:(.text+0x16a4): undefined reference to `Exiv2::ExifData::sortByKey()'
:makernotewidget.cpp:(.text+0x1a0e): undefined reference to `Exiv2::operator<<(std::basic_ostream<char, std::char_traits<char> >&, Exiv2::Exifdatum const&)'
:makernotewidget.cpp:(.text+0x1c33): undefined reference to `Exiv2::ExifData::~ExifData()'
:makernotewidget.cpp:(.text+0x1caa): undefined reference to `Exiv2::ExifData::~ExifData()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(pngmetaloader.o): In function `Digikam::PNGMetaLoader::load(QString const&)':pngmetaloader.cpp:(.text+0xb13): undefined reference to `Exiv2::IptcData::operator[](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:pngmetaloader.cpp:(.text+0xb1f): undefined reference to `Exiv2::Iptcdatum::operator=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:pngmetaloader.cpp:(.text+0xde3): undefined reference to `Exiv2::IptcData::copy()'
:pngmetaloader.cpp:(.text+0xdf8): undefined reference to `Exiv2::DataBuf::release()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(dmetaloader.o): In function `Digikam::DMetaLoader::saveWithExiv2(QString const&)':dmetaloader.cpp:(.text+0x190): undefined reference to `Exiv2::ImageFactory::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:dmetaloader.cpp:(.text+0x1d3): undefined reference to `Exiv2::ExifData::ExifData()'
:dmetaloader.cpp:(.text+0x1f4): undefined reference to `Exiv2::ExifData::load(unsigned char const*, long)'
:dmetaloader.cpp:(.text+0x204): undefined reference to `Exiv2::ExifData::~ExifData()'
:dmetaloader.cpp:(.text+0x24f): undefined reference to `Exiv2::IptcData::load(unsigned char const*, long)'
:dmetaloader.cpp:(.text+0x317): undefined reference to `Exiv2::ExifData::~ExifData()'
../../digikam/libs/imageproperties/.libs/libimagepropertiesshowfoto.a(dmetaloader.o): In function `Digikam::DMetaLoader::loadWithExiv2(QString const&)':dmetaloader.cpp:(.text+0x51a): undefined reference to `Exiv2::ImageFactory::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:dmetaloader.cpp:(.text+0x562): undefined reference to `Exiv2::ExifData::copy()'
:dmetaloader.cpp:(.text+0x574): undefined reference to `Exiv2::DataBuf::release()'
:dmetaloader.cpp:(.text+0x635): undefined reference to `Exiv2::IptcData::copy()'
:dmetaloader.cpp:(.text+0x647): undefined reference to `Exiv2::DataBuf::release()'
collect2: ld returned 1 exit status
make[4]: *** [showfoto] Erreur 1
make[4]: Leaving directory `/tmp/digikam-0.9SVN/digikam/showfoto'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/tmp/digikam-0.9SVN/digikam/showfoto'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/tmp/digikam-0.9SVN/digikam'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/tmp/digikam-0.9SVN'
make: *** [all] Erreur 2
More information about the Digikam-devel
mailing list