Compile error: Undefined reference

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile error: Undefined reference

Bugzilla from spiessli@gmx.net

Hello,

I am trying to compile digikam 0.9.0 beta3 and got problems.
My system is a Linux from Scratch with KDE-3.5.5, gphoto 2.2.0 and libgphoto
2.2.1.

The error I get is the same, whether I use digikam 0.9.0beta3 or svn:

/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 -O2 -Os -march=pentium-m -msse2 -msse -mmmx -fomit-frame-pointer -mfpmath=sse,387 -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
libdigikam.la -rpath /opt/kde-3.5.5/lib -L/opt/kde-3.5.5/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib    -R /opt/kde-3.5.5/lib -R /opt/kde-3.5.5/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
firstrun.lo 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
albumwidgetstack.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
imagepreviewwidget.lo imagepreviewjob.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
ratingwidget.lo digikamfirstrun.lo imageattributeswatch.lo
albumthumbnailloader.lo batchthumbsgenerator.lo dcopiface.lo
dcopiface_skel.lo -lkio -lsqlite3   -lkabc -L/opt/kde-3.5.5/lib -lkipi   -lkutils -lexiv2 ../../digikam/sqlite/libsqlite.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/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getCameraSupportedPorts(QString const&,
QStringList&)':
gpcamera.cpp:(.text+0xe3): undefined reference to `gp_context_new'
gpcamera.cpp:(.text+0xf4): undefined reference to `gp_abilities_list_new'
gpcamera.cpp:(.text+0x104): undefined reference to `gp_abilities_list_load'
gpcamera.cpp:(.text+0x12e): undefined reference to
`gp_abilities_list_lookup_model'
gpcamera.cpp:(.text+0x14b): undefined reference to
`gp_abilities_list_get_abilities'
gpcamera.cpp:(.text+0x157): undefined reference to `gp_abilities_list_free'
gpcamera.cpp:(.text+0x1ce): undefined reference to `gp_context_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::printGphotoErrorDescription(int)':
gpcamera.cpp:(.text+0x27e): undefined reference to `gp_result_as_string'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::autoDetect(QString&, QString&)':
gpcamera.cpp:(.text+0x2f0): undefined reference to `gp_context_new'
gpcamera.cpp:(.text+0x2fc): undefined reference to `gp_list_new'
gpcamera.cpp:(.text+0x306): undefined reference to `gp_abilities_list_new'
gpcamera.cpp:(.text+0x310): undefined reference to `gp_abilities_list_load'
gpcamera.cpp:(.text+0x335): undefined reference to `gp_abilities_list_detect'
gpcamera.cpp:(.text+0x341): undefined reference to `gp_abilities_list_free'
gpcamera.cpp:(.text+0x352): undefined reference to `gp_context_unref'
gpcamera.cpp:(.text+0x35b): undefined reference to `gp_list_count'
gpcamera.cpp:(.text+0x39c): undefined reference to `gp_list_free'
gpcamera.cpp:(.text+0x3b3): undefined reference to `gp_list_get_name'
gpcamera.cpp:(.text+0x3c3): undefined reference to `gp_list_get_value'
gpcamera.cpp:(.text+0x3ed): undefined reference to `gp_list_free'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getSupportedCameras(int&, QStringList&)':
gpcamera.cpp:(.text+0x527): undefined reference to `gp_context_new'
gpcamera.cpp:(.text+0x536): undefined reference to `gp_abilities_list_new'
gpcamera.cpp:(.text+0x543): undefined reference to `gp_abilities_list_load'
gpcamera.cpp:(.text+0x54f): undefined reference to `gp_abilities_list_count'
gpcamera.cpp:(.text+0x5a5): undefined reference to `gp_context_unref'
gpcamera.cpp:(.text+0x5bb): undefined reference to
`gp_abilities_list_get_abilities'
gpcamera.cpp:(.text+0x5fe): undefined reference to `gp_abilities_list_free'
gpcamera.cpp:(.text+0x604): undefined reference to `gp_context_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::cameraAbout(QString&)':
gpcamera.cpp:(.text+0x66e): undefined reference to `gp_camera_get_about'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::cameraManual(QString&)':
gpcamera.cpp:(.text+0x7a2): undefined reference to `gp_camera_get_manual'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::cameraSummary(QString&)':
gpcamera.cpp:(.text+0x8c3): undefined reference to `gp_camera_get_summary'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getItemsList(QString const&, QStringList&)':
gpcamera.cpp:(.text+0xd18): undefined reference to `gp_list_new'
gpcamera.cpp:(.text+0xd4b): undefined reference to
`gp_camera_folder_list_files'
gpcamera.cpp:(.text+0xd94): undefined reference to `gp_list_count'
gpcamera.cpp:(.text+0xdad): undefined reference to `gp_list_get_name'
gpcamera.cpp:(.text+0xdf0): undefined reference to `gp_list_unref'
gpcamera.cpp:(.text+0xe54): undefined reference to `gp_list_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::doConnect()':
gpcamera.cpp:(.text+0xeb2): undefined reference to `gp_camera_unref'
gpcamera.cpp:(.text+0xec9): undefined reference to `gp_camera_new'
gpcamera.cpp:(.text+0xf05): undefined reference to `gp_abilities_list_new'
gpcamera.cpp:(.text+0xf16): undefined reference to `gp_abilities_list_load'
gpcamera.cpp:(.text+0xf67): undefined reference to
`gp_abilities_list_lookup_model'
gpcamera.cpp:(.text+0xf9a): undefined reference to
`gp_abilities_list_get_abilities'
gpcamera.cpp:(.text+0xfd2): undefined reference to `gp_camera_set_abilities'
gpcamera.cpp:(.text+0x1062): undefined reference to `gp_camera_set_port_info'
gpcamera.cpp:(.text+0x10ad): undefined reference to `gp_camera_unref'
gpcamera.cpp:(.text+0x10c6): undefined reference to `gp_abilities_list_free'
gpcamera.cpp:(.text+0x10e7): undefined reference to `gp_abilities_list_free'
gpcamera.cpp:(.text+0x1164): undefined reference to `gp_camera_init'
gpcamera.cpp:(.text+0x11ac): undefined reference to `gp_camera_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::~GPCamera()':
gpcamera.cpp:(.text+0x1239): undefined reference to `gp_camera_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::~GPCamera()':
gpcamera.cpp:(.text+0x1299): undefined reference to `gp_camera_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::~GPCamera()':
gpcamera.cpp:(.text+0x12f1): undefined reference to `gp_camera_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getSubFolders(QString const&, QStringList&)':
gpcamera.cpp:(.text+0x1490): undefined reference to `gp_list_new'
gpcamera.cpp:(.text+0x14eb): undefined reference to
`gp_camera_folder_list_folders'
gpcamera.cpp:(.text+0x153b): undefined reference to `gp_list_unref'
gpcamera.cpp:(.text+0x159b): undefined reference to `gp_list_unref'
gpcamera.cpp:(.text+0x15cc): undefined reference to `gp_list_count'
gpcamera.cpp:(.text+0x15e2): undefined reference to `gp_list_get_name'
gpcamera.cpp:(.text+0x1625): undefined reference to `gp_list_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::uploadItem(QString const&, QString const&,
QString const&, Digikam::GPItemInfo&, bool)':
gpcamera.cpp:(.text+0x165d): undefined reference to `gp_file_new'
gpcamera.cpp:(.text+0x16cc): undefined reference to `gp_file_open'
gpcamera.cpp:(.text+0x171c): undefined reference to `gp_file_set_name'
gpcamera.cpp:(.text+0x176b): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x17fe): undefined reference to
`gp_camera_folder_put_file'
gpcamera.cpp:(.text+0x18d1): undefined reference to `gp_camera_file_get_info'
gpcamera.cpp:(.text+0x1936): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x1aad): undefined reference to `gp_file_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::deleteItem(QString const&, QString const&)':
gpcamera.cpp:(.text+0x1b6d): undefined reference to `gp_camera_file_delete'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::setLockItem(QString const&, QString const&,
bool)':
gpcamera.cpp:(.text+0x1cd0): undefined reference to `gp_camera_file_get_info'
gpcamera.cpp:(.text+0x1de3): undefined reference to `gp_camera_file_set_info'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::downloadItem(QString const&, QString const&,
QString const&)':
gpcamera.cpp:(.text+0x1ebe): undefined reference to `gp_file_new'
gpcamera.cpp:(.text+0x1f48): undefined reference to `gp_camera_file_get'
gpcamera.cpp:(.text+0x1f9e): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x2011): undefined reference to `gp_file_save'
gpcamera.cpp:(.text+0x205a): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x206a): undefined reference to `gp_file_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getExif(QString const&, QString const&, char**,
int&)':
gpcamera.cpp:(.text+0x2094): undefined reference to `gp_file_new'
gpcamera.cpp:(.text+0x2121): undefined reference to `gp_camera_file_get'
gpcamera.cpp:(.text+0x2175): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x21dd): undefined reference to
`gp_file_get_data_and_size'
gpcamera.cpp:(.text+0x2220): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x2254): undefined reference to `gp_file_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getThumbnail(QString const&, QString const&,
QImage&)':
gpcamera.cpp:(.text+0x2280): undefined reference to `gp_file_new'
gpcamera.cpp:(.text+0x230d): undefined reference to `gp_camera_file_get'
gpcamera.cpp:(.text+0x2361): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x23c9): undefined reference to
`gp_file_get_data_and_size'
gpcamera.cpp:(.text+0x240c): undefined reference to `gp_file_unref'
gpcamera.cpp:(.text+0x242f): undefined reference to `gp_file_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::getItemsInfoList(QString const&,
QValueList<Digikam::GPItemInfo>&, bool)':
gpcamera.cpp:(.text+0x24a5): undefined reference to `gp_list_new'
gpcamera.cpp:(.text+0x24ea): undefined reference to
`gp_camera_folder_list_files'
gpcamera.cpp:(.text+0x251d): undefined reference to `gp_list_count'
gpcamera.cpp:(.text+0x2547): undefined reference to `gp_list_get_name'
gpcamera.cpp:(.text+0x2590): undefined reference to `gp_list_unref'
gpcamera.cpp:(.text+0x264b): undefined reference to `gp_camera_file_get_info'
gpcamera.cpp:(.text+0x27e8): undefined reference to `gp_list_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPCamera::deleteAllItems(QString const&)':
gpcamera.cpp:(.text+0x2933): undefined reference to
`gp_camera_folder_delete_all'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPStatus::~GPStatus()':
gpcamera.cpp:
(.text._ZN7Digikam8GPStatusD1Ev[Digikam::GPStatus::~GPStatus()]+0x13):
undefined reference to `gp_context_unref'
../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
function `Digikam::GPStatus::GPStatus()':
gpcamera.cpp:
(.text._ZN7Digikam8GPStatusC1Ev[Digikam::GPStatus::GPStatus()]+0xd):
undefined reference to `gp_context_new'
gpcamera.cpp:
(.text._ZN7Digikam8GPStatusC1Ev[Digikam::GPStatus::GPStatus()]+0x2a):
undefined reference to `gp_context_set_cancel_func'
../../digikam/utilities/setup/.libs/libsetup.a(gpiface.o): In function
`Digikam::GPIface::getCameraSupportedPorts(QString const&, QStringList&)':
gpiface.cpp:(.text+0x23): undefined reference to `gp_context_new'
gpiface.cpp:(.text+0x34): undefined reference to `gp_abilities_list_new'
gpiface.cpp:(.text+0x44): undefined reference to `gp_abilities_list_load'
gpiface.cpp:(.text+0x6e): undefined reference to
`gp_abilities_list_lookup_model'
gpiface.cpp:(.text+0x8b): undefined reference to
`gp_abilities_list_get_abilities'
gpiface.cpp:(.text+0x97): undefined reference to `gp_abilities_list_free'
gpiface.cpp:(.text+0x10e): undefined reference to `gp_context_unref'
../../digikam/utilities/setup/.libs/libsetup.a(gpiface.o): In function
`Digikam::GPIface::getSupportedCameras(int&, QStringList&)':
gpiface.cpp:(.text+0x1fb): undefined reference to `gp_context_new'
gpiface.cpp:(.text+0x20a): undefined reference to `gp_abilities_list_new'
gpiface.cpp:(.text+0x217): undefined reference to `gp_abilities_list_load'
gpiface.cpp:(.text+0x223): undefined reference to `gp_abilities_list_count'
gpiface.cpp:(.text+0x240): undefined reference to `gp_context_unref'
gpiface.cpp:(.text+0x27d): undefined reference to
`gp_abilities_list_get_abilities'
gpiface.cpp:(.text+0x2c0): undefined reference to `gp_abilities_list_free'
gpiface.cpp:(.text+0x2c6): undefined reference to `gp_context_unref'
../../digikam/utilities/setup/.libs/libsetup.a(gpiface.o): In function
`Digikam::GPIface::autoDetect(QString&, QString&)':
gpiface.cpp:(.text+0x2ea): undefined reference to `gp_context_new'
gpiface.cpp:(.text+0x2f6): undefined reference to `gp_list_new'
gpiface.cpp:(.text+0x300): undefined reference to `gp_abilities_list_new'
gpiface.cpp:(.text+0x30a): undefined reference to `gp_abilities_list_load'
gpiface.cpp:(.text+0x32f): undefined reference to `gp_abilities_list_detect'
gpiface.cpp:(.text+0x33b): undefined reference to `gp_abilities_list_free'
gpiface.cpp:(.text+0x34a): undefined reference to `gp_context_unref'
gpiface.cpp:(.text+0x353): undefined reference to `gp_list_count'
gpiface.cpp:(.text+0x3aa): undefined reference to `gp_list_free'
gpiface.cpp:(.text+0x3d0): undefined reference to `gp_list_get_name'
gpiface.cpp:(.text+0x3e4): undefined reference to `gp_list_get_value'
gpiface.cpp:(.text+0x40b): undefined reference to `gp_list_free'
collect2: ld returned 1 exit status
make[3]: *** [libdigikam.la] Fehler 1
make[3]: Leaving directory `/usr/src/blfs/graphics/digikam/digikam'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/blfs/graphics/digikam'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/blfs/graphics'
make: *** [all] Fehler 2


I get a similar error when compiling kipi-plugins. Do I need to downgrade
gphoto2? Would I then still have PTP support?

I'd be very happy to have some help!
Thanks,
Norman

--
http://www.normiboy.ch
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile error: Undefined reference

Gilles Caulier-2
This is not a compilation problem, but a linking problem with libgphoto2
shared library.

Check if all is properlly installed in your system. No need to downgrade
libgphoto2 version.

Gilles Caulier

Le Vendredi 27 Octobre 2006 18:18, Norman Urs Baier a écrit :

> Hello,
>
> I am trying to compile digikam 0.9.0 beta3 and got problems.
> My system is a Linux from Scratch with KDE-3.5.5, gphoto 2.2.0 and
> libgphoto 2.2.1.
>
> The error I get is the same, whether I use digikam 0.9.0beta3 or svn:
>
> /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 -O2
> -Os -march=pentium-m -msse2 -msse -mmmx -fomit-frame-pointer
> -mfpmath=sse,387 -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
> libdigikam.la -rpath /opt/kde-3.5.5/lib -L/opt/kde-3.5.5/lib
> -L/usr/lib/qt/lib -L/usr/X11R6/lib    -R /opt/kde-3.5.5/lib -R
> /opt/kde-3.5.5/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib -no-undefined
> -Wl,--no-undefined -Wl,--allow-shlib-undefined firstrun.lo 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
> albumwidgetstack.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
> imagepreviewwidget.lo imagepreviewjob.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 ratingwidget.lo digikamfirstrun.lo
> imageattributeswatch.lo
> albumthumbnailloader.lo batchthumbsgenerator.lo dcopiface.lo
> dcopiface_skel.lo -lkio -lsqlite3   -lkabc -L/opt/kde-3.5.5/lib -lkipi  
> -lkutils -lexiv2 ../../digikam/sqlite/libsqlite.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/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getCameraSupportedPorts(QString const&,
> QStringList&)':
> gpcamera.cpp:(.text+0xe3): undefined reference to `gp_context_new'
> gpcamera.cpp:(.text+0xf4): undefined reference to `gp_abilities_list_new'
> gpcamera.cpp:(.text+0x104): undefined reference to `gp_abilities_list_load'
> gpcamera.cpp:(.text+0x12e): undefined reference to
> `gp_abilities_list_lookup_model'
> gpcamera.cpp:(.text+0x14b): undefined reference to
> `gp_abilities_list_get_abilities'
> gpcamera.cpp:(.text+0x157): undefined reference to `gp_abilities_list_free'
> gpcamera.cpp:(.text+0x1ce): undefined reference to `gp_context_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::printGphotoErrorDescription(int)':
> gpcamera.cpp:(.text+0x27e): undefined reference to `gp_result_as_string'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::autoDetect(QString&, QString&)':
> gpcamera.cpp:(.text+0x2f0): undefined reference to `gp_context_new'
> gpcamera.cpp:(.text+0x2fc): undefined reference to `gp_list_new'
> gpcamera.cpp:(.text+0x306): undefined reference to `gp_abilities_list_new'
> gpcamera.cpp:(.text+0x310): undefined reference to `gp_abilities_list_load'
> gpcamera.cpp:(.text+0x335): undefined reference to
> `gp_abilities_list_detect' gpcamera.cpp:(.text+0x341): undefined reference
> to `gp_abilities_list_free' gpcamera.cpp:(.text+0x352): undefined reference
> to `gp_context_unref' gpcamera.cpp:(.text+0x35b): undefined reference to
> `gp_list_count' gpcamera.cpp:(.text+0x39c): undefined reference to
> `gp_list_free'
> gpcamera.cpp:(.text+0x3b3): undefined reference to `gp_list_get_name'
> gpcamera.cpp:(.text+0x3c3): undefined reference to `gp_list_get_value'
> gpcamera.cpp:(.text+0x3ed): undefined reference to `gp_list_free'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getSupportedCameras(int&, QStringList&)':
> gpcamera.cpp:(.text+0x527): undefined reference to `gp_context_new'
> gpcamera.cpp:(.text+0x536): undefined reference to `gp_abilities_list_new'
> gpcamera.cpp:(.text+0x543): undefined reference to `gp_abilities_list_load'
> gpcamera.cpp:(.text+0x54f): undefined reference to
> `gp_abilities_list_count' gpcamera.cpp:(.text+0x5a5): undefined reference
> to `gp_context_unref' gpcamera.cpp:(.text+0x5bb): undefined reference to
> `gp_abilities_list_get_abilities'
> gpcamera.cpp:(.text+0x5fe): undefined reference to `gp_abilities_list_free'
> gpcamera.cpp:(.text+0x604): undefined reference to `gp_context_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::cameraAbout(QString&)':
> gpcamera.cpp:(.text+0x66e): undefined reference to `gp_camera_get_about'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::cameraManual(QString&)':
> gpcamera.cpp:(.text+0x7a2): undefined reference to `gp_camera_get_manual'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::cameraSummary(QString&)':
> gpcamera.cpp:(.text+0x8c3): undefined reference to `gp_camera_get_summary'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getItemsList(QString const&, QStringList&)':
> gpcamera.cpp:(.text+0xd18): undefined reference to `gp_list_new'
> gpcamera.cpp:(.text+0xd4b): undefined reference to
> `gp_camera_folder_list_files'
> gpcamera.cpp:(.text+0xd94): undefined reference to `gp_list_count'
> gpcamera.cpp:(.text+0xdad): undefined reference to `gp_list_get_name'
> gpcamera.cpp:(.text+0xdf0): undefined reference to `gp_list_unref'
> gpcamera.cpp:(.text+0xe54): undefined reference to `gp_list_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::doConnect()':
> gpcamera.cpp:(.text+0xeb2): undefined reference to `gp_camera_unref'
> gpcamera.cpp:(.text+0xec9): undefined reference to `gp_camera_new'
> gpcamera.cpp:(.text+0xf05): undefined reference to `gp_abilities_list_new'
> gpcamera.cpp:(.text+0xf16): undefined reference to `gp_abilities_list_load'
> gpcamera.cpp:(.text+0xf67): undefined reference to
> `gp_abilities_list_lookup_model'
> gpcamera.cpp:(.text+0xf9a): undefined reference to
> `gp_abilities_list_get_abilities'
> gpcamera.cpp:(.text+0xfd2): undefined reference to
> `gp_camera_set_abilities' gpcamera.cpp:(.text+0x1062): undefined reference
> to `gp_camera_set_port_info' gpcamera.cpp:(.text+0x10ad): undefined
> reference to `gp_camera_unref' gpcamera.cpp:(.text+0x10c6): undefined
> reference to `gp_abilities_list_free' gpcamera.cpp:(.text+0x10e7):
> undefined reference to `gp_abilities_list_free'
> gpcamera.cpp:(.text+0x1164): undefined reference to `gp_camera_init'
> gpcamera.cpp:(.text+0x11ac): undefined reference to `gp_camera_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::~GPCamera()':
> gpcamera.cpp:(.text+0x1239): undefined reference to `gp_camera_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::~GPCamera()':
> gpcamera.cpp:(.text+0x1299): undefined reference to `gp_camera_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::~GPCamera()':
> gpcamera.cpp:(.text+0x12f1): undefined reference to `gp_camera_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getSubFolders(QString const&, QStringList&)':
> gpcamera.cpp:(.text+0x1490): undefined reference to `gp_list_new'
> gpcamera.cpp:(.text+0x14eb): undefined reference to
> `gp_camera_folder_list_folders'
> gpcamera.cpp:(.text+0x153b): undefined reference to `gp_list_unref'
> gpcamera.cpp:(.text+0x159b): undefined reference to `gp_list_unref'
> gpcamera.cpp:(.text+0x15cc): undefined reference to `gp_list_count'
> gpcamera.cpp:(.text+0x15e2): undefined reference to `gp_list_get_name'
> gpcamera.cpp:(.text+0x1625): undefined reference to `gp_list_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::uploadItem(QString const&, QString const&,
> QString const&, Digikam::GPItemInfo&, bool)':
> gpcamera.cpp:(.text+0x165d): undefined reference to `gp_file_new'
> gpcamera.cpp:(.text+0x16cc): undefined reference to `gp_file_open'
> gpcamera.cpp:(.text+0x171c): undefined reference to `gp_file_set_name'
> gpcamera.cpp:(.text+0x176b): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x17fe): undefined reference to
> `gp_camera_folder_put_file'
> gpcamera.cpp:(.text+0x18d1): undefined reference to
> `gp_camera_file_get_info' gpcamera.cpp:(.text+0x1936): undefined reference
> to `gp_file_unref' gpcamera.cpp:(.text+0x1aad): undefined reference to
> `gp_file_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::deleteItem(QString const&, QString const&)':
> gpcamera.cpp:(.text+0x1b6d): undefined reference to `gp_camera_file_delete'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::setLockItem(QString const&, QString const&,
> bool)':
> gpcamera.cpp:(.text+0x1cd0): undefined reference to
> `gp_camera_file_get_info' gpcamera.cpp:(.text+0x1de3): undefined reference
> to `gp_camera_file_set_info'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::downloadItem(QString const&, QString const&,
> QString const&)':
> gpcamera.cpp:(.text+0x1ebe): undefined reference to `gp_file_new'
> gpcamera.cpp:(.text+0x1f48): undefined reference to `gp_camera_file_get'
> gpcamera.cpp:(.text+0x1f9e): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x2011): undefined reference to `gp_file_save'
> gpcamera.cpp:(.text+0x205a): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x206a): undefined reference to `gp_file_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getExif(QString const&, QString const&,
> char**, int&)':
> gpcamera.cpp:(.text+0x2094): undefined reference to `gp_file_new'
> gpcamera.cpp:(.text+0x2121): undefined reference to `gp_camera_file_get'
> gpcamera.cpp:(.text+0x2175): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x21dd): undefined reference to
> `gp_file_get_data_and_size'
> gpcamera.cpp:(.text+0x2220): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x2254): undefined reference to `gp_file_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getThumbnail(QString const&, QString const&,
> QImage&)':
> gpcamera.cpp:(.text+0x2280): undefined reference to `gp_file_new'
> gpcamera.cpp:(.text+0x230d): undefined reference to `gp_camera_file_get'
> gpcamera.cpp:(.text+0x2361): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x23c9): undefined reference to
> `gp_file_get_data_and_size'
> gpcamera.cpp:(.text+0x240c): undefined reference to `gp_file_unref'
> gpcamera.cpp:(.text+0x242f): undefined reference to `gp_file_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::getItemsInfoList(QString const&,
> QValueList<Digikam::GPItemInfo>&, bool)':
> gpcamera.cpp:(.text+0x24a5): undefined reference to `gp_list_new'
> gpcamera.cpp:(.text+0x24ea): undefined reference to
> `gp_camera_folder_list_files'
> gpcamera.cpp:(.text+0x251d): undefined reference to `gp_list_count'
> gpcamera.cpp:(.text+0x2547): undefined reference to `gp_list_get_name'
> gpcamera.cpp:(.text+0x2590): undefined reference to `gp_list_unref'
> gpcamera.cpp:(.text+0x264b): undefined reference to
> `gp_camera_file_get_info' gpcamera.cpp:(.text+0x27e8): undefined reference
> to `gp_list_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPCamera::deleteAllItems(QString const&)':
> gpcamera.cpp:(.text+0x2933): undefined reference to
> `gp_camera_folder_delete_all'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPStatus::~GPStatus()':
> gpcamera.cpp:
> (.text._ZN7Digikam8GPStatusD1Ev[Digikam::GPStatus::~GPStatus()]+0x13):
> undefined reference to `gp_context_unref'
> ../../digikam/utilities/cameragui/.libs/libcameragui.a(gpcamera.o): In
> function `Digikam::GPStatus::GPStatus()':
> gpcamera.cpp:
> (.text._ZN7Digikam8GPStatusC1Ev[Digikam::GPStatus::GPStatus()]+0xd):
> undefined reference to `gp_context_new'
> gpcamera.cpp:
> (.text._ZN7Digikam8GPStatusC1Ev[Digikam::GPStatus::GPStatus()]+0x2a):
> undefined reference to `gp_context_set_cancel_func'
> ../../digikam/utilities/setup/.libs/libsetup.a(gpiface.o): In function
> `Digikam::GPIface::getCameraSupportedPorts(QString const&, QStringList&)':
> gpiface.cpp:(.text+0x23): undefined reference to `gp_context_new'
> gpiface.cpp:(.text+0x34): undefined reference to `gp_abilities_list_new'
> gpiface.cpp:(.text+0x44): undefined reference to `gp_abilities_list_load'
> gpiface.cpp:(.text+0x6e): undefined reference to
> `gp_abilities_list_lookup_model'
> gpiface.cpp:(.text+0x8b): undefined reference to
> `gp_abilities_list_get_abilities'
> gpiface.cpp:(.text+0x97): undefined reference to `gp_abilities_list_free'
> gpiface.cpp:(.text+0x10e): undefined reference to `gp_context_unref'
> ../../digikam/utilities/setup/.libs/libsetup.a(gpiface.o): In function
> `Digikam::GPIface::getSupportedCameras(int&, QStringList&)':
> gpiface.cpp:(.text+0x1fb): undefined reference to `gp_context_new'
> gpiface.cpp:(.text+0x20a): undefined reference to `gp_abilities_list_new'
> gpiface.cpp:(.text+0x217): undefined reference to `gp_abilities_list_load'
> gpiface.cpp:(.text+0x223): undefined reference to `gp_abilities_list_count'
> gpiface.cpp:(.text+0x240): undefined reference to `gp_context_unref'
> gpiface.cpp:(.text+0x27d): undefined reference to
> `gp_abilities_list_get_abilities'
> gpiface.cpp:(.text+0x2c0): undefined reference to `gp_abilities_list_free'
> gpiface.cpp:(.text+0x2c6): undefined reference to `gp_context_unref'
> ../../digikam/utilities/setup/.libs/libsetup.a(gpiface.o): In function
> `Digikam::GPIface::autoDetect(QString&, QString&)':
> gpiface.cpp:(.text+0x2ea): undefined reference to `gp_context_new'
> gpiface.cpp:(.text+0x2f6): undefined reference to `gp_list_new'
> gpiface.cpp:(.text+0x300): undefined reference to `gp_abilities_list_new'
> gpiface.cpp:(.text+0x30a): undefined reference to `gp_abilities_list_load'
> gpiface.cpp:(.text+0x32f): undefined reference to
> `gp_abilities_list_detect' gpiface.cpp:(.text+0x33b): undefined reference
> to `gp_abilities_list_free' gpiface.cpp:(.text+0x34a): undefined reference
> to `gp_context_unref' gpiface.cpp:(.text+0x353): undefined reference to
> `gp_list_count'
> gpiface.cpp:(.text+0x3aa): undefined reference to `gp_list_free'
> gpiface.cpp:(.text+0x3d0): undefined reference to `gp_list_get_name'
> gpiface.cpp:(.text+0x3e4): undefined reference to `gp_list_get_value'
> gpiface.cpp:(.text+0x40b): undefined reference to `gp_list_free'
> collect2: ld returned 1 exit status
> make[3]: *** [libdigikam.la] Fehler 1
> make[3]: Leaving directory `/usr/src/blfs/graphics/digikam/digikam'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/usr/src/blfs/graphics/digikam'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/usr/src/blfs/graphics'
> make: *** [all] Fehler 2
>
>
> I get a similar error when compiling kipi-plugins. Do I need to downgrade
> gphoto2? Would I then still have PTP support?
>
> I'd be very happy to have some help!
> Thanks,
> Norman
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile error: Undefined reference

Bugzilla from spiessli@gmx.net
Am Freitag, 27. Oktober 2006 18:32 schrieb Caulier Gilles:
> This is not a compilation problem, but a linking problem with libgphoto2
> shared library.
>
> Check if all is properlly installed in your system. No need to downgrade
> libgphoto2 version.
>
> Gilles Caulier

Indeed, there was a problem with libgphoto, some includes were wrong. I don't
know why I did not recognise that earlier. Thank you very much.

Norman


--
http://www.normiboy.ch
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users