Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-26-2008, 04:18 PM   #1
JoAnne Abbott
LQ Newbie
Registered: Mar 2008
Posts: 25

Rep: Reputation: 16
kipi makefile error

I am trying to satisfy the dependencys of digikam and have this error when compiling.

gpcamera.cpp: In static member function 'static int KIPIKameraKlientPlugin::GPCamera::autoDetect(QString&, QString&)':
gpcamera.cpp:564: error: aggregate 'CameraList camList' has incomplete type and cannot be defined
make[3]: *** [gpcamera.lo] Error 1
make[3]: Leaving directory `/home/me/Test/kipi-plugins-0.1.2/kipi-plugins/kameraklient'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/me/Test/kipi-plugins-0.1.2/kipi-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/Test/kipi-plugins-0.1.2'
make: *** [all] Error 2


int GPCamera::autoDetect(QString& model, QString& port) {
::CameraList camList;
CameraAbilitiesList *abilList;
GPPortInfoList *infoList;
const char *camModel_, *camPort_;
GPContext *context;

context = gp_context_new ();

gp_abilities_list_new (&abilList);
gp_abilities_list_load (abilList, context);
gp_port_info_list_new (&infoList);
gp_port_info_list_load (infoList);
gp_abilities_list_detect (abilList, infoList, &camList, context);
gp_abilities_list_free (abilList);
gp_port_info_list_free (infoList);

gp_context_unref( context );

int count = gp_list_count (&camList);

if (count<=0) {
return -1;

This is on a new slack 12 install.

Old 04-27-2008, 04:34 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,738

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
Compiled fine here on a clean Slackware 12, with kdepim installed, all kde-3.5.7
I used:
kipi-plugins-0.1.5, libkipi-0.1.6, libkdcraw-0.1.4, libkexiv2-0.1.7, libgphoto2-2.4.1,
exiw2-0.15, compiled from source.
And I did : 'ln -s "whatever_location"/include/gphoto2/headers.h /usr/local/include/'
because some programs include gphoto2-headers without folder reference, e.g.
gpcamera.cpp-line-33, gpstatus.h-line-30, gpiface.cpp-line-26
Suggest: 'make clean' before you run it over again.
Good luck
P.S.:There is a bug in kipi-plugins-0.1.3, about 0.1.2 I don't know

Correction:'ln -s "whatever_location"/include/gphoto2/*.h

Last edited by knudfl; 04-27-2008 at 01:42 PM. Reason: added 1 line
Old 04-27-2008, 06:30 AM   #3
JoAnne Abbott
LQ Newbie
Registered: Mar 2008
Posts: 25

Original Poster
Rep: Reputation: 16
Thank you I will give it another try with your suggestion.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing kipi-plugins AND digikam Kirmonkey Linux - Software 4 10-08-2007 03:51 PM
Makefile error nesta Programming 2 02-07-2007 06:53 AM
Makefile error wildcat22 Programming 1 02-17-2004 11:53 PM
makefile error durden2.0 Programming 2 01-25-2004 05:45 PM
makefile error puckney Linux - Newbie 3 04-25-2002 10:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration