[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: karbon14 build error + fix
From: Nick Warne <nick () linicks ! net>
Date: 2006-05-15 17:13:00
Message-ID: 200605151813.00642.nick () linicks ! net
[Download RAW message or body]
Hi all,
I have a strange problem building koffice 1.5.0 which I have
resolved, and google et al reveals it is only me that has it.
Koffice 1.5.0 build linker error on karbon14.
System:
Slackware 10 base, KDE3.5.2, QT3.3.6, gcc (g++) 3.4.6.
error:
core/.libs/libkarboncore.a(vtext.o)(.gnu.linkonce.d._ZTV5VText+0x94):
undefined reference to `VText::setOffset(double)'
collect2: ld returned 1 exit status
I can resolve this and build (and use) karbon14 by moving the #ifdef:
core/vtext.cc (around line 735)
void VText::setOffset( double offset )
{
if( offset < 0.0 )
m_offset = 0.0;
else if( offset > 1.0 )
m_offset = 1.0;
else
m_offset = offset;
}
#endif // HAVE_KARBONTEXT
to:
#endif // HAVE_KARBONTEXT
void VText::setOffset( double offset )
{
if( offset < 0.0 )
m_offset = 0.0;
else if( offset > 1.0 )
m_offset = 1.0;
else
m_offset = offset;
}
Ideas? Is this my system's error?
Regards,
Nick
--
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic