|
Hi,
I have just downloaded a brand new 1.3 and can\'t compile it. The error what I have appeared when compiling Konqueror Sidebar was compiling if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_ H -I. -I. -I../../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/i nclude -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPE N_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtua l-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_A SCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT universalamarok.lo -MD -MP -MF \".deps/universalamarok.Tpo\" -c -o universalamarok.lo universalamaro k.cpp; \\ then mv -f \".deps/universalamarok.Tpo\" \".deps/universalamarok.Plo\"; else rm -f \" .deps/universalamarok.Tpo\"; exit 1; fi universalamarok.cpp:136: warning: `visibility\' attribute ignored on non-class types universalamarok.cpp:145: error: visibility arg must be one of \"default\", \"hidden\", \"protected\" or \"internal\" make: *** [universalamarok.lo] Error 1 First I tried to configure Amarok without this feature but I can\'t find appropiate flag, so I check lines 136 and 145 in universalamarok.cpp. There are two functions checked as \"FIXME: Is this referenced from anywhere ??!\" I have commented both of them (cause I can\'t find a word visibility anywhere) and the Konqueror Sidebar is now compiling I don\'t know if it is a good solutiion but it works... for compilation. Bergo |
|
I have the same problem, see my post from yesterday..
|
Registered Member
|
what gcc are you on? SOunds like it has something to do with -fvisibility which was introduced in gcc4 and which some distros backported to 3.4.x.
|
|
I do not have gcc 4 - I have gcc 3.4.2 red hat fc3
|
|
Hi,
I was able to successfully compile amaroK 1.3 in a system with KDE 3.3.1 without touching anything in the application code, but had to change a line in kdemacros.h, which for my system is in /opt/kde/include/. I changed the line that says #define KDE_EXPORT __attribute__ ((visibility(\"visible\"))) into #define KDE_EXPORT __attribute__ ((visibility(\"default\"))) and the compilation error went away. I found the workaround in this thread: http://bugs.kde.org/show_bug.cgi?id=108458#c5 Hope this helps, JIm |
|
|
Registered Member
|
It should be solved in current svn trunk.
Please recheck. |
|
It does not appear to be fixed. I just tried svn a few minutes ago and receive the same error. Changing the value in kdemacros.h appears to work. I\'m using Mandrake 10.1 with KDE 3.3.0, which that digikam bug mentioned as an issue I believe.
[code:1]universalamarok.cpp:158: error: visibility arg must be one of \"default\", \"hidden\", \"protected\" or \"internal\" universalamarok.cpp:167: error: visibility arg must be one of \"default\", \"hidden\", \"protected\" or \"internal\" make[4]: *** [universalamarok.lo] Error 1[/code:1] |
Registered Member
|
Can someone with this problem join #amarok and ask for me please?
|
Registered Member
|
Thanks 2 Michael, this time is _really_ solved and checked.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]