Image 01
profile-image

kosmas

Kosmas Mackrogamvrakis
TextShadowEdit

Various KDE 1.-4. Improvements by SegFault 36 comments

Do you know why on Mandriva 2006 with kde 3.4.3 compiled from sources textshadowedit does not link?
Here is the error:
/bin/sh ../libtool --silent --mode=link --tag=CXX 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 -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o kcm_textshadowedit.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/usr/lib textshadowedit.lo shadowpreviewwidget.lo shadowconfig.lo -lkdeinit_kdesktop -lkdeui
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::cleanup()':
shadowpreviewwidget.cpp:(.text+0x27): undefined reference to `KShadowEngine::~KShadowEngine()'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::init(QString)':
shadowpreviewwidget.cpp:(.text+0xa1b): undefined reference to `KShadowSettings::KShadowSettings()'
shadowpreviewwidget.cpp:(.text+0xae2): undefined reference to `KShadowEngine::KShadowEngine(KShadowSettings*)'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::selectionType() const':
shadowpreviewwidget.cpp:(.text+0xb73): undefined reference to `KShadowSettings::selectionType() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::algorithm() const':
shadowpreviewwidget.cpp:(.text+0xdf5): undefined reference to `KShadowSettings::algorithm() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::factor() const':
shadowpreviewwidget.cpp:(.text+0xe56): undefined reference to `KShadowSettings::multiplicationFactor() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::offsetX() const':
shadowpreviewwidget.cpp:(.text+0x10f5): undefined reference to `KShadowSettings::offsetX() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::offsetY() const':
shadowpreviewwidget.cpp:(.text+0x1265): undefined reference to `KShadowSettings::offsetY() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::thickness() const':
shadowpreviewwidget.cpp:(.text+0x13d5): undefined reference to `KShadowSettings::thickness() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::transparency() const':
shadowpreviewwidget.cpp:(.text+0x1565): undefined reference to `KShadowSettings::maxOpacity() const'
.libs/shadowpreviewwidget.o: In function `ShadowPreviewWidget::updatePreview()':
shadowpreviewwidget.cpp:(.text+0x1734): undefined reference to `KShadowEngine::makeShadow(QPixmap const&, QColor const&)'
shadowpreviewwidget.cpp:(.text+0x1877): undefined reference to `KShadowSettings::offsetY() const'
shadowpreviewwidget.cpp:(.text+0x1895): undefined reference to `KShadowSettings::offsetX() const'
collect2: ld returned 1 exit status
make[2]: *** [kcm_textshadowedit.la] Error 1
make[2]: Leaving directory `/tmp/a/textshadowedit-0.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/a/textshadowedit-0.1.1'
make: *** [all] Error 2

Any suggetsion would be appreciated.
Thanks in advance,
Kosmas. - Nov 10 2005