Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-21-2006, 01:45 PM
|
#1
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep: 
|
compile amarok fails with ktrm.cpp error
I'm trying to compile amarok for my slackware 10.2 installation. I've installed all the dependencies it asked for when running ./configure, so that now it'll configure with no errors. Great, I thought, just make and checkinstall to go - nearly there. So, I make'd away, and left it to compile the app. When I came back, I had the following on my screen:
Code:
...
then mv -f ".deps/ktrm.Tpo" ".deps/ktrm.Plo"; else rm -f ".deps/ktrm.Tpo"; exit 1; fi
/usr/local/include/tunepimp/tp_c.h: In member function `int
KTRMRequestHandler::startLookup(KTRMLookup*)':
/usr/local/include/tunepimp/tp_c.h:590: error: too few arguments to function `
int tp_AddFile(void*, const char*, int)'
ktrm.cpp:84: error: at this point in file
ktrm.cpp: In constructor `KTRMRequestHandler::KTRMRequestHandler()':
ktrm.cpp:140: error: `tp_SetTRMCollisionThreshold' undeclared (first use this
function)
ktrm.cpp:140: error: (Each undeclared identifier is reported only once for each
function it appears in.)
ktrm.cpp:141: error: `tp_SetAutoFileLookup' undeclared (first use this
function)
ktrm.cpp:149: error: `tp_SetUseUTF8' undeclared (first use this function)
ktrm.cpp:151: error: invalid conversion from `void (*)(void*, void*,
TPCallbackEnum, int)' to `void (*)(void*, void*, TPCallbackEnum, int,
TPFileStatus)'
ktrm.cpp: In function `void TRMNotifyCallback(void*, void*, TPCallbackEnum,
int)':
ktrm.cpp:346: error: `eTRMCollision' undeclared (first use this function)
ktrm.cpp: In member function `virtual void KTRMLookup::collision()':
ktrm.cpp:650: error: `tr_GetNumResults' undeclared (first use this function)
ktrm.cpp:663: error: `tr_GetResults' undeclared (first use this function)
ktrm.cpp:690: error: base operand of `->' has non-pointer type `artistresult_t'
ktrm.cpp:691: error: base operand of `->' has non-pointer type `albumresult_t'
ktrm.cpp:692: error: base operand of `->' has non-pointer type `albumresult_t'
make[4]: *** [ktrm.lo] Error 1
make[4]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3'
make: *** [all] Error 2
I've googled but there seems to be a lack of information on this...
Does anyone have any suggestions as to how I can fix this? All ideas welcome 
|
|
|
10-21-2006, 03:35 PM
|
#2
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Original Poster
Rep: 
|
It seems that this error is due to tunepimp v0.4 ( http://dot.kde.org/1139952529/). Installing v0.3 sorts that out.
I'm still unable to compile amarok as I now get this error:
Code:
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../amarok/src/amarokcore -I../../amarok/src/amarokcore -I../../amarok/src/analyzers -I../../amarok/src/plugin -I../../amarok/src/statusbar -I../../amarok/src/mediadevice -I../../amarok/src/device -I../../amarok/src -I/opt/kde/include/arts -I/usr/include/taglib -I../../amarok/src/sqlite -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -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 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
/bin/sh ../../libtool --silent --tag=CXX --mode=link 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/opt/kde/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib -R /opt/kde/lib -R /opt/kde/lib -R /usr/lib/qt/lib -R /usr/X11R6/lib main.o ../../amarok/src/amarokcore/libamarokcore.la libamarok.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/lib -ltag -lGL ../../amarok/src/sqlite/libsqlite.la -ltunepimp
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libtag.so, not found (try using -rpath or -rpath-link)
/usr/lib/libtag.so: undefined reference to `std::ios_base::Init::~Init [in-charge]()@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::cout@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned, unsigned) const@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::assign(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned, unsigned, std::allocator<wchar_t> const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `__dynamic_cast@CXXABI_1.3'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned, unsigned, unsigned)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(wchar_t const*, unsigned)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned, wchar_t)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(bool)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in-charge](std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `operator new[](unsigned)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `operator new(unsigned)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/usr/lib/libtag.so: undefined reference to `std::cerr@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::_List_node_base::unhook()@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_leak_hard()@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_empty_rep_storage@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in-charge](wchar_t const*, std::allocator<wchar_t> const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_terminal@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_max_size@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_leak_hard()@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in-charge](std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned, unsigned)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(long)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::__throw_out_of_range(char const*)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned, char)@GLIBCXX_3.4'
/usr/lib/libtag.so: undefined reference to `std::ios_base::Init::Init[in-charge]()@GLIBCXX_3.4'
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pwc101/downloads/amarok-1.4.3'
make: *** [all] Error 2
I've had this problem before whilst trying to compile certain programs (see thread http://www.linuxquestions.org/questi....php?t=485594).
I'm just trying a bit of a cheat at the moment, but I'm sure it won't work!
|
|
|
10-28-2006, 03:56 AM
|
#3
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Original Poster
Rep: 
|
Just in case anyone has a similar problem, I found that upgrading from slack 10.2 to 11.0 solved my problems.
|
|
|
All times are GMT -5. The time now is 07:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|