Page 1 of 1

裝 kde 一直卡在 kdenetwork 裝不起來..

Posted: Mon Aug 07, 2006 10:33 am
by aru
先前使用 kde 3.4 版.. 最近升級 emerge --sync ; emerge -u world.. 就無法順利完成..

於是移除所有 kde,x11,gnome.. 等套件.. 重新 emerge kde 一次.. 還是卡在 kdenetwork .. 不曉得哪裡出了問題?

Code: Select all

/bin/sh ../../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer -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    -o kcm_kopete_avdeviceconfig.la -rpath /usr/kde/3.5/lib/kde3 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    avdeviceconfig.lo avdeviceconfig_videoconfig.lo avdeviceconfig.moc.lo  ../../../libkopete/libkopete.la ../../../libkopete/avdevice/libkopete_videodevice.la  -lkutils
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
.libs/avdeviceconfig.o: In function `AVDeviceConfig::~AVDeviceConfig()':
avdeviceconfig.cpp:(.text+0x2d): undefined reference to `QGLWidget::~QGLWidget()'
.libs/avdeviceconfig.o: In function `AVDeviceConfig::~AVDeviceConfig()':
avdeviceconfig.cpp:(.text+0xa3): undefined reference to `QGLWidget::~QGLWidget()'
.libs/avdeviceconfig.o: In function `AVDeviceConfig::~AVDeviceConfig()':
avdeviceconfig.cpp:(.text+0x119): undefined reference to `QGLWidget::~QGLWidget()'
.libs/avdeviceconfig.o: In function `AVDeviceConfig::AVDeviceConfig(QWidget*, char const*, QStringList const&)':
avdeviceconfig.cpp:(.text+0x495): undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)'
.libs/avdeviceconfig.o: In function `AVDeviceConfig::AVDeviceConfig(QWidget*, char const*, QStringList const&)':
avdeviceconfig.cpp:(.text+0x947): undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)'
collect2: ld returned 1 exit status
make[5]: *** [kcm_kopete_avdeviceconfig.la] Error 1
make[5]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.2/work/kdenetwork-3.5.2/kopete/kopete/config/avdevice'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.2/work/kdenetwork-3.5.2/kopete/kopete/config'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.2/work/kdenetwork-3.5.2/kopete/kopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.2/work/kdenetwork-3.5.2/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.5.2/work/kdenetwork-3.5.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdenetwork-3.5.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kdenetwork-3.5.2.ebuild, line 67:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 323:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 319:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.

Posted: Mon Aug 07, 2006 12:02 pm
by scsi
你的CFLAGS是?

Posted: Mon Aug 07, 2006 7:44 pm
by aru
make.conf 內容

Code: Select all

USE="nls cjk unicode threads dba cgi cli session gd mysql"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"