[Digikam-devel] [Bug 108838] make fails during link step

Vardhman Jain vardhman at gmail.com
Wed Jul 13 10:15:23 BST 2005


> ------- Additional Comments From felix rabinovich org  2005-07-13 08:05 -------
> > Please upgrade your kdelibs to >= 3.3.2, or manually patch kdemacros.h to reflect the correct value.
> I did patch kdemacros.h (see attached file); that's why I don't get the compile error any more. Are you sure the link error (undefined reference to `Digikam::ImagePlugin::...') is also due to visibility problem? I am not quite following the logic here

I am not sure but probably the error arises because the default
visibilty will now be hidden but the plugin will need that to be
visible. Since compile time error is solved it means its a linking
issue and these kind of errors(Undefined reference) existed even
without visibility when the symbols were not found (due to improper
linking).
I didn't do a proper study on visibility attribute but what I could
make is it is some kind of exposing/non exposing of symbols. So if
visibility is hidden it acts like not exposing the symbols and that
might be stopping the linking as it is undefined reference case.

some one could clarify these issues please? As I already told briefly
in previous post setting visible to hidden patch in kdemacros.h helped
me in compiling digikam but the kipi-plugins were not showing up in
the interface of digikam. So I finally had to disable the visibility
stuff from my configure.in.in files.

--



More information about the Digikam-devel mailing list