|
When trying to compile any of the amarok versions, I'm getting an xmmswrapper error during compilation, and then it dies out.
I'm a gentoo user, and I have the latest version of xmms installed. If I add -xmms to my use variables (basically compile amarok without xmms support) it compiles just fine. What am I doing wrong. Should I be building it with xmms? |
Alumni
|
|
|
Sorry, it's taken me awhile to respond. Here is the output.
[code:1]Making all in xmmswrapper make[5]: Entering directory `/var/tmp/portage/amarok-1.0.2/work/amarok-1.0.2/amarok/src/vis/xmmswrapper' g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -pipe -O3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o xmmswrapper.o `test -f 'xmmswrapper.cpp' || echo './'`xmmswrapper.cpp In file included from /usr/local/include/xmms/object.h:24, from /usr/local/include/xmms/plugin.h:28, from xmmswrapper.h:26, from xmmswrapper.cpp:18: /usr/local/include/xmms/error.h: In function `void xmms_error_set(xmms_error_t*, xmms_error_code_t, gchar*)': /usr/local/include/xmms/error.h:39: error: `g_strlcpy' undeclared (first use this function) /usr/local/include/xmms/error.h:39: error: (Each undeclared identifier is reported only once for each function it appears in.) In file included from xmmswrapper.cpp:18: xmmswrapper.h: At global scope: xmmswrapper.h:31: error: syntax error before `*' token xmmswrapper.h:42: error: syntax error before `*' token xmmswrapper.h: In member function `bool XmmsWrapper::renderPCM() const': xmmswrapper.h:37: error: `vis' undeclared (first use this function) xmmswrapper.h: At global scope: xmmswrapper.h:43: error: ISO C++ forbids defining types within return type xmmswrapper.h:43: error: syntax error before `*' token xmmswrapper.h:45: error: parse error before `}' token xmmswrapper.cpp:41: error: `VisPlugin' was not declared in this scope xmmswrapper.cpp:41: error: parse error before `)' token xmmswrapper.cpp: In function `int main(int, char**)': xmmswrapper.cpp:104: error: `configure' undeclared (first use this function) xmmswrapper.cpp: In constructor `XmmsWrapper::XmmsWrapper(const std::string&«»)': xmmswrapper.cpp:234: error: `VisPlugin' undeclared (first use this function) xmmswrapper.cpp:234: error: `p' undeclared (first use this function) xmmswrapper.cpp:234: error: parse error before `)' token xmmswrapper.cpp:240: error: `m_vis' undeclared (first use this function) xmmswrapper.cpp: At global scope: xmmswrapper.cpp:260: error: no `void XmmsWrapper::configure()' member function declared in class `XmmsWrapper' make[5]: *** [xmmswrapper.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/amarok-1.0.2/work/amarok-1.0.2/amarok/src/vis/xmmswrapper' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/amarok-1.0.2/work/amarok-1.0.2/amarok/src/vis' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/amarok-1.0.2/work/amarok-1.0.2/amarok/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/amarok-1.0.2/work/amarok-1.0.2/amarok' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/amarok-1.0.2/work/amarok-1.0.2' make: *** [all] Error 2 !!! ERROR: media-sound/amarok-1.0.2 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make [/code:1] |
Alumni
|
You are apparently missing some fundamental header. The error is inside an xmms header file. Probably some gtk header is missing?
I can't really offer any more assistance here sorry. |
|
I had exactly the same problem and it\'s really easy to fix: There are some header of xmms in /usr/local/include, so they are included in xmmswrapper.c and cause this error. If you don\'t have xmms on your system, just delete /usr/local/include/xmms and all should be fine.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]