Visibility problem (Fwd: kdewebdev-3.4.0 compile error....)

Andras Mantia amantia at kde.org
Sun May 15 08:14:48 BST 2005


Hi,

 Can anyone help me why this happens for some users? The code in 
question is compiled from KDE 3.3.x and is taken from KDE 3.4's 
kdelibs/knewstuff, yet for me it compiled also against KDE 3.3.x, but 
some people get this error and I have no idea how can I solve.

Andras

----------  Forwarded Message  ----------
Hello Andras!
I just downloaded the 3.4.0 Quanta and am getting some
compile errors.  Could you please help?
Im using Fedora Core 3 Linux.  The configure script
finished with succesfully and when I tried to make it,
it wouldn't go (neither under a regular user nor
root).

Below is the error:

make[4]: Entering directory
`/home/peterdowg/Software/kdewebdev-3.4.0/lib/compatibility/knewstuff'
/usr/lib/qt-3.3/bin/moc ./engine.h -o engine.moc
if /bin/sh ../../../libtool --silent --mode=compile
--tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I./.. -I/usr/include/kde -I/usr/lib/qt-3.3/include
-I/usr/X11R6/include  -DQT_THREAD_SUPPORT
-D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL
-DHAVE_KDE  -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 -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -DCOMPAT_KMDI
-DENABLE_CVSSERVICE  -MT engine.lo -MD -MP -MF
".deps/engine.Tpo" -c -o engine.lo engine.cpp; \
then mv -f ".deps/engine.Tpo" ".deps/engine.Plo"; else
rm -f ".deps/engine.Tpo"; exit 1; fi
In file included from engine.cpp:32:
knewstuff.h:159: error: visibility arg must be one of
"default", "hidden", "protected" or "internal"
In file included from engine.cpp:33:
downloaddialog.h:232: error: visibility arg must be
one of "default", "hidden", "protected" or "internal"
In file included from engine.h:27,
                 from engine.cpp:37:
entry.h:253: error: visibility arg must be one of
"default", "hidden", "protected" or "internal"
make[4]: *** [engine.lo] Error 1
make[4]: Leaving directory
`/home/peterdowg/Software/kdewebdev-3.4.0/lib/compatibility/knewstuff'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/peterdowg/Software/kdewebdev-3.4.0/lib/compatibility'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/peterdowg/Software/kdewebdev-3.4.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/peterdowg/Software/kdewebdev-3.4.0'
make: *** [all] Error 2

Thanks so much for your help.
Sincerely,
Peter

-------------------------------------------------------

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050515/cdbd8a26/attachment.sig>


More information about the kde-core-devel mailing list