1 |
I had to emerge -e my system a little while back and discovered that |
2 |
this ebuild seemed to be self-destructing while linking tiblitconf.o . |
3 |
It did build correctly on my system as of around 2-3 years ago. |
4 |
A representative selection from the log: |
5 |
|
6 |
tiblitconf.cpp: At global scope: |
7 |
tiblitconf.cpp:1498: warning: unused parameter 'en' |
8 |
/bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=k8 -pipe -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -Wl,--as-needed -o kstyle_tiblit_config.la -rpath /usr/kde/3.5/lib64/kde3 -L/usr/lib64 -L/usr/qt/3/lib64 -L/usr/kde/3.5/lib64 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -module tiblitconf.lo -lkdeui -lkio |
9 |
.libs/tiblitconf.o: In function `global constructors keyed to tiblitconf.cpp': |
10 |
tiblitconf.cpp:(.text+0x4a): undefined reference to `QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())' |
11 |
tiblitconf.cpp:(.text+0x58): undefined reference to `QMetaObjectCleanUp::~QMetaObjectCleanUp()' |
12 |
.libs/tiblitconf.o: In function `TiblitStyleConfig::~TiblitStyleConfig()': |
13 |
tiblitconf.cpp:(.text+0x95c): undefined reference to `QString::QString(char const*)' |
14 |
tiblitconf.cpp:(.text+0x961): undefined reference to `KGlobal::locale()' |
15 |
tiblitconf.cpp:(.text+0x96c): undefined reference to `KLocale::removeCatalogue(QString const&)' |
16 |
tiblitconf.cpp:(.text+0x981): undefined reference to `QString::shared_null' |
17 |
tiblitconf.cpp:(.text+0x98b): undefined reference to `QStringData::deleteSelf()' |
18 |
tiblitconf.cpp:(.text+0x993): undefined reference to `QWidget::~QWidget()' |
19 |
|
20 |
[~4000 more lines of undefined references, all to Q[something], K[something], or i18n] |
21 |
|
22 |
collect2: ld returned 1 exit status |
23 |
make[2]: *** [kstyle_tiblit_config.la] Error 1 |
24 |
make[2]: Leaving directory `/var/tmp/portage/x11-themes/tiblit-1.2/work/tiblit-1.2/styleconf' |
25 |
make[1]: *** [all-recursive] Error 1 |
26 |
make[1]: Leaving directory `/var/tmp/portage/x11-themes/tiblit-1.2/work/tiblit-1.2' |
27 |
make: *** [all] Error 2 |
28 |
ERROR: x11-themes/tiblit-1.2 failed: |
29 |
died running emake, kde_src_compile:make |
30 |
|
31 |
Call stack: |
32 |
ebuild.sh, line 54: Called src_compile |
33 |
environment, line 4566: Called kde_src_compile |
34 |
environment, line 3285: Called kde_src_compile 'all' |
35 |
environment, line 3300: Called kde_src_compile 'make' |
36 |
environment, line 3292: Called die |
37 |
The specific snippet of code: |
38 |
emake || die "died running emake, $FUNCNAME:make" |
39 |
|
40 |
Forcing the --no-as-needed linker switch for this ebuild in an attempt at a quick- |
41 |
and-dirty fix did not appear to work, but I may have been doing it wrong. |
42 |
|
43 |
I've traced all the missing symbols to two libraries--/usr/qt/3/lib64/libqt-mt.so.3 and |
44 |
/usr/kde/3.5/lib64/libkdecore.so.4--and I assume the makefile needs to be patched, |
45 |
but I have no idea how to do it. I'm primarily a Java programmer, and am completely |
46 |
unfamiliar with both makefile syntax and KDE3's peculiar requirements. |
47 |
|
48 |
Help? |