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

amaroK build error

Tags: None
(comma "," separated)
kua4ke4
Karma
0

amaroK build error

Sun Nov 13, 2005 7:35 pm
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!
kua4ke4
Karma
0

Re:amaroK build error

Sun Nov 13, 2005 7:42 pm
i am in the centos 4.2
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re:amaroK build error

Mon Nov 14, 2005 8:31 am
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
kua4ke4 zhong
Registered Member
Posts
2
Karma
0

Re:amaroK build error

Mon Nov 14, 2005 4:43 pm
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!!!!
ian
Karma
0

Re:amaroK build error

Wed Nov 16, 2005 12:25 pm
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; } \\
}
kua4ke4 zhong
Registered Member
Posts
2
Karma
0

Re:amaroK build error

Wed Nov 16, 2005 5:37 pm
ian wrote:
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; } \\
}


I\'m using KDE3.3,too.

It works !

Thanks a lot! :woohoo:

Post edited by: kua4ke4, at: 2005/11/16 12:38
Sjaaksken
Karma
0

Re:amaroK build error

Fri Nov 25, 2005 7:08 am
This thread worked for me! Thanks fellas!


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]