Conversion to the cmake building system #10

Merged
SlavekB merged 1 commits from feat/cmakeUpdate into master 4 years ago
Ghost commented 5 years ago
There is no content yet.
Ghost commented 5 years ago
Poster
  • WITH_GCC_VISIBILITY
  • WITH_XINE
  • WITH_YAUAP
  • WITH_OPENGL
  • WITH_LIBVISUAL
  • WITH_NJB
  • WITH_MTP
  • WITH_IFP
  • WITH_IPOD
  • WITH_MP4V2
  • WITH_DAAP
  • WITH_EMBEDDED_SQLITE
  • WITH_SYSTEM_SQLITE
  • WITH_MYSQL
  • WITH_POSTGRESQL
  • WITH_KONQSIDEBAR
  • WITH_AKODE
  • WITH_INOTIFY
  • WITH_AMAZON
  • BUILD_DOC
  • BUILD_TRANSLATIONS
- [x] WITH_GCC_VISIBILITY - [x] WITH_XINE - [x] WITH_YAUAP - [x] WITH_OPENGL - [x] WITH_LIBVISUAL - [x] WITH_NJB - [x] WITH_MTP - [x] WITH_IFP - [x] WITH_IPOD - [x] WITH_MP4V2 - [x] WITH_DAAP - [x] WITH_EMBEDDED_SQLITE - [x] WITH_SYSTEM_SQLITE - [x] WITH_MYSQL - [x] WITH_POSTGRESQL - [x] WITH_KONQSIDEBAR - [x] WITH_AKODE - [x] WITH_INOTIFY - [x] WITH_AMAZON - [x] BUILD_DOC - [x] BUILD_TRANSLATIONS
Ghost added the PR/wip label 5 years ago
Ghost commented 5 years ago
Poster

Sqlite-3.4.1 has CVE, if possible see to upgrade included Sqlite or go full external linkage and delete the folder.

Some folders in metadata don't seem to be processed even with the automake build --> to check ==> to delete.

Sqlite-3.4.1 has CVE, if possible see to upgrade included Sqlite or go full external linkage and delete the folder. Some folders in metadata don't seem to be processed even with the automake build --> to check ==> to delete.
Ghost commented 5 years ago
Poster

NMM and Helix engines haven't been supported for a while ==> delete folders.

NMM and Helix engines haven't been supported for a while ==> delete folders.
Owner

Welcome Greg!! 😃

Welcome Greg!! :smiley:
Ghost commented 5 years ago
Poster

Hi Michele ;-)

Hi Michele ;-)
Ghost commented 5 years ago
Poster

Included Sqlite has been upgraded to 3.4.2, sources taken from here:
https://src.fedoraproject.org/lookaside/pkgs/sqlite/sqlite-3.4.2.tar.gz/2feec9b429f9298c9f288420c8b449f8/

Built like this:
./configure --enable-threadsafe && make sqlite3.c

then I copied sqlite3.c and sqlite3.h into Amarok's sqlite folder.

Guys, if you know better how to upgrade Sqlite, please, step in.

Included Sqlite has been upgraded to 3.4.2, sources taken from here: https://src.fedoraproject.org/lookaside/pkgs/sqlite/sqlite-3.4.2.tar.gz/2feec9b429f9298c9f288420c8b449f8/ Built like this: ./configure --enable-threadsafe && make sqlite3.c then I copied **sqlite3.c** and **sqlite3.h** into Amarok's sqlite folder. Guys, if you know better how to upgrade Sqlite, please, step in.
Owner

Note: For MySQL we will need to add a test of the name of the MySQL client main structure – see commit 7b0045aa6b.

Note: For MySQL we will need to add a test of the name of the MySQL client main structure – see commit 7b0045aa6b.
Ghost commented 5 years ago
Poster

@SlavekB ok!

@SlavekB ok!
Ghost commented 5 years ago
Poster

Rem...probably don't need TDE includes and libs for sqlite3 embedded. done!
Rem..add thread libs... done!

Rem...probably don't need TDE includes and libs for sqlite3 embedded. done! Rem..add thread libs... done!
Ghost commented 5 years ago
Poster

autotools config test:

./configure --prefix=/usr \  
            --libdir=/usr/lib64 \  
            --without-included-sqlite \  
            --disable-final \  
            --without-akode \  
            --without-gstreamer10 \  
            --without-libkarma \  
            --with-ifp \   
            --with-libgpod \  
            --with-libnjb \  
            --with-libmtp \  
            --with-mp4v2 \  
            --enable-mysql \  
            --enable-postgresql \  
            --with-yauap  

result:

WARNING: unrecognized options: --without-akode, --without-gstreamer10  
The following extra functionality will NOT be included:  
   - NMM-engine  
   - Helix-engine  
   - MusicBrainz Support  
   - Rio Karma Support  

The following extra functionality will be included:  
   + xine-engine  
   + yauap-engine  
   + libvisual Support  
   + MySql Support  
   + Postgresql Support  
   + Konqueror Sidebar  
   + MP4/AAC Tag Write Support  
   + iPod Support  
   + iRiver iFP Support  
   + Creative Nomad Jukebox Support  
   + MTP Device Support  
   + DAAP Music Sharing Support  
autotools config test: ``` ./configure --prefix=/usr \ --libdir=/usr/lib64 \ --without-included-sqlite \ --disable-final \ --without-akode \ --without-gstreamer10 \ --without-libkarma \ --with-ifp \ --with-libgpod \ --with-libnjb \ --with-libmtp \ --with-mp4v2 \ --enable-mysql \ --enable-postgresql \ --with-yauap ``` result: ``` WARNING: unrecognized options: --without-akode, --without-gstreamer10 The following extra functionality will NOT be included: - NMM-engine - Helix-engine - MusicBrainz Support - Rio Karma Support The following extra functionality will be included: + xine-engine + yauap-engine + libvisual Support + MySql Support + Postgresql Support + Konqueror Sidebar + MP4/AAC Tag Write Support + iPod Support + iRiver iFP Support + Creative Nomad Jukebox Support + MTP Device Support + DAAP Music Sharing Support ```
Ghost commented 5 years ago
Poster

The detection and the building of the DAAP module (Ruby stuff) is fine with Ruby's series 1.8 up to 2.1 ; albeit some deprecated show up in the 2.1 serie:

-- Found Ruby: /usr/bin/ruby (found version "2.1.0")   
-e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config.

The config process fails, starting with Ruby-2.2 with this error:

-- Found Ruby: /usr/bin/ruby (found version "2.2.0")  
-e:1:in `<main>': uninitialized constant Config (NameError)

Should work with something like that: --> ok, from ruby 1.8 to 2.2

COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG.fetch(%q(MAJOR))"
The detection and the building of the DAAP module (Ruby stuff) is fine with Ruby's series 1.8 up to 2.1 ; albeit some deprecated show up in the 2.1 serie: ``` -- Found Ruby: /usr/bin/ruby (found version "2.1.0") -e:1:in `<main>': Use RbConfig instead of obsolete and deprecated Config. ``` The config process fails, starting with Ruby-2.2 with this error: ``` -- Found Ruby: /usr/bin/ruby (found version "2.2.0") -e:1:in `<main>': uninitialized constant Config (NameError) ``` Should work with something like that: --> ok, from ruby 1.8 to 2.2 ``` COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG.fetch(%q(MAJOR))" ```
Ghost commented 5 years ago
Poster

Rem...cleanup ConfigureChecks.cmake daap...done!

Rem...cleanup ConfigureChecks.cmake daap...done!
Ghost commented 5 years ago
Poster

Building with gcc visilility "ON", FTBFS with this error:

[ 76%] Linking CXX executable amarokapp
cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amarokapp.dir/link.txt --verbose=1
/usr/bin/c++    -fvisibility=hidden -fvisibility-inlines-hidden  -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h   CMakeFiles/amarokapp.dir/main.cpp.o  -o amarokapp -rdynamic libamarok.so.0.0.0 /usr/lib64/libtdehtml.so.14.0.0 /usr/lib64/libtdeutils.so.1.2.0 /usr/lib64/libtdeparts.so.2.1.0 /usr/lib64/libtdeprint.so.14.0.0 /usr/lib64/libkjs.so.1.2.0 -lpcre -ljpeg /usr/lib64/libtdenewstuff.so.1.0.0 /usr/lib64/libtdeio.so.14.0.0 /usr/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext /usr/lib64/libtdesu.so.14.0.0 /usr/lib64/libtdewalletclient.so.1.0.1 /usr/lib64/libtdecore.so.14.0.0 /usr/lib64/libDCOP.so.14.0.0 /usr/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lacl -lattr -lGLU -lGL -ltag -lpq -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src:  
CMakeFiles/amarokapp.dir/main.cpp.o: In function `main':  
main.cpp:(.text+0x666): undefined reference to `registerTaglibPlugins()'  
collect2: error: ld returned 1 exit status  
amarok/src/CMakeFiles/amarokapp.dir/build.make:115: recipe for target 'amarok/src/amarokapp' failed  
make[2]: *** [amarok/src/amarokapp] Error 1  
Building with gcc visilility "ON", FTBFS with this error: ``` [ 76%] Linking CXX executable amarokapp cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amarokapp.dir/link.txt --verbose=1 /usr/bin/c++ -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h CMakeFiles/amarokapp.dir/main.cpp.o -o amarokapp -rdynamic libamarok.so.0.0.0 /usr/lib64/libtdehtml.so.14.0.0 /usr/lib64/libtdeutils.so.1.2.0 /usr/lib64/libtdeparts.so.2.1.0 /usr/lib64/libtdeprint.so.14.0.0 /usr/lib64/libkjs.so.1.2.0 -lpcre -ljpeg /usr/lib64/libtdenewstuff.so.1.0.0 /usr/lib64/libtdeio.so.14.0.0 /usr/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext /usr/lib64/libtdesu.so.14.0.0 /usr/lib64/libtdewalletclient.so.1.0.1 /usr/lib64/libtdecore.so.14.0.0 /usr/lib64/libDCOP.so.14.0.0 /usr/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lacl -lattr -lGLU -lGL -ltag -lpq -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src: CMakeFiles/amarokapp.dir/main.cpp.o: In function `main': main.cpp:(.text+0x666): undefined reference to `registerTaglibPlugins()' collect2: error: ld returned 1 exit status amarok/src/CMakeFiles/amarokapp.dir/build.make:115: recipe for target 'amarok/src/amarokapp' failed make[2]: *** [amarok/src/amarokapp] Error 1 ```
Owner

I pushed a little change into your branch:

--- a/amarok/src/metadata/tplugins.h
+++ b/amarok/src/metadata/tplugins.h
@@ -22,6 +22,9 @@
 #ifndef METADATA_TPLUGIN_H
 #define METADATA_TPLUGIN_H

+#include "amarok_export.h"
+
+LIBAMAROK_EXPORT
 void registerTaglibPlugins();

 #endif

This should fix the above problem.

I pushed a little change into your branch: ``` --- a/amarok/src/metadata/tplugins.h +++ b/amarok/src/metadata/tplugins.h @@ -22,6 +22,9 @@ #ifndef METADATA_TPLUGIN_H #define METADATA_TPLUGIN_H +#include "amarok_export.h" + +LIBAMAROK_EXPORT void registerTaglibPlugins(); #endif ``` This should fix the above problem.
Ghost commented 5 years ago
Poster

I get this new kind of error:

[ 86%] Linking CXX shared module libamarok_xine-engine.so
cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/cmake -E cmake_link_script CMakeFiles/libamarok_xine-engine-module.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -fvisibility=hidden -fvisibility-inlines-hidden  -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h  -Wl,--no-undefined -shared  -o libamarok_xine-engine.so CMakeFiles/libamarok_xine-engine-module.dir/xine-scope.c.o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xineconfigbase.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o ../../libamarok.so.0.0.0 -lxine /usr/lib64/libtdehtml.so.14.0.0 /usr/lib64/libtdeutils.so.1.2.0 /usr/lib64/libtdeparts.so.2.1.0 /usr/lib64/libtdeprint.so.14.0.0 /usr/lib64/libkjs.so.1.2.0 -lpcre -ljpeg /usr/lib64/libtdenewstuff.so.1.0.0 /usr/lib64/libtdeio.so.14.0.0 /usr/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext /usr/lib64/libtdesu.so.14.0.0 /usr/lib64/libtdewalletclient.so.1.0.1 /usr/lib64/libtdecore.so.14.0.0 /usr/lib64/libDCOP.so.14.0.0 /usr/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lacl -lattr -lGLU -lGL -ltag -lpq -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src:    
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `Debug::debug()':  
xine-engine.cpp:(.text+0x59): undefined reference to `Debug::mutex'  
xine-engine.cpp:(.text+0x74): undefined reference to `Debug::mutex'  
I get this new kind of error: ``` [ 86%] Linking CXX shared module libamarok_xine-engine.so cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/cmake -E cmake_link_script CMakeFiles/libamarok_xine-engine-module.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -Wl,--no-undefined -shared -o libamarok_xine-engine.so CMakeFiles/libamarok_xine-engine-module.dir/xine-scope.c.o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xineconfigbase.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o ../../libamarok.so.0.0.0 -lxine /usr/lib64/libtdehtml.so.14.0.0 /usr/lib64/libtdeutils.so.1.2.0 /usr/lib64/libtdeparts.so.2.1.0 /usr/lib64/libtdeprint.so.14.0.0 /usr/lib64/libkjs.so.1.2.0 -lpcre -ljpeg /usr/lib64/libtdenewstuff.so.1.0.0 /usr/lib64/libtdeio.so.14.0.0 /usr/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext /usr/lib64/libtdesu.so.14.0.0 /usr/lib64/libtdewalletclient.so.1.0.1 /usr/lib64/libtdecore.so.14.0.0 /usr/lib64/libDCOP.so.14.0.0 /usr/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lacl -lattr -lGLU -lGL -ltag -lpq -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src: CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `Debug::debug()': xine-engine.cpp:(.text+0x59): undefined reference to `Debug::mutex' xine-engine.cpp:(.text+0x74): undefined reference to `Debug::mutex' ```
Owner

Added LIBAMAROK_EXPORT on namespaces in debug.h. Please try if it solve the problem above and we move forward 😺

Added `LIBAMAROK_EXPORT` on namespaces in `debug.h`. Please try if it solve the problem above and we move forward :smiley_cat:
Ghost commented 5 years ago
Poster

Still get FTBFS with gcc visilibily:

cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/c++   -DHAVE_CONFIG_H -Dlibamarok_xine_engine_module_EXPORTS -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine -I/home/cethyel/CMAKE_CONVERSION/amarok/build -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/amarokcore -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src/amarokcore -I/usr/include/tqt3 -I/usr/include/tqt  -fvisibility=hidden -fvisibility-inlines-hidden  -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC   -o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine/xinecfg.cpp
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `VoidEngine::load(KURL const&, bool)':
void-engine.cpp:(.text+0x73): undefined reference to `Engine::Base::load(KURL const&, bool)'
void-engine.cpp:(.text+0x99): undefined reference to `Engine::Base::statusText(TQString const&)'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `Engine::Base::metaObject() const':
void-engine.cpp:(.text._ZNK6Engine4Base10metaObjectEv[_ZNK6Engine4Base10metaObjectEv]+0xd): undefined reference to `Engine::Base::staticMetaObject()'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `VoidEngine::VoidEngine()':
void-engine.cpp:(.text._ZN10VoidEngineC2Ev[_ZN10VoidEngineC5Ev]+0x14): undefined reference to `Engine::Base::Base()'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x18): undefined reference to `Engine::Base::className() const'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x20): undefined reference to `Engine::Base::tqt_cast(char const*)'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x28): undefined reference to `Engine::Base::tqt_invoke(int, TQUObject*)'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x30): undefined reference to `Engine::Base::tqt_emit(int, TQUObject*)'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x38): undefined reference to `Engine::Base::tqt_property(int, int, TQVariant*)'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `VoidEngine::~VoidEngine()':
void-engine.cpp:(.text._ZN10VoidEngineD2Ev[_ZN10VoidEngineD5Ev]+0x31): undefined reference to `Engine::Base::~Base()'
CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTI10VoidEngine[_ZTI10VoidEngine]+0x10): undefined reference to `typeinfo for Engine::Base'
collect2: error: ld returned 1 exit status
amarok/src/engine/void/CMakeFiles/libamarok_void-engine_plugin-module.dir/build.make:115: recipe for target 'amarok/src/engine/void/libamarok_void-engine_plugin.so' failed
make[2]: *** [amarok/src/engine/void/libamarok_void-engine_plugin.so] Error 1  

cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/c++   -DHAVE_CONFIG_H -Dlibamarok_xine_engine_module_EXPORTS -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine -I/home/cethyel/CMAKE_CONVERSION/amarok/build -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/amarokcore -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src/amarokcore -I/usr/include/tqt3 -I/usr/include/tqt  -fvisibility=hidden -fvisibility-inlines-hidden  -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC   -o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c /home/cethyel/CMAKE_CONVERSION/amarok/amarok/src/engine/xine/xine-engine.cpp
CMakeFiles/amarokapp.dir/main.cpp.o: In function `main':
main.cpp:(.text+0x666): undefined reference to `registerTaglibPlugins()'
collect2: error: ld returned 1 exit status  

cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/cmake -E cmake_link_script CMakeFiles/libamarok_xine-engine-module.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -fvisibility=hidden -fvisibility-inlines-hidden  -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h  -Wl,--no-undefined -shared  -o libamarok_xine-engine.so CMakeFiles/libamarok_xine-engine-module.dir/xine-scope.c.o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xineconfigbase.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o ../../libamarok.so.0.0.0 -lxine /usr/lib64/libtdehtml.so.14.0.0 /usr/lib64/libtdeutils.so.1.2.0 /usr/lib64/libtdeparts.so.2.1.0 /usr/lib64/libtdeprint.so.14.0.0 /usr/lib64/libkjs.so.1.2.0 -lpcre -ljpeg /usr/lib64/libtdenewstuff.so.1.0.0 /usr/lib64/libtdeio.so.14.0.0 /usr/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext /usr/lib64/libtdesu.so.14.0.0 /usr/lib64/libtdewalletclient.so.1.0.1 /usr/lib64/libtdecore.so.14.0.0 /usr/lib64/libDCOP.so.14.0.0 /usr/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lacl -lattr -lGLU -lGL -ltag -lpq -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src: 
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::XineEngine()':
xine-engine.cpp:(.text+0x213): undefined reference to `Engine::Base::Base()'
xine-engine.cpp:(.text+0x327): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)'
xine-engine.cpp:(.text+0x380): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)'
xine-engine.cpp:(.text+0x3d9): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)'
xine-engine.cpp:(.text+0x432): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)'
xine-engine.cpp:(.text+0x576): undefined reference to `Engine::Base::~Base()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::~XineEngine()':
xine-engine.cpp:(.text+0x916): undefined reference to `Engine::Base::~Base()'
xine-engine.cpp:(.text+0x9bb): undefined reference to `Engine::Base::~Base()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::load(KURL const&, bool)':
xine-engine.cpp:(.text+0x107c): undefined reference to `Engine::Base::load(KURL const&, bool)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::play(unsigned int)':
xine-engine.cpp:(.text+0x15a4): undefined reference to `Engine::Base::stateChanged(Engine::State)'
xine-engine.cpp:(.text+0x15e5): undefined reference to `Engine::Base::stateChanged(Engine::State)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::stop()':
xine-engine.cpp:(.text+0x1eeb): undefined reference to `Engine::Base::stateChanged(Engine::State)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::pause()':
xine-engine.cpp:(.text+0x1ffa): undefined reference to `Engine::Base::stateChanged(Engine::State)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::unpause()':
xine-engine.cpp:(.text+0x20b1): undefined reference to `Engine::Base::stateChanged(Engine::State)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::position() const':
xine-engine.cpp:(.text+0x2343): undefined reference to `Engine::Base::metaData(Engine::SimpleMetaBundle const&)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::fadeOut(unsigned int, bool*, bool)':
xine-engine.cpp:(.text+0x27a0): undefined reference to `Engine::Base::makeVolumeLogarithmic(unsigned int)'
xine-engine.cpp:(.text+0x28f9): undefined reference to `Engine::Base::makeVolumeLogarithmic(unsigned int)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::setEqualizerParameters(int, TQValueList<int> const&)':
xine-engine.cpp:(.text+0x2f2a): undefined reference to `Engine::Base::setVolume(unsigned int)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::customEvent(TQCustomEvent*)':
xine-engine.cpp:(.text+0x3cb3): undefined reference to `Engine::Base::trackEnded()'
xine-engine.cpp:(.text+0x3d20): undefined reference to `Engine::Base::infoMessage(TQString const&)'
xine-engine.cpp:(.text+0x3d92): undefined reference to `Engine::Base::statusText(TQString const&)'
xine-engine.cpp:(.text+0x3e57): undefined reference to `Engine::Base::metaData(Engine::SimpleMetaBundle const&)'
xine-engine.cpp:(.text+0x3ebe): undefined reference to `Engine::Base::statusText(TQString const&)'
xine-engine.cpp:(.text+0x3f8f): undefined reference to `Engine::Base::lastFmTrackChange()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::getAudioCDContents(TQString const&, KURL::List&)':
xine-engine.cpp:(.text+0x5ea8): undefined reference to `Engine::Base::statusText(TQString const&)'
xine-engine.cpp:(.text+0x5f26): undefined reference to `Engine::Base::statusText(TQString const&)'
xine-engine.cpp:(.text+0x6000): undefined reference to `Engine::Base::statusText(TQString const&)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `Fader::~Fader()':
xine-engine.cpp:(.text+0x6382): undefined reference to `Engine::Base::setVolume(unsigned int)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `Fader::run()':
xine-engine.cpp:(.text+0x65ce): undefined reference to `Engine::Base::makeVolumeLogarithmic(unsigned int)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::staticMetaObject()':
xine-engine.cpp:(.text+0x6c19): undefined reference to `Engine::Base::staticMetaObject()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_cast(char const*)':
xine-engine.cpp:(.text+0x6ce3): undefined reference to `Engine::Base::tqt_cast(char const*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_invoke(int, TQUObject*)':
xine-engine.cpp:(.text+0x6e44): undefined reference to `Engine::Base::tqt_invoke(int, TQUObject*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_emit(int, TQUObject*)':
xine-engine.cpp:(.text+0x6eba): undefined reference to `Engine::Base::tqt_emit(int, TQUObject*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_property(int, int, TQVariant*)':
xine-engine.cpp:(.text+0x6ee8): undefined reference to `Engine::Base::tqt_property(int, int, TQVariant*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::crossfade()':
xine-engine.cpp:(.text._ZN12AmarokConfig9crossfadeEv[_ZN12AmarokConfig9crossfadeEv]+0x5): undefined reference to `AmarokConfig::self()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::crossfadeType()':
xine-engine.cpp:(.text._ZN12AmarokConfig13crossfadeTypeEv[_ZN12AmarokConfig13crossfadeTypeEv]+0x5): undefined reference to `AmarokConfig::self()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::fadeout()':
xine-engine.cpp:(.text._ZN12AmarokConfig7fadeoutEv[_ZN12AmarokConfig7fadeoutEv]+0x5): undefined reference to `AmarokConfig::self()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::fadeoutLength()':
xine-engine.cpp:(.text._ZN12AmarokConfig13fadeoutLengthEv[_ZN12AmarokConfig13fadeoutLengthEv]+0x5): undefined reference to `AmarokConfig::self()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::fadeoutOnExit()':
xine-engine.cpp:(.text._ZN12AmarokConfig13fadeoutOnExitEv[_ZN12AmarokConfig13fadeoutOnExitEv]+0x5): undefined reference to `AmarokConfig::self()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o:(.data.rel.ro._ZTI10XineEngine[_ZTI10XineEngine]+0x10): undefined reference to `typeinfo for Engine::Base'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::save()':
xine-config.cpp:(.text+0x1f8b): undefined reference to `Amarok::PluginConfig::settingsSaved()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::staticMetaObject()':
xine-config.cpp:(.text+0x290d): undefined reference to `Amarok::PluginConfig::staticMetaObject()'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_cast(char const*)':
xine-config.cpp:(.text+0x29d5): undefined reference to `Amarok::PluginConfig::tqt_cast(char const*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_invoke(int, TQUObject*)':
xine-config.cpp:(.text+0x2a68): undefined reference to `Amarok::PluginConfig::tqt_invoke(int, TQUObject*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_emit(int, TQUObject*)':
xine-config.cpp:(.text+0x2a9a): undefined reference to `Amarok::PluginConfig::tqt_emit(int, TQUObject*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_property(int, int, TQVariant*)':
xine-config.cpp:(.text+0x2ac8): undefined reference to `Amarok::PluginConfig::tqt_property(int, int, TQVariant*)'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `Amarok::PluginConfig::PluginConfig()':
xine-config.cpp:(.text._ZN6Amarok12PluginConfigC2Ev[_ZN6Amarok12PluginConfigC5Ev]+0x25): undefined reference to `vtable for Amarok::PluginConfig'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `Amarok::PluginConfig::~PluginConfig()':
xine-config.cpp:(.text._ZN6Amarok12PluginConfigD2Ev[_ZN6Amarok12PluginConfigD5Ev]+0xf): undefined reference to `vtable for Amarok::PluginConfig'
CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o:(.data.rel.ro._ZTI16XineConfigDialog[_ZTI16XineConfigDialog]+0x10): undefined reference to `typeinfo for Amarok::PluginConfig'
collect2: error: ld returned 1 exit status
amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/build.make:241: recipe for target 'amarok/src/engine/xine/libamarok_xine-engine.so' failed
make[2]: *** [amarok/src/engine/xine/libamarok_xine-engine.so] Error 1  
Still get FTBFS with gcc visilibily: ``` cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/c++ -DHAVE_CONFIG_H -Dlibamarok_xine_engine_module_EXPORTS -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine -I/home/cethyel/CMAKE_CONVERSION/amarok/build -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/amarokcore -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src/amarokcore -I/usr/include/tqt3 -I/usr/include/tqt -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine/xinecfg.cpp CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `VoidEngine::load(KURL const&, bool)': void-engine.cpp:(.text+0x73): undefined reference to `Engine::Base::load(KURL const&, bool)' void-engine.cpp:(.text+0x99): undefined reference to `Engine::Base::statusText(TQString const&)' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `Engine::Base::metaObject() const': void-engine.cpp:(.text._ZNK6Engine4Base10metaObjectEv[_ZNK6Engine4Base10metaObjectEv]+0xd): undefined reference to `Engine::Base::staticMetaObject()' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `VoidEngine::VoidEngine()': void-engine.cpp:(.text._ZN10VoidEngineC2Ev[_ZN10VoidEngineC5Ev]+0x14): undefined reference to `Engine::Base::Base()' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x18): undefined reference to `Engine::Base::className() const' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x20): undefined reference to `Engine::Base::tqt_cast(char const*)' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x28): undefined reference to `Engine::Base::tqt_invoke(int, TQUObject*)' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x30): undefined reference to `Engine::Base::tqt_emit(int, TQUObject*)' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTV10VoidEngine[_ZTV10VoidEngine]+0x38): undefined reference to `Engine::Base::tqt_property(int, int, TQVariant*)' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o: In function `VoidEngine::~VoidEngine()': void-engine.cpp:(.text._ZN10VoidEngineD2Ev[_ZN10VoidEngineD5Ev]+0x31): undefined reference to `Engine::Base::~Base()' CMakeFiles/libamarok_void-engine_plugin-module.dir/void-engine.cpp.o:(.data.rel.ro._ZTI10VoidEngine[_ZTI10VoidEngine]+0x10): undefined reference to `typeinfo for Engine::Base' collect2: error: ld returned 1 exit status amarok/src/engine/void/CMakeFiles/libamarok_void-engine_plugin-module.dir/build.make:115: recipe for target 'amarok/src/engine/void/libamarok_void-engine_plugin.so' failed make[2]: *** [amarok/src/engine/void/libamarok_void-engine_plugin.so] Error 1 cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/c++ -DHAVE_CONFIG_H -Dlibamarok_xine_engine_module_EXPORTS -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine -I/home/cethyel/CMAKE_CONVERSION/amarok/build -I/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/amarokcore -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src -I/home/cethyel/CMAKE_CONVERSION/amarok/amarok/src/amarokcore -I/usr/include/tqt3 -I/usr/include/tqt -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c /home/cethyel/CMAKE_CONVERSION/amarok/amarok/src/engine/xine/xine-engine.cpp CMakeFiles/amarokapp.dir/main.cpp.o: In function `main': main.cpp:(.text+0x666): undefined reference to `registerTaglibPlugins()' collect2: error: ld returned 1 exit status cd /home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src/engine/xine && /usr/bin/cmake -E cmake_link_script CMakeFiles/libamarok_xine-engine-module.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -Wl,--no-undefined -shared -o libamarok_xine-engine.so CMakeFiles/libamarok_xine-engine-module.dir/xine-scope.c.o CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xineconfigbase.cpp.o CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o ../../libamarok.so.0.0.0 -lxine /usr/lib64/libtdehtml.so.14.0.0 /usr/lib64/libtdeutils.so.1.2.0 /usr/lib64/libtdeparts.so.2.1.0 /usr/lib64/libtdeprint.so.14.0.0 /usr/lib64/libkjs.so.1.2.0 -lpcre -ljpeg /usr/lib64/libtdenewstuff.so.1.0.0 /usr/lib64/libtdeio.so.14.0.0 /usr/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext /usr/lib64/libtdesu.so.14.0.0 /usr/lib64/libtdewalletclient.so.1.0.1 /usr/lib64/libtdecore.so.14.0.0 /usr/lib64/libDCOP.so.14.0.0 /usr/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lacl -lattr -lGLU -lGL -ltag -lpq -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/cethyel/CMAKE_CONVERSION/amarok/build/amarok/src: CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::XineEngine()': xine-engine.cpp:(.text+0x213): undefined reference to `Engine::Base::Base()' xine-engine.cpp:(.text+0x327): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)' xine-engine.cpp:(.text+0x380): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)' xine-engine.cpp:(.text+0x3d9): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)' xine-engine.cpp:(.text+0x432): undefined reference to `Amarok::Plugin::addPluginProperty(TQString const&, TQString const&)' xine-engine.cpp:(.text+0x576): undefined reference to `Engine::Base::~Base()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::~XineEngine()': xine-engine.cpp:(.text+0x916): undefined reference to `Engine::Base::~Base()' xine-engine.cpp:(.text+0x9bb): undefined reference to `Engine::Base::~Base()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::load(KURL const&, bool)': xine-engine.cpp:(.text+0x107c): undefined reference to `Engine::Base::load(KURL const&, bool)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::play(unsigned int)': xine-engine.cpp:(.text+0x15a4): undefined reference to `Engine::Base::stateChanged(Engine::State)' xine-engine.cpp:(.text+0x15e5): undefined reference to `Engine::Base::stateChanged(Engine::State)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::stop()': xine-engine.cpp:(.text+0x1eeb): undefined reference to `Engine::Base::stateChanged(Engine::State)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::pause()': xine-engine.cpp:(.text+0x1ffa): undefined reference to `Engine::Base::stateChanged(Engine::State)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::unpause()': xine-engine.cpp:(.text+0x20b1): undefined reference to `Engine::Base::stateChanged(Engine::State)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::position() const': xine-engine.cpp:(.text+0x2343): undefined reference to `Engine::Base::metaData(Engine::SimpleMetaBundle const&)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::fadeOut(unsigned int, bool*, bool)': xine-engine.cpp:(.text+0x27a0): undefined reference to `Engine::Base::makeVolumeLogarithmic(unsigned int)' xine-engine.cpp:(.text+0x28f9): undefined reference to `Engine::Base::makeVolumeLogarithmic(unsigned int)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::setEqualizerParameters(int, TQValueList<int> const&)': xine-engine.cpp:(.text+0x2f2a): undefined reference to `Engine::Base::setVolume(unsigned int)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::customEvent(TQCustomEvent*)': xine-engine.cpp:(.text+0x3cb3): undefined reference to `Engine::Base::trackEnded()' xine-engine.cpp:(.text+0x3d20): undefined reference to `Engine::Base::infoMessage(TQString const&)' xine-engine.cpp:(.text+0x3d92): undefined reference to `Engine::Base::statusText(TQString const&)' xine-engine.cpp:(.text+0x3e57): undefined reference to `Engine::Base::metaData(Engine::SimpleMetaBundle const&)' xine-engine.cpp:(.text+0x3ebe): undefined reference to `Engine::Base::statusText(TQString const&)' xine-engine.cpp:(.text+0x3f8f): undefined reference to `Engine::Base::lastFmTrackChange()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::getAudioCDContents(TQString const&, KURL::List&)': xine-engine.cpp:(.text+0x5ea8): undefined reference to `Engine::Base::statusText(TQString const&)' xine-engine.cpp:(.text+0x5f26): undefined reference to `Engine::Base::statusText(TQString const&)' xine-engine.cpp:(.text+0x6000): undefined reference to `Engine::Base::statusText(TQString const&)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `Fader::~Fader()': xine-engine.cpp:(.text+0x6382): undefined reference to `Engine::Base::setVolume(unsigned int)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `Fader::run()': xine-engine.cpp:(.text+0x65ce): undefined reference to `Engine::Base::makeVolumeLogarithmic(unsigned int)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::staticMetaObject()': xine-engine.cpp:(.text+0x6c19): undefined reference to `Engine::Base::staticMetaObject()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_cast(char const*)': xine-engine.cpp:(.text+0x6ce3): undefined reference to `Engine::Base::tqt_cast(char const*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_invoke(int, TQUObject*)': xine-engine.cpp:(.text+0x6e44): undefined reference to `Engine::Base::tqt_invoke(int, TQUObject*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_emit(int, TQUObject*)': xine-engine.cpp:(.text+0x6eba): undefined reference to `Engine::Base::tqt_emit(int, TQUObject*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `XineEngine::tqt_property(int, int, TQVariant*)': xine-engine.cpp:(.text+0x6ee8): undefined reference to `Engine::Base::tqt_property(int, int, TQVariant*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::crossfade()': xine-engine.cpp:(.text._ZN12AmarokConfig9crossfadeEv[_ZN12AmarokConfig9crossfadeEv]+0x5): undefined reference to `AmarokConfig::self()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::crossfadeType()': xine-engine.cpp:(.text._ZN12AmarokConfig13crossfadeTypeEv[_ZN12AmarokConfig13crossfadeTypeEv]+0x5): undefined reference to `AmarokConfig::self()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::fadeout()': xine-engine.cpp:(.text._ZN12AmarokConfig7fadeoutEv[_ZN12AmarokConfig7fadeoutEv]+0x5): undefined reference to `AmarokConfig::self()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::fadeoutLength()': xine-engine.cpp:(.text._ZN12AmarokConfig13fadeoutLengthEv[_ZN12AmarokConfig13fadeoutLengthEv]+0x5): undefined reference to `AmarokConfig::self()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o: In function `AmarokConfig::fadeoutOnExit()': xine-engine.cpp:(.text._ZN12AmarokConfig13fadeoutOnExitEv[_ZN12AmarokConfig13fadeoutOnExitEv]+0x5): undefined reference to `AmarokConfig::self()' CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o:(.data.rel.ro._ZTI10XineEngine[_ZTI10XineEngine]+0x10): undefined reference to `typeinfo for Engine::Base' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::save()': xine-config.cpp:(.text+0x1f8b): undefined reference to `Amarok::PluginConfig::settingsSaved()' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::staticMetaObject()': xine-config.cpp:(.text+0x290d): undefined reference to `Amarok::PluginConfig::staticMetaObject()' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_cast(char const*)': xine-config.cpp:(.text+0x29d5): undefined reference to `Amarok::PluginConfig::tqt_cast(char const*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_invoke(int, TQUObject*)': xine-config.cpp:(.text+0x2a68): undefined reference to `Amarok::PluginConfig::tqt_invoke(int, TQUObject*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_emit(int, TQUObject*)': xine-config.cpp:(.text+0x2a9a): undefined reference to `Amarok::PluginConfig::tqt_emit(int, TQUObject*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `XineConfigDialog::tqt_property(int, int, TQVariant*)': xine-config.cpp:(.text+0x2ac8): undefined reference to `Amarok::PluginConfig::tqt_property(int, int, TQVariant*)' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `Amarok::PluginConfig::PluginConfig()': xine-config.cpp:(.text._ZN6Amarok12PluginConfigC2Ev[_ZN6Amarok12PluginConfigC5Ev]+0x25): undefined reference to `vtable for Amarok::PluginConfig' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o: In function `Amarok::PluginConfig::~PluginConfig()': xine-config.cpp:(.text._ZN6Amarok12PluginConfigD2Ev[_ZN6Amarok12PluginConfigD5Ev]+0xf): undefined reference to `vtable for Amarok::PluginConfig' CMakeFiles/libamarok_xine-engine-module.dir/xine-config.cpp.o:(.data.rel.ro._ZTI16XineConfigDialog[_ZTI16XineConfigDialog]+0x10): undefined reference to `typeinfo for Amarok::PluginConfig' collect2: error: ld returned 1 exit status amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/build.make:241: recipe for target 'amarok/src/engine/xine/libamarok_xine-engine.so' failed make[2]: *** [amarok/src/engine/xine/libamarok_xine-engine.so] Error 1 ```
Ghost commented 5 years ago
Poster

Rem...loader.cpp qt=> tqt and kde=>tde
Rem...to add man pages.
see if It's relevant to add more unwanted extensions in xine (xine-engine.cpp L670)
TDE_VERSION in magnatunelistview.cpp --> check
DNSSD_SUPPORT is a KDE_IS_VERSION macro (daap)
crashhandler.cpp L222 kapp->invokeMailer
Rem...fill in {MP4V2_INCLUDE_DIRS} and {MP4V2_LIBRARY_DIRS}, change mp4v2...done!

Rem...loader.cpp qt=> tqt and kde=>tde Rem...to add man pages. see if It's relevant to add more unwanted extensions in xine (xine-engine.cpp L670) TDE_VERSION in magnatunelistview.cpp --> check DNSSD_SUPPORT is a KDE_IS_VERSION macro (daap) crashhandler.cpp L222 kapp->invokeMailer Rem...fill in ${MP4V2_INCLUDE_DIRS} and ${MP4V2_LIBRARY_DIRS}, change mp4v2...done!
Ghost commented 5 years ago
Poster

Interestingly when I lunch kiosktool --help-tde ,
the command displays Its options but when I do the same with amarok (amarok --help-tde), I get this error:

amarok --help-tde
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
Interestingly when I lunch kiosktool --help-tde , the command displays Its options but when I do the same with amarok (amarok --help-tde), I get this error: ``` amarok --help-tde Amarok: [Loader] Starting amarokapp.. Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp. ```
Ghost added the PR/rfc label 5 years ago
Chris commented 4 years ago
Collaborator

Yes, for me too.

But using:

amarokapp --help-tde

works fine here. 😺

Yes, for me too. But using: amarokapp --help-tde works fine here. :smiley_cat:
Owner

Greg, please take note of #14 which has just been merged. You may have to do some small tweaking to your PR now.

Greg, please take note of #14 which has just been merged. You may have to do some small tweaking to your PR now.
Owner

@cethyel I suppose I'll take care of the merger of the conflicts that arised from #14.

@cethyel I suppose I'll take care of the merger of the conflicts that arised from #14.
Ghost commented 4 years ago
Poster

I've had my fill with this PR as a result I don't intend to work further on It. Slávek, feel free to merge/solve with last Amarok commits if you intend to complete this work/update on cmake builds or let It be an archive (like I do) for those willing to either take over or profit from.

I've had my fill with this PR as a result I don't intend to work further on It. Slávek, feel free to merge/solve with last Amarok commits if you intend to complete this work/update on cmake builds or let It be an archive (like I do) for those willing to either take over or profit from.
Owner

@cethyel you can be sure that your excellent work on CMake conversion won't stay unfinished here! I hope to find time to solve the remaining hidden visibility problems soon. It is now rebased on the current HEAD.

@cethyel you can be sure that your excellent work on CMake conversion won't stay unfinished here! I hope to find time to solve the remaining hidden visibility problems soon. It is now rebased on the current HEAD.
Owner

I did a test to build on Debian 7.x (Wheezy) – it required a fix typo in Ruby detection, and on Ubuntu 20.04 (Focal) – it required a fix of MySQL structure detection.

I did a test to build on Debian 7.x (Wheezy) – it required a fix typo in Ruby detection, and on Ubuntu 20.04 (Focal) – it required a fix of MySQL structure detection.
Owner

Now I did a functional test: Amarok plays, shows a collection (sqlite), shows track information, everything seems to be fine. However, there is one problem. I've tried installing aKode-engine, but it's not in the engines list, so it's not possible to use it.

Now I did a functional test: Amarok plays, shows a collection (sqlite), shows track information, everything seems to be fine. However, there is one problem. I've tried installing aKode-engine, but it's not in the engines list, so it's not possible to use it.
Owner

Later I found another problem: Visualization doesn't work – no plugin is offered, just information that libvisual is not available.

Later I found another problem: Visualization doesn't work – no plugin is offered, just information that libvisual is not available.
Owner

Note: I tried to build amarok without hidden visibility to verify that the aKode-engine and amarok-visual problem are related to hidden visibility. And the result is that this is not the cause – both problems persisted.

Note: I tried to build amarok without hidden visibility to verify that the aKode-engine and amarok-visual problem are related to hidden visibility. And the result is that this is not the cause – both problems persisted.
Owner

Amarok-visual problem solved – libvisual-0.4-plugins package was not installed on my home machine 😺

Amarok-visual problem solved – libvisual-0.4-plugins package was not installed on my home machine :smiley_cat:
Owner

Problem with unavailability of aKode engine resolved – there was set X-TDE-Amarok-rank=0, which means disabled.

However, the possibilities seem to be limited. On my system, it won't play mp3. And I don't know if it's also related to mp3, but it won't play my favorite internet radio. The question here may be whether it makes sense to provide such an engine as a deb package.

Problem with unavailability of aKode engine resolved – there was set `X-TDE-Amarok-rank=0`, which means *disabled*. However, the possibilities seem to be limited. On my system, it won't play mp3. And I don't know if it's also related to mp3, but it won't play my favorite internet radio. The question here may be whether it makes sense to provide such an engine as a deb package.
Ghost commented 4 years ago
Poster

If Akode is built with ffmpeg support does this change anything?

If Akode is built with ffmpeg support does this change anything?
Owner

Greg, good point – I installed libakode2-mpeg and mp3 now play! Thank you. However, Internet radio still cannot be played with aKode.

Greg, good point – I installed libakode2-mpeg and mp3 now play! Thank you. However, Internet radio still cannot be played with aKode.
Owner

Because everything looks good, I did squash all fixes to CMake conversion into one commit and hidden visibility fixes into one commit.

Now, nothing seems to prevent merging.

Greg, you did a great job!

Because everything looks good, I did squash all fixes to CMake conversion into one commit and hidden visibility fixes into one commit. Now, nothing seems to prevent merging. Greg, you did a great job!
SlavekB removed the PR/wip label 4 years ago
SlavekB changed title from WIP: conversion to the cmake building system to Conversion to the cmake building system 4 years ago
Owner

Note:

  • rebased to current head
  • default value for WITH_GCC_VISIBILITY changed from OFF to ${WITH_ALL_OPTIONS}
Note: * rebased to current head * default value for `WITH_GCC_VISIBILITY` changed from `OFF` to `${WITH_ALL_OPTIONS}`
Owner

I've tried CMake building on FreeBSD, and the result is one more revision of the commit regarding hidden visibility. It was advantageous that I haven't done a merge yet!

I've tried CMake building on FreeBSD, and the result is one more revision of the commit regarding hidden visibility. It was advantageous that I haven't done a merge yet!
SlavekB closed this pull request 4 years ago
SlavekB deleted branch feat/cmakeUpdate 4 years ago
SlavekB removed the PR/rfc label 4 years ago
SlavekB added this to the R14.0.8 release milestone 4 years ago
The pull request has been merged as 16ec57d25f.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/amarok#10
Loading…
There is no content yet.