You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, June 28th 2005, 1:03pm

[kopete] make -- "visibility arg must be set to ..."

Like others, I got the old (doesn't work with MSN) version of Kopete with my SuSE 9.2 distro. Took out the package and tried to install Kopete 0.10.1. Configured fine, but I get to apparently where it's trying to compile the MSN protocol (doh! the one I really need!) and get to here:

-snip-
-c -o dummy.lo `test -f 'dummy.cpp' || echo './'`dummy.cpp; \
then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; \
else rm -f ".deps/dummy.Tpo"; exit 1; \
fi
dummy.cpp:2: error: visibility arg must be one of "default", "hidden",
"protected" or "internal"
dummy.cpp:3: error: visibility arg must be one of "default", "hidden",
"protected" or "internal"
make[5]: *** [dummy.lo] Error 1
make[5]: Leaving directory `/home/justin/Documents/Downloads/kopete-0.10.2/kopete-0.10.2/kopete/protocols/msn'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/justin/Documents/Downloads/kopete-0.10.2/kopete-0.10.2/kopete/protocols/msn'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/justin/Documents/Downloads/kopete-0.10.2/kopete-0.10.2/kopete/protocols'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/justin/Documents/Downloads/kopete-0.10.2/kopete-0.10.2/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/justin/Documents/Downloads/kopete-0.10.2/kopete-0.10.2'
make: *** [all] Error 2
-snip-

I read another topic regarding compilation of another app that this was because of something broken in the kdelibs prior to 3.3.2 and the way to get around it is to upgrade KDE. Well, I don't really want to do that just to get Kopete working, and I'd rather use 0.10.1 instead of 0.9.3.

Does anyone have any ideas on how to get around this?

TIA

shock_ez

2

Friday, August 19th 2005, 3:45pm

RE: [kopete] make -- "visibility arg must be set to ..."

Just do the same thing and have the same problem.

Problem cause:

KDE_EXPORT is broken before KDE3.3.2

Solution:

1. Upgrade KDE to at least 3.3.2 (permanent fix)

or.

2. Add

#undef KDE_EXPORT
#define KDE_EXPORT

to the problem program, in your case, dummy.cpp, as get around.

There might be more than one occurrence and you may have to do it more than once.

HTH and Good Luck