compilation erros

Report problems and request for help here.

compilation erros

Postby snock » Fri Nov 02, 2012 5:50 pm

Hi,

Use Arch Linux x86_64 , I fails to compile

[ 70%] Building CXX object src/libtomahawk/CMakeFiles/tomahawklib.dir/tomahawklib_automoc.cpp.o
Linking CXX shared library ../../libtomahawklib.so
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::KDSingleApplicationGuard(QObject*)':
kdsingleapplicationguard.cpp:(.text+0x1463): referencia a `vtable for KDSingleApplicationGuard' sin definir
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::KDSingleApplicationGuard(KDSingleApplicationGuard::Policy, QObject*)':
kdsingleapplicationguard.cpp:(.text+0x1564): referencia a `vtable for KDSingleApplicationGuard' sin definir
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::KDSingleApplicationGuard(QStringList const&, QObject*)':
kdsingleapplicationguard.cpp:(.text+0x1663): referencia a `vtable for KDSingleApplicationGuard' sin definir
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::KDSingleApplicationGuard(QStringList const&, KDSingleApplicationGuard::Policy, QObject*)':
kdsingleapplicationguard.cpp:(.text+0x1740): referencia a `vtable for KDSingleApplicationGuard' sin definir
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::~KDSingleApplicationGuard()':
kdsingleapplicationguard.cpp:(.text+0x2222): referencia a `vtable for KDSingleApplicationGuard' sin definir
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::setPolicy(KDSingleApplicationGuard::Policy)':
kdsingleapplicationguard.cpp:(.text+0x2415): referencia a `KDSingleApplicationGuard::policyChanged(KDSingleApplicationGuard::Policy)' sin definir
CMakeFiles/tomahawklib.dir/thirdparty/kdsingleapplicationguard/kdsingleapplicationguard.cpp.o: En la función `KDSingleApplicationGuard::Private::poll()':
kdsingleapplicationguard.cpp:(.text+0x2b2b): referencia a `KDSingleApplicationGuard::becameSecondaryInstance()' sin definir
kdsingleapplicationguard.cpp:(.text+0x2d58): referencia a `KDSingleApplicationGuard::instanceStarted(KDSingleApplicationGuard::Instance const&)' sin definir
kdsingleapplicationguard.cpp:(.text+0x2da5): referencia a `KDSingleApplicationGuard::instanceExited(KDSingleApplicationGuard::Instance const&)' sin definir
kdsingleapplicationguard.cpp:(.text+0x2f47): referencia a `KDSingleApplicationGuard::becamePrimaryInstance()' sin definir
kdsingleapplicationguard.cpp:(.text+0x3120): referencia a `KDSingleApplicationGuard::becamePrimaryInstance()' sin definir
kdsingleapplicationguard.cpp:(.text+0x3174): referencia a `KDSingleApplicationGuard::raiseRequested()' sin definir
kdsingleapplicationguard.cpp:(.text+0x3359): referencia a `KDSingleApplicationGuard::exitRequested()' sin definir
kdsingleapplicationguard.cpp:(.text+0x339b): referencia a `KDSingleApplicationGuard::policyChanged(KDSingleApplicationGuard::Policy)' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [libtomahawklib.so] Error 1
make[1]: *** [src/libtomahawk/CMakeFiles/tomahawklib.dir/all] Error 2
snock
 
Posts: 5
Joined: Fri Nov 02, 2012 5:44 pm

Re: compilation erros

Postby muesli » Fri Nov 02, 2012 6:12 pm

That's odd, since most of our developers are running Arch Linux themselves and none of us ever experienced this error. I'd wipe (delete) my build directory and try a fresh build. Let us know if that helped!

Chris
muesli
 
Posts: 276
Joined: Fri Mar 25, 2011 11:27 pm

Re: compilation erros

Postby snock » Fri Nov 02, 2012 6:31 pm

:? I have since yesterday and nothing. Today I have compiled 2 times. (Sorry for the English ;) )

I tested from yaourt and manually. Always the same error.


http://pastebin.com/raw.php?i=BfrAfZqK
http://pastebin.com/raw.php?i=5TkB3ZCt
snock
 
Posts: 5
Joined: Fri Nov 02, 2012 5:44 pm

Re: compilation erros

Postby muesli » Fri Nov 02, 2012 7:09 pm

I take it back, I can reproduce it after the latest system update. Seems the latest cmake release has a bug / regression. We're looking into it right now!
muesli
 
Posts: 276
Joined: Fri Mar 25, 2011 11:27 pm

Re: compilation erros

Postby muesli » Fri Nov 02, 2012 8:45 pm

Ok, latest git master should compile again, we just pushed a fix there. Hope that helps!

Chris
muesli
 
Posts: 276
Joined: Fri Mar 25, 2011 11:27 pm

Re: compilation erros

Postby domme » Fri Nov 02, 2012 8:49 pm

Or if you feel more comfortable using the stable version, the commit patch should apply just fine to latest master (haven't tested that tho), if it doesnt work, I can port it to stable for you, if you need it.


http://paste.kde.org/588848/


Regards
Dominik
domme
 
Posts: 4
Joined: Sat Mar 03, 2012 4:31 pm

Re: compilation erros

Postby snock » Fri Nov 02, 2012 10:11 pm

Thanks you both. Domme had not seen your message. Downgrader cmake version 2.8.9 compiled and it worked. :lol:

Image
snock
 
Posts: 5
Joined: Fri Nov 02, 2012 5:44 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest