[bt-devel] Revision: 5dbde98c6b79c[...] build failed

Gary Holmlund gary.holmlund at gmail.com
Sat Dec 3 10:39:49 MST 2011


Jaak,

I see the same build error as Olaf, even with a clean build. In 
src/backend/config/btconfig.h you use the Q_OBJECT macro on a class that 
is not derived from QObject. This is not legal.

After commenting out the Q_OBJECT in btconfig.h, the build works.

Gary

On 12/03/2011 05:03 AM, Jaak Ristioja wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Olaf!
>
> Looks like a partial build. Please try a full rebuild (clean; run cmake;
> build again). Hope it helps!
>
> Blessings,
> Jaak
>
>
> On 03.12.2011 12:56, Olaf Radicke wrote:
>> Hi!
>>
>> My Jenkins ci (http://en.wikipedia.org/wiki/Jenkins_%28software%29)
>> saith Revision:
>> 5dbde98c6b79c[...]  build failed.
>>
>> Details:
>>
>> Changes
>>
>> Refactored some classes so that Q_OBJECT macros might be properly included.
>>
>> Added Portugese translation by Mário Castanheira.
>>
>> Error:
>>
>>     Linking CXX executable bibletime
>>     CMakeFiles/bibletime.dir/src/backend/config/btconfig.cpp.o: In function
>> `~BtConfig':
>>     /var/lib/jenkins/jobs/BibleTime/workspace/src/backend/config/btconfig.h:35:
>> undefined reference to `vtable for BtConfig'
>>     CMakeFiles/bibletime.dir/src/backend/config/btconfig.cpp.o: In function
>> `BtConfig':
>>     /var/lib/jenkins/jobs/BibleTime/workspace/src/backend/config/btconfig.cpp:41:
>> undefined reference to `vtable for BtConfig'
>>     CMakeFiles/bibletime.dir/src/backend/config/btconfig.cpp.o: In function
>> `BtConfig::tr(char const*, char const*)':
>>     /var/lib/jenkins/jobs/BibleTime/workspace/src/backend/config/btconfig.h:37:
>> undefined reference to `BtConfig::staticMetaObject'
>>     /var/lib/jenkins/jobs/BibleTime/workspace/src/backend/config/btconfig.h:37:
>> undefined reference to `BtConfig::staticMetaObject'
>>     collect2: ld returned 1 exit status
>>     make[2]: *** [bibletime] Error 1
>>     make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2
>>     make: *** [all] Error 2
>>
>>
>>
>>
>>     kind regards,
>>
>>
>>     Olaf (munich, germany)
>>
>> _______________________________________________
>> bt-devel mailing list
>> bt-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/bt-devel




More information about the bt-devel mailing list