[Kde-imaging] Problem Building from SVN

Renchi Raju renchi at pooh.tam.uiuc.edu
Wed Jun 8 18:56:29 CEST 2005



On Wed, 8 Jun 2005, Renchi Raju wrote:

>
>
> On Mon, 6 Jun 2005, Angelo Naselli wrote:
>
>> Hi guys, I had a similar problem compiling (well linking) gwenviev from svn
>> (mandriva 2005 LE i.e. 10.2).
>> Now we saw it's a -fvisibility problem.
>> If you use somewhere KDE_EXPORT you probably has this problem.
>> Mandriva kde version is a 3.2 patched. so visibilty works, but the test on
>> kde version could fail.
>> Now it seems kde developers give a good way to test
>> gcc visibility (have a look at __KDE_HAVE_GCC_VISIBILITY
>> into admin/acinclude.m4.in).
>> If you test the definition of __KDE_HAVE_GCC_VISIBILITY to use
>> KDE_EXPORT or not should work.
>> The only dubt i have is for kde version < 3.2 where if I remember well
>> the KDE_EXPORT was wrongly defined.
>
> KDE_EXPORT was added in kde 3.3.2 . since the admin directory from extragear 
> apps is very recent it has __KDE_HAVE_GCC_VISIBILITY defined with kdemacros.h 
> having KDE_EXPORT . So i think this will break compilation on kde < 3.3.2

oops, i meant: since the admin directory from extragear apps is very recent it has
__KDE_HAVE_GCC_VISIBILITY defined _without_ kdemacros.h having KDE_EXPORT

renchi



More information about the Kde-imaging mailing list