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

Amarok svn build error in ktrm.cpp

Tags: None
(comma "," separated)
tobiasmerlin
Registered Member
Posts
12
Karma
0

Amarok svn build error in ktrm.cpp

Tue Jul 04, 2006 7:27 pm
make from newest svn fails with:
/home/tobias/multimedia/amarok/src/ktrm.cpp: In constructor ‘KTRMRequestHandler::KTRMRequestHandler()’:
/home/tobias/multimedia/amarok/src/ktrm.cpp:132: error: ‘tp_SetTRMCollisionThreshold’ was not declared in this scope
/home/tobias/multimedia/amarok/src/ktrm.cpp:134: error: ‘tp_SetAutoFileLookup’ was not declared in this scope
/home/tobias/multimedia/amarok/src/ktrm.cpp: In function ‘void TRMNotifyCallback(void*, void*, TPCallbackEnum, int, TPFileStatus)’:
/home/tobias/multimedia/amarok/src/ktrm.cpp:292: error: ‘eTRMCollision’ was not declared in this scope
/home/tobias/multimedia/amarok/src/ktrm.cpp: In member function ‘virtual void KTRMLookup::unrecognized()’:
/home/tobias/multimedia/amarok/src/ktrm.cpp:564: error: ‘tr_GetTRM’ was not declared in this scope
/home/tobias/multimedia/amarok/src/ktrm.cpp: In member function ‘virtual void KTRMLookup::collision()’:
/home/tobias/multimedia/amarok/src/ktrm.cpp:596: error: ‘tr_GetNumResults’ was not declared in this scope
/home/tobias/multimedia/amarok/src/ktrm.cpp:609: error: ‘tr_GetResults’ was not declared in this scope
Error creating ./amarok/src/ktrm.lo. Exit status 1.
make: *** [all] Fehler 1


attached are the full configure and make logs
User avatar
Alanceil
Registered Member
Posts
160
Karma
0
OS
I only got this error with an installed 0.4 libtunepimp - downgrading to 0.3 fixed it for me.
tobiasmerlin
Registered Member
Posts
12
Karma
0
OK, now it works just fine without musicbrainz, but when compiling with musicbrainz unsermake produces a lot of warnings when linking a few files, including xine-engine and amarok crashes on playback.
For succesful compiling of libtunepimp I nedded those two modifications:
http://lists.debian.org/debian-amd64/2005/01/msg00281.html
http://bugs.musicbrainz.org/changeset/1438(only the first change here, the rest was already applied :confused:)

Edit:Looks as if the errors aren't libtunepimp related, I get them --without-libtunepimp now, too. I even uninstalled libtunepimp now and I use the stable 1.4.1 but I can't compile it any more. (before installing libtunepimp it worked but now after uninstalling it doesn't) Pls help me  :redface: :redface:

The errors are a lot of mysql function errors like this:
../../amarok/src/sqlite/.libs/libsqlite.a(where.o):where.c:(.text+0x2f0): first defined here
../../amarok/src/sqlite/.libs/libsqlite.a(libsqlite_la-where.o): In function `sqlite3WhereBegin':
where.c:(.text+0x13e0): multiple definition of `sqlite3WhereBegin'
../../amarok/src/sqlite/.libs/libsqlite.a(where.o):where.c:(.text+0x13b0): first defined here
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: Warning: size of symbol `sqlite3WhereBegin' changed from 6967 in ../../amarok/src/sqlite/.libs/libsqlite.a(where.o) to 6951 in ../../amarok/src/sqlite/.libs/libsqlite.a(libsqlite_la-where.o)


And then this:
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libSM.so when searching for -lSM
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libSM.a when searching for -lSM
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libICE.so when searching for -lICE
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libICE.a when searching for -lICE
collect2: ld returned 1 exit status
make[4]: *** [libamarok.la] Fehler 1
make[3]: *** [all-recursive] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make: *** [all] Fehler 2

Last edited by tobiasmerlin on Wed Jul 05, 2006 6:56 pm, edited 1 time in total.


Bookmarks



Who is online

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