This forum has been archived. All content is frozen. Please use KDE Discuss instead.

GIT, Taglib 1.6 and Taglib-extra 1.0 errors

Tags: None
(comma "," separated)
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Unable to build current (18.09) Git, although taglib is 1.6 and taglib-extras is 1.0, as forced in the ChangeLog.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
That works here, are you sure you have all your paths set correctly?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
karoshi
Registered Member
Posts
43
Karma
0
OS
Same here on Arch Linux (taglib 1.6 and taglib-extras 1.0 installed)

Code: Select all
Linking CXX shared library ../lib/libamaroklib.so                                                                         
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `Meta::Field::writeFields(TagLib::FileRef, QMap<QString, QVariant> const&)':                                                                                                               
MetaUtility.cpp:(.text+0x3461): undefined reference to `typeinfo for TagLib::MP4::File'                                   
MetaUtility.cpp:(.text+0x35a9): undefined reference to `TagLib::MP4::Item::Item(TagLib::StringList const&)'               
MetaUtility.cpp:(.text+0x35dd): undefined reference to `TagLib::MP4::Tag::itemListMap()'                                 
MetaUtility.cpp:(.text+0x3601): undefined reference to `TagLib::MP4::Item::operator=(TagLib::MP4::Item const&)'           
MetaUtility.cpp:(.text+0x361d): undefined reference to `TagLib::MP4::Item::~Item()'                                       
MetaUtility.cpp:(.text+0x36c5): undefined reference to `TagLib::MP4::Item::Item(int, int)'                               
MetaUtility.cpp:(.text+0x36ed): undefined reference to `TagLib::MP4::Tag::itemListMap()'                                 
MetaUtility.cpp:(.text+0x3705): undefined reference to `TagLib::MP4::Item::operator=(TagLib::MP4::Item const&)'           
MetaUtility.cpp:(.text+0x3715): undefined reference to `TagLib::MP4::Item::~Item()'                                       
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `std::_Rb_tree<TagLib::String, std::pair<TagLib::String const, TagLib::MP4::Item>, std::_Select1st<std::pair<TagLib::String const, TagLib::MP4::Item> >, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::_M_copy(std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::MP4::Item> > const*, std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::MP4::Item> >*)':                 
MetaUtility.cpp:(.text._ZNSt8_Rb_treeIN6TagLib6StringESt4pairIKS1_NS0_3MP44ItemEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE7_M_copyEPKSt13_Rb_tree_nodeIS6_EPSE_[std::_Rb_tree<TagLib::String, std::pair<TagLib::String const, TagLib::MP4::Item>, std::_Select1st<std::pair<TagLib::String const, TagLib::MP4::Item> >, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::_M_copy(std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::MP4::Item> > const*, std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::MP4::Item> >*)]+0x4b): undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'                                                                               
MetaUtility.cpp:(.text._ZNSt8_Rb_treeIN6TagLib6StringESt4pairIKS1_NS0_3MP44ItemEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE7_M_copyEPKSt13_Rb_tree_nodeIS6_EPSE_[std::_Rb_tree<TagLib::String, std::pair<TagLib::String const, TagLib::MP4::Item>, std::_Select1st<std::pair<TagLib::String const, TagLib::MP4::Item> >, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::_M_copy(std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::MP4::Item> > const*, std::_Rb_tree_node<std::pair<TagLib::String const, TagLib::MP4::Item> >*)]+0xc8): undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'                                                                               
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `std::_Rb_tree<TagLib::String, std::pair<TagLib::String const, TagLib::MP4::Item>, std::_Select1st<std::pair<TagLib::String const, TagLib::MP4::Item> >, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<TagLib::String const, TagLib::MP4::Item> const&)':                                             
MetaUtility.cpp:(.text._ZNSt8_Rb_treeIN6TagLib6StringESt4pairIKS1_NS0_3MP44ItemEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE10_M_insert_EPKSt18_Rb_tree_node_baseSF_RKS6_[std::_Rb_tree<TagLib::String, std::pair<TagLib::String const, TagLib::MP4::Item>, std::_Select1st<std::pair<TagLib::String const, TagLib::MP4::Item> >, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<TagLib::String const, TagLib::MP4::Item> const&)]+0x6b): undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `TagLib::Map<TagLib::String, TagLib::MP4::Item>::operator[](TagLib::String const&)':
MetaUtility.cpp:(.text._ZN6TagLib3MapINS_6StringENS_3MP44ItemEEixERKS1_[TagLib::Map<TagLib::String, TagLib::MP4::Item>::operator[](TagLib::String const&)]+0x12e): undefined reference to `TagLib::MP4::Item::Item()'
MetaUtility.cpp:(.text._ZN6TagLib3MapINS_6StringENS_3MP44ItemEEixERKS1_[TagLib::Map<TagLib::String, TagLib::MP4::Item>::operator[](TagLib::String const&)]+0x155): undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'
MetaUtility.cpp:(.text._ZN6TagLib3MapINS_6StringENS_3MP44ItemEEixERKS1_[TagLib::Map<TagLib::String, TagLib::MP4::Item>::operator[](TagLib::String const&)]+0x186): undefined reference to `TagLib::MP4::Item::~Item()'
MetaUtility.cpp:(.text._ZN6TagLib3MapINS_6StringENS_3MP44ItemEEixERKS1_[TagLib::Map<TagLib::String, TagLib::MP4::Item>::operator[](TagLib::String const&)]+0x19b): undefined reference to `TagLib::MP4::Item::~Item()'
CMakeFiles/amaroklib.dir/__/shared/MetaReplayGain.o: In function `Meta::readReplayGainTags(TagLib::FileRef)':
MetaReplayGain.cpp:(.text+0x2032): undefined reference to `typeinfo for TagLib::ASF::File'
MetaReplayGain.cpp:(.text+0x207a): undefined reference to `TagLib::ASF::Tag::attributeListMap()'
MetaReplayGain.cpp:(.text+0x2153): undefined reference to `TagLib::ASF::Attribute::toString() const'
MetaReplayGain.cpp:(.text+0x2233): undefined reference to `TagLib::ASF::Attribute::toString() const'
MetaReplayGain.cpp:(.text+0x2314): undefined reference to `TagLib::ASF::Attribute::toString() const'
MetaReplayGain.cpp:(.text+0x23f1): undefined reference to `TagLib::ASF::Attribute::toString() const'
CMakeFiles/amaroklib.dir/meta/file/File.o: In function `MetaFile::Track::Private::readMetaData()':
File.cpp:(.text+0x3cd7): undefined reference to `typeinfo for TagLib::MP4::File'
File.cpp:(.text+0x3d49): undefined reference to `TagLib::MP4::Tag::itemListMap()'
File.cpp:(.text+0x3dac): undefined reference to `TagLib::MP4::Tag::itemListMap()'
File.cpp:(.text+0x3e1b): undefined reference to `TagLib::MP4::Tag::itemListMap()'
File.cpp:(.text+0x3e3f): undefined reference to `TagLib::MP4::Item::toIntPair() const'
File.cpp:(.text+0x3f24): undefined reference to `TagLib::MP4::Tag::itemListMap()'
File.cpp:(.text+0x3f4e): undefined reference to `TagLib::MP4::Item::toStringList() const'
collect2: ld returned 1 exit status
make[2]: *** [lib/libamaroklib.so.1.0.0] Error 1
make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Code: Select all
[  0%] Built target amaroklib_automoc                                                                                                                                       
[  1%] Built target amarokpud                                                                                                                                               
[  1%] Built target amarokocsclient_automoc                                                                                                                                 
[  5%] Built target amarokocsclient                                                                           
Linking CXX shared library ../lib/libamaroklib.so                                                                                                                           
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `Meta::Field::writeFields(TagLib::FileRef, QMap<QString, QVariant> const&)':                                       
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:321: undefined reference to `typeinfo for TagLib::MP4::File'                                                         
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:335: undefined reference to `TagLib::MP4::Item::Item(int, int)'                                                       
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:335: undefined reference to `TagLib::MP4::Tag::itemListMap()'                                                         
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:335: undefined reference to `TagLib::MP4::Item::operator=(TagLib::MP4::Item const&)'                                 
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:335: undefined reference to `TagLib::MP4::Item::~Item()'                                                             
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:328: undefined reference to `TagLib::MP4::Item::Item(TagLib::StringList const&)'                                     
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:328: undefined reference to `TagLib::MP4::Tag::itemListMap()'                                                         
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:328: undefined reference to `TagLib::MP4::Item::operator=(TagLib::MP4::Item const&)'                                 
/home/ds/Download/SVN/amarok/src/meta/MetaUtility.cpp:328: undefined reference to `TagLib::MP4::Item::~Item()'                                                             
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `pair':                                                                                                           
/usr/include/c++/4.3/bits/stl_pair.h:73: undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'                                                         
/usr/include/c++/4.3/bits/stl_pair.h:73: undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'                                                         
/usr/include/c++/4.3/bits/stl_pair.h:73: undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'                                                         
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `std::map<TagLib::String, TagLib::MP4::Item, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::operator[](TagLib::String const&)':                                                                                                             
/usr/include/c++/4.3/bits/stl_map.h:419: undefined reference to `TagLib::MP4::Item::Item()'                                                                                 
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `pair':                                                                                                           
/usr/include/c++/4.3/bits/stl_pair.h:89: undefined reference to `TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'                                                         
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `~pair':                                                                                                           
/usr/include/c++/4.3/bits/stl_pair.h:73: undefined reference to `TagLib::MP4::Item::~Item()'                                                                               
CMakeFiles/amaroklib.dir/meta/MetaUtility.o: In function `std::map<TagLib::String, TagLib::MP4::Item, std::less<TagLib::String>, std::allocator<std::pair<TagLib::String const, TagLib::MP4::Item> > >::operator[](TagLib::String const&)':
/usr/include/c++/4.3/bits/stl_map.h:419: undefined reference to `TagLib::MP4::Item::~Item()'
CMakeFiles/amaroklib.dir/__/shared/MetaReplayGain.o: In function `Meta::readReplayGainTags(TagLib::FileRef)':
/home/ds/Download/SVN/amarok/shared/MetaReplayGain.cpp:331: undefined reference to `typeinfo for TagLib::ASF::File'
CMakeFiles/amaroklib.dir/__/shared/MetaReplayGain.o: In function `readASFTags':
/home/ds/Download/SVN/amarok/shared/MetaReplayGain.cpp:232: undefined reference to `TagLib::ASF::Tag::attributeListMap()'
/home/ds/Download/SVN/amarok/shared/MetaReplayGain.cpp:237: undefined reference to `TagLib::ASF::Attribute::toString() const'
/home/ds/Download/SVN/amarok/shared/MetaReplayGain.cpp:239: undefined reference to `TagLib::ASF::Attribute::toString() const'
/home/ds/Download/SVN/amarok/shared/MetaReplayGain.cpp:244: undefined reference to `TagLib::ASF::Attribute::toString() const'
/home/ds/Download/SVN/amarok/shared/MetaReplayGain.cpp:246: undefined reference to `TagLib::ASF::Attribute::toString() const'
CMakeFiles/amaroklib.dir/meta/file/File.o: In function `MetaFile::Track::Private::readMetaData()':
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:283: undefined reference to `typeinfo for TagLib::MP4::File'
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:288: undefined reference to `TagLib::MP4::Tag::itemListMap()'
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:291: undefined reference to `TagLib::MP4::Tag::itemListMap()'
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:292: undefined reference to `TagLib::MP4::Tag::itemListMap()'
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:292: undefined reference to `TagLib::MP4::Item::toIntPair() const'
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:289: undefined reference to `TagLib::MP4::Tag::itemListMap()'
/home/ds/Download/SVN/amarok/src/meta/file/File_p.h:289: undefined reference to `TagLib::MP4::Item::toStringList() const'
collect2: ld returned 1 exit status
make[2]: *** [lib/libamaroklib.so.1.0.0] Fehler 1
make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Fehler 2
make: *** [all] Fehler 2

taglib(-devel) version 1.6 installed
taglib-extras-(devel) version 1.0 installed
see cmake output:
-----snip-----
Code: Select all
-- Taglib found: -L/usr/lib64 -ltag                                                                                                                                         
-- checking for module 'taglib-extras>=1.0'                                                                                                                                 
--   found taglib-extras, version 1.0.0                                                                                                                                     
-- Found Taglib-Extras: /usr/include/taglib-extras                                                                                                                         
-- Performing Test COMPLEX_TAGLIB_FILENAME                                                                                                                                 
-- Performing Test COMPLEX_TAGLIB_FILENAME - Failed

Build dir is fresh, too.
Am I to fast with the new taglib(-extras) versions?
They are prerequisites in the ChangeLog.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Solved:
in taglib-1.6 mp4 and asf isn't enabled by default.
So I needed
Code: Select all
./configure --enable-asf --enable-mp4 ...
.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
karoshi
Registered Member
Posts
43
Karma
0
OS
Dieter Schroeder wrote:Solved:
in taglib-1.6 mp4 and asf isn't enabled by default.
So I needed
Code: Select all
./configure --enable-asf --enable-mp4 ...
.

m0nk


YO!
User avatar
LordSenil
Registered Member
Posts
1
Karma
0
OMG!
Me have the same problem but...:
When I do..
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=debugfull ..

-- Taglib found: -L/usr/lib64 -ltag
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.50
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Checking if the QtScript Qt Bindings are installed.
-- includes /usr/lib/qt4/include/QtCore;/usr/lib/qt4/include/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/lib/qt4/include/QtXmlPatterns;/usr/lib/qt4/include/QtWebKit;/usr/lib/qt4/include/QtHelp;/usr/lib/qt4/include/QtAssistant;/usr/lib/qt4/include/QtDBus;/usr/lib/qt4/include/QtTest;/usr/lib/qt4/include/QtUiTools;/usr/lib/qt4/include/QtScript;/usr/lib/qt4/include/QtSvg;/usr/lib/qt4/include/QtXml;/usr/lib/qt4/include/QtSql;/usr/lib/qt4/include/QtOpenGL;/usr/lib/qt4/include/QtNetwork;/usr/lib/qt4/include/QtDesigner;/usr/lib/qt4/include/QtDesigner;/usr/lib/qt4/include/QtAssistant;/usr/lib/qt4/include/Qt3Support;/usr/lib/qt4/include/QtGui;/usr/lib/qt4/include/QtCore;/usr/lib/qt4/include/Qt;/usr/lib/qt4/mkspecs/default;/usr/lib/qt4/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib64/libQtScript.so;/usr/lib64/libQtCore.so;-lpthread;/usr/lib64/libQtGui.so;-L/usr/lib64;-lkdecore;-lkdeui
-- QtBindings found
-- Found MySQL: /usr/include/mysql, /usr/lib64/libmysqlclient.so
-- Found MySQL Embedded: /usr/include/mysql, /usr/lib64/mysql/libmysqld.a
-- Strigi API needs 'signed char'
-- Found liblastfm: /usr/include/lastfm, /usr/lib64/liblastfm.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found MTP: /usr/lib64/libmtp.so
-- Libgcrypt found: /usr/lib64/libgcrypt.so
-- Found GObject libraries: /usr/lib64/libgobject-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so;/usr/lib64/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found MTP: /usr/lib64/libmtp.so

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* kdelibs - The toolkit Amarok uses to build
* qtscript-qt - QtScript Qt Bindings
* mysqld - Embedded MySQL
* zlib - zlib
* strigi - Index metadata of files
* liblastfm - Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists
* libgpod - Support Apple iPod audio devices
* Gdk - Support for artwork on iPod audio devices via GdkPixbuf
* libmtp - Enable Support for portable media devices that use the media transfer protocol
* curl - cURL provides the necessary network libraries required by mp3tunes.
* libxml2 - LibXML2 is an XML parser required by mp3tunes.
* openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.
* gobject - Required by mp3tunes.
* loudmouth - Loudmouth is the communication backend needed by mp3tunes for syncing.
* Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
* glib2 - Required by libgpod and mp3tunes

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /home/senil/Documentos/compilaciones/amarok/amarok/build

All OK...

And I do...
make


[ 5%] Built target amaroklib_automoc
[ 5%] Built target amarokpud
[ 5%] Built target amarokocsclient_automoc
[ 5%] Built target amarokocsclient
Linking CXX shared library ../lib/libamaroklib.so
/usr/bin/ld: Dwarf Error: Offset (12436) greater than or equal to .debug_str size (460).
CMakeFiles/amaroklib.dir/__/shared/taglib_filetype_resolvers/asffiletyperesolver.o: In function `ASFFileTypeResolver::createFile(char const*, bool, TagLib::AudioProperties::ReadStyle) const':
/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/asffiletyperesolver.cpp:32: undefined reference to `CheckExtensionImpl(char const*, char const*)'
/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/asffiletyperesolver.cpp:32: undefined reference to `CheckExtensionImpl(char const*, char const*)'
/usr/bin/ld: Dwarf Error: Offset (12436) greater than or equal to .debug_str size (243).
CMakeFiles/amaroklib.dir/__/shared/taglib_filetype_resolvers/mp4filetyperesolver.o: In function `MP4FileTypeResolver::createFile(char const*, bool, TagLib::AudioProperties::ReadStyle) const':
/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/mp4filetyperesolver.cpp:31: undefined reference to `CheckExtensionImpl(char const*, char const*)'
/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/mp4filetyperesolver.cpp:31: undefined reference to `CheckExtensionImpl(char const*, char const*)'
/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/mp4filetyperesolver.cpp:31: undefined reference to `CheckExtensionImpl(char const*, char const*)'
CMakeFiles/amaroklib.dir/__/shared/taglib_filetype_resolvers/mp4filetyperesolver.o:/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/mp4filetyperesolver.cpp:31: more undefined references to `CheckExtensionImpl(char const*, char const*)' follow
/usr/bin/ld: Dwarf Error: Offset (13805) greater than or equal to .debug_str size (298).
CMakeFiles/amaroklib.dir/__/shared/taglib_filetype_resolvers/mimefiletyperesolver.o: In function `MimeFileTypeResolver::createFile(char const*, bool, TagLib::AudioProperties::ReadStyle) const':
/home/senil/Documentos/compilaciones/amarok/amarok/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp:76: undefined reference to `TagLibExtras::RealMedia::File::File(char const*, bool, TagLib::AudioProperties::ReadStyle)'
collect2: ld devolvió el estado de salida 1
make[2]: *** [lib/libamaroklib.so.1.0.0] Error 1
make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2
make: *** [all] Error 2

I'm download
taglib 1.6
taglib-extras 1.0.0
Compiling taglib 1.6:
./configure --enable-asf --enable-mp4

All ok

but nothig

:/

Please, can you helpme?
User avatar
thenktor
Registered Member
Posts
86
Karma
0
OS
Dieter Schroeder wrote:Solved:
in taglib-1.6 mp4 and asf isn't enabled by default.
So I needed
Code: Select all
./configure --enable-asf --enable-mp4 ...
.

m0nk


Wie aktivier ich das bei cmake?


Image
Image
Image
User avatar
karoshi
Registered Member
Posts
43
Karma
0
OS
thenktor wrote:
Dieter Schroeder wrote:Solved:
in taglib-1.6 mp4 and asf isn't enabled by default.
So I needed
Code: Select all
./configure --enable-asf --enable-mp4 ...
.

m0nk


Wie aktivier ich das bei cmake?



-DWITH_MP4=ON -DWITH_ASF=ON

P.S: Please use english language.
User avatar
thenktor
Registered Member
Posts
86
Karma
0
OS
Thanks. For some reason I've thought this is the german forum section. Sorry about that.


Image
Image
Image
urkud
Registered Member
Posts
2
Karma
0
OS
It seems that the original problem ("undefined reference to `CheckExtensionImpl") is that CheckExtensionImpl symbol is not exported in taglib-extras.
Upgrading to taglib-extra-1.0.1 fixed a problem for me.
User avatar
Bananikus
Registered Member
Posts
8
Karma
0
OS
How to compile taglib with asf support in kdesvn-build? I use KDE trunk compiled with it everyday and need Amarok trunk. :)


Bananikus, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Open Konsole and change into the build/kdesupport/taglib directory. Then run "cmake . -DWITH_ASF=TRUE then you can run kdesvn-build as normal and ASF support will be included.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Bananikus wrote:How to compile taglib with asf support in kdesvn-build? I use KDE trunk compiled with it everyday and need Amarok trunk. :)

You could also have read the previous posts where you could have found the answer...


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
Bananikus
Registered Member
Posts
8
Karma
0
OS
Code: Select all
[kde-devel@ban-desktop taglib]$ cmake . -DWITH_ASF=TRUE
CMake Error: The source directory "/home/kde-devel/kdesvn/build/kdesupport/taglib" does not appear to contain CMakeLists.txt.


When I use this command in ../kdesvn/kdesupport/taglib/, taglib compile against without asf support...


Bananikus, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]