LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 975|回复: 3

skim编译错误。visibility arg must be one of "default", &

[复制链接]
发表于 2005-9-2 17:28:22 | 显示全部楼层 |阅读模式
g++ -Wl,--rpath=/usr/lib/qt-3.3/lib -Wl,--rpath=/usr/lib/kde3 -Wl,--rpath=/usr/lib -lscim-1.0 -shared -o plugins/kdetraystatus/skimplugin_systemtray.so plugins/kdetraystatus/systemtrayplugin.os plugins/kdetraystatus/kdetraystatus.os -Lutils -Lsrc -L/usr/lib -L/usr/lib/qt-3.3/lib -lskim -lscim-kdeutils
building 'skimplugin_systemtray.la' from 'skimplugin_systemtray.so'
dcopidl plugins/mainwindow/applet/skimapplet.h > plugins/mainwindow/applet/skimapplet.kidl || (rm -f plugins/mainwindow/applet/skimapplet.kidl ; false)
dcopidl2cpp --c++-suffix cpp --no-signals --no-stub plugins/mainwindow/applet/skimapplet.kidl
g++ -DNO_CONFIG_H -I/usr/include/kde -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iplugins/mainwindow/applet -c -o plugins/mainwindow/applet/skimapplet_skel.os plugins/mainwindow/applet/skimapplet_skel.cpp
/usr/lib/qt-3.3/bin/moc -o plugins/mainwindow/applet/skimapplet.moc plugins/mainwindow/applet/skimapplet.h
g++ -DNO_CONFIG_H -I/usr/include/kde -I/usr/lib/qt-3.3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iplugins/mainwindow/applet -c -o plugins/mainwindow/applet/skimapplet.os plugins/mainwindow/applet/skimapplet.cpp
plugins/mainwindow/applet/skimapplet.cpp:35: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
scons: *** [plugins/mainwindow/applet/skimapplet.os] Error 1
make: *** [all] 错误 2

[root@rh4 skim-1.4.2]# ./configure
Checking for Python               :  /usr/bin/python
Checking for SCons                :  Use Bundled scons.
Checking for kde-config           :  kde-config was found
Checking for kde version          :  3.3.1-3.2
Checking for the qt library       :  qt is in /usr/lib/qt-3.3
Checking for uic                  :  uic was found as /usr/lib/qt-3.3/bin/uic
Checking for moc                  :  moc was found as /usr/lib/qt-3.3/bin/moc
Checking for the qt includes      :  ok /usr/lib/qt-3.3/include/
Checking for the kde includes     :  the kde headers were found in /usr/include/kde/

[root@rh4 skim-1.4.2]# gcc --version
gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@rh4 skim-1.4.2]# uname -a
Linux rh4.abc.com 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux
 楼主| 发表于 2005-9-2 17:30:57 | 显示全部楼层
scim 1.4.0 已成功安装。照着源码安装的INSTALL来作的。
回复 支持 反对

使用道具 举报

发表于 2005-9-2 21:37:04 | 显示全部楼层
你的KDE版本比较旧吧,请参看:
http://sourceforge.net/tracker/i ... 454&atid=650539
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-5 09:46:40 | 显示全部楼层
谢谢了!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表