LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-18-2004, 02:06 PM   #1
qwijibow
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

Quote:
/usr/local/include/libexif/exif-entry.h: In member function `void
KExifEntry::readEntry()':
/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)
Quote:
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

Quote:
/* 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 !
 
  


Reply


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


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

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