-   Linux - Software (
-   -   digikam 0.6 compile error driving me MAD ! (

qwijibow 07-18-2004 02:06 PM

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 !

All times are GMT -5. The time now is 06:13 PM.