Linkage error
Brad King
brad.king at kitware.com
Wed Feb 15 20:09:34 CET 2006
Paulo Jorge Guedes wrote:
> It works!
Committed.
-Brad
>>-----Original Message-----
>>From: Brad King [mailto:brad.king at kitware.com]
>>Sent: quarta-feira, 15 de Fevereiro de 2006 18:03
>>To: kde-buildsystem at kde.org
>>Subject: Re: Linkage error
>>
>>Paulo Jorge Guedes wrote:
>>
>>>I'm having a build error in kdeui:
>>>
>>>d000310.o(.text+0x0): multiple definition of `bool
>>>KConfigBase::readEntry<bool>(char const*, bool const&) const'
>>>
>
> CMakeFiles/kdeui.dir/ktoolbar.obj(.text$_ZNK11KConfigBase9readEntryIbEET
>
>>>_PKcRKS1_[bool KConfigBase::readEntry<bool>(char const*, bool
>
> const&)
>
>>>const]+0x0):ktoolbar.cpp: first defined here
>>>d000311.o(.text+0x0): multiple definition of `int
>>>KConfigBase::readEntry<int>(char const*, int const&) const'
>>>
>
> CMakeFiles/kdeui.dir/ktoolbar.obj(.text$_ZNK11KConfigBase9readEntryIiEET
>
>>>_PKcRKS1_[int KConfigBase::readEntry<int>(char const*, int const&)
>>>const]+0x0):ktoolbar.cpp: first defined here
>>>collect2: ld returned 1 exit status
>>
>>There seem to be some missing "inline" keywords to make those
>>specializations and instantiations weak. I've attached a patch which
>>I'll commit if it works for you too.
>>
>>-Brad
More information about the Kde-buildsystem
mailing list