Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-18-2004, 01:06 PM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
digikam 0.6 compile error driving me MAD !

im using the latest libexif, which compiled and installed fine.
i also have the latest digikam source packwage, which configures fine, but suffers a mad compile error !

the compile error is cause by digikam passing the wrong number of arguments to a function in a libexif header file.

here are the gritty details....

digikam version = 0.6.2
libexif version (which is a dependency of digikam) = 0.6.9

/usr/local/include/libexif/exif-entry.h: In member function `void
/usr/local/include/libexif/exif-entry.h:58: error: too few arguments to
function `const char* exif_entry_get_value(ExifEntry*, char*, unsigned int)'
kexifentry.cpp:68: error: at this point in file
make[3]: *** [kexifentry.lo] Error 1
here is the function call which causes the compile error (the last line)

from kexifentry.cpp (part of digikam)
void KExifEntry::readEntry()
mName = QString(exif_tag_get_name(mExifEntry->tag));
mTitle = QString(exif_tag_get_title(mExifEntry->tag));
mDescription = QString(exif_tag_get_description(mExifEntry->tag));
mValue = QString(exif_entry_get_value(mExifEntry));

and here is the function declaration of the libexif header file /usr/local/include/libexif/exif-entry.h

/* For your convenience */
const char *exif_entry_get_value (ExifEntry *entry, char *val,
unsigned int maxlen);
i cannot find the function body, its probably in anouther c or h file.

HELP !!!!
whats wrong !!! is there a patch available ?
maybe i could change the function call so it has all the needed parameters. (pass NULL as the char pointer, and 0 as the maxlen ?)

im lost !


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
kded driving me mad !!! gazza Mandriva 3 03-18-2005 12:19 PM
kernel is driving me mad luqman Linux - Newbie 6 02-18-2005 05:05 AM
kernel is driving me mad luqman Red Hat 2 02-17-2005 07:00 AM
Samba driving me mad powadha Linux - Networking 4 06-10-2004 01:46 PM
mkhomedir driving me mad :-( datalord7 Linux - Newbie 2 01-21-2004 07:09 AM

All times are GMT -5. The time now is 03:47 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