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

error while compiling (1.4.0a)

Tags: None
(comma "," separated)
Tr00peR
Registered Member
Posts
3
Karma
0

error while compiling (1.4.0a)

Sun Jun 11, 2006 4:46 pm
This is my problem:
Code: Select all
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o amarokapp -L/usr/lib -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib    -R /usr/lib -R /usr/lib -R /usr/lib/qt-3.3/lib -R /usr/X11R6/lib main.o ../../amarok/src/amarokcore/libamarokcore.la libamarok.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/engine/libengine.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/local/lib -ltag -lGL  ../../amarok/src/sqlite/libsqlite.la
./.libs/libamarok.so: undefined reference to `TagLib::ID3v2::AttachedPictureFrame::description() const'
./.libs/libamarok.so: undefined reference to `TagLib::FileRef::addFileTypeResolver(TagLib::FileRef::FileTypeResolver const*)'
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1

Why it happens? What should I do? :confused:
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: error while compiling (1.4.0a)

Mon Jun 12, 2006 9:18 pm
Hi,
taglib-devel or libtag-dev installed? Which version? Which distribution?
Please submit some infos.
Linker errors mostly occurs because of missing or wrong headers.

Greetings

m0nk


If men could get pregnant, abortion would be a sacrament.
Tr00peR
Registered Member
Posts
3
Karma
0

Re: error while compiling (1.4.0a)

Mon Jun 12, 2006 10:46 pm
TagLib 1.4 from http://developer.kde.org/~wheeler/taglib.html
I have Aurox 11.1 (Zeus). It's my native distribution, however, it's based on Fedora Core 4.
To make sure I reinstalled the lib and... nothing changed. :p
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: error while compiling (1.4.0a)

Tue Jun 13, 2006 9:30 pm
Okay, now here's a long list: (Please check if these headers are available on your system; not necessarily in /usr/include):
/usr/bin/taglib-config
/usr/include/taglib
/usr/include/taglib/apefooter.h
/usr/include/taglib/apeitem.h
/usr/include/taglib/apetag.h
/usr/include/taglib/attachedpictureframe.h
/usr/include/taglib/audioproperties.h
/usr/include/taglib/commentsframe.h
/usr/include/taglib/fileref.h
/usr/include/taglib/flacfile.h
/usr/include/taglib/flacproperties.h
/usr/include/taglib/id3v1genres.h
/usr/include/taglib/id3v1tag.h
/usr/include/taglib/id3v2extendedheader.h
/usr/include/taglib/id3v2footer.h
/usr/include/taglib/id3v2frame.h
/usr/include/taglib/id3v2framefactory.h
/usr/include/taglib/id3v2header.h
/usr/include/taglib/id3v2synchdata.h
/usr/include/taglib/id3v2tag.h
/usr/include/taglib/mpcfile.h
/usr/include/taglib/mpcproperties.h
/usr/include/taglib/mpegfile.h
/usr/include/taglib/mpegheader.h
/usr/include/taglib/mpegproperties.h
/usr/include/taglib/oggfile.h
/usr/include/taglib/oggflacfile.h
/usr/include/taglib/oggpage.h
/usr/include/taglib/oggpageheader.h
/usr/include/taglib/relativevolumeframe.h
/usr/include/taglib/tag.h
/usr/include/taglib/tag_c.h
/usr/include/taglib/taglib.h
/usr/include/taglib/tbytevector.h
/usr/include/taglib/tbytevectorlist.h
/usr/include/taglib/textidentificationframe.h
/usr/include/taglib/tfile.h
/usr/include/taglib/tlist.h
/usr/include/taglib/tlist.tcc
/usr/include/taglib/tmap.h
/usr/include/taglib/tmap.tcc
/usr/include/taglib/tstring.h
/usr/include/taglib/tstringlist.h
/usr/include/taglib/uniquefileidentifierframe.h
/usr/include/taglib/unknownframe.h
/usr/include/taglib/vorbisfile.h
/usr/include/taglib/vorbisproperties.h
/usr/include/taglib/xingheader.h
/usr/include/taglib/xiphcomment.h
Aren't there any packages for your distro? It's russian, I think. Or try rpms for Fedora. You can also try taglib-config --cflags and taglib-config --libs. Please post the results.

Greetings

m0nk


If men could get pregnant, abortion would be a sacrament.
Tr00peR
Registered Member
Posts
3
Karma
0

Re: error while compiling (1.4.0a)

Wed Jun 14, 2006 12:36 pm
all headers present...
sorry, but i don't see the link to rpm for FC.
maybe this is the reason? "Amarok 1.4.0a is available for FC5 i386, ppc and x86_64" :p

moreover, when i tried "yum install amarok" i got:
Code: Select all
Error: Bad repository file ///etc/yum.repos.d/aurox-devel.repo, no repo stanzas.
Setting up Install Process
Setting up repositories
base                      100% |=========================|  951 B    00:00
updates                   100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
base      : ################################################## 1955/1955
Added 1955 new packages, deleted 0 old in 142.67 seconds
primary.xml.gz            100% |=========================|  157 B    00:00
Added 0 new packages, deleted 0 old in 0.03 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for amarok to pack into transaction set.
amarok-1.3.8-1.fc4.i386.r 100% |=========================|  82 kB    00:00 //<- what?! I've got 1.3.9
---> Package amarok.i386 0:1.3.8-1.fc4 set to be updated
--> Running transaction check
--> Processing Dependency: libtunepimp.so.3 for package: amarok
--> Finished Dependency Resolution
Error: Missing Dependency: libtunepimp.so.3 is needed by package amarok

so if this library isn't present, then... how I'm running amaroK right now?

maybe I will just wait till next version... or simply forget about updates for now - new version of my distro is coming in the middle of August.

It's russian, I think

nope, Polish :wink:


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]