|
version 1.3.2 is ok.
after that every version (include v.1.3.6) will get the same error when do \"make\": make[5]: Entering directory `/root/Desktop/amarok-1.3.6/amarok/src/engine/void\' if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src/engine -I../../../../amarok/src/plugin -I../../../../amarok/src -I/usr/include/kde -I/usr/lib/qt-3.3/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 void-engine.lo -MD -MP -MF \".deps/void-engine.Tpo\" -c -o void-engine.lo void-engine.cpp; \\ then mv -f \".deps/void-engine.Tpo\" \".deps/void-engine.Plo\"; else rm -f \".deps/void-engine.Tpo\"; exit 1; fi void-engine.cpp:22: error: visibility arg must be one of \"default\", \"hidden\", \"protected\" or \"internal\" make[5]: *** [void-engine.lo] Error 1 make[5]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok/src/engine/void\' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok/src/engine\' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok/src\' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok\' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/amarok-1.3.6\' make: *** [all] Error 2 what can i do? sorry for my poor English! |
|
|
KDE Developer
|
It\'s fixed in SVN trunk and stable. This means, the fix will be in amaroK 1.3.7.
You can however easily patch your source. Add this line at the top of src/plugin/plugin.h, below \"#define AMAROK_PLUGIN_H\": #include
--
Mark Kretschmann - Amarok Developer |
Registered Member
|
I did as you told me and it gave me the same error again.
I think I patched it correctly: #ifndef AMAROK_PLUGIN_H #define AMAROK_PLUGIN_H #include #define AMAROK_EXPORT_PLUGIN( classname ) \\ extern \"C\" { \\............... The error message was: make[5]: Entering directory `/root/Desktop/amarok-1.3.6/amarok/src/engine/void\' if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src/engine -I../../../../amarok/src/plugin -I../../../../amarok/src -I/usr/include/kde -I/usr/lib/qt-3.3/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 void-engine.lo -MD -MP -MF \".deps/void-engine.Tpo\" -c -o void-engine.lo void-engine.cpp; \\ then mv -f \".deps/void-engine.Tpo\" \".deps/void-engine.Plo\"; else rm -f \".deps/void-engine.Tpo\"; exit 1; fi void-engine.cpp:22: error: visibility arg must be one of \"default\", \"hidden\", \"protected\" or \"internal\" make[5]: *** [void-engine.lo] Error 1 make[5]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok/src/engine/void\' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok/src/engine\' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok/src\' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/Desktop/amarok-1.3.6/amarok\' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/amarok-1.3.6\' make: *** [all] Error 2 Is that means I have to wait for the 1.3.7? Thank you for your help and the great work!!!! |
|
I got the same error as you. I\'m using KDE3.3 Are you using <3.4? If so, instead of inserting
#include try deleting just KDE_EXPORT from: #define AMAROK_EXPORT_PLUGIN( classname ) \\ extern \"C\" { \\ KDE_EXPORT amaroK::Plugin* create_plugin() { return new classname; } \\ } |
Registered Member
|
ian wrote:
I\'m using KDE3.3,too. It works ! Thanks a lot! :woohoo: Post edited by: kua4ke4, at: 2005/11/16 12:38 |
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]