From koffice Mon May 15 17:13:00 2006 From: Nick Warne Date: Mon, 15 May 2006 17:13:00 +0000 To: koffice Subject: karbon14 build error + fix Message-Id: <200605151813.00642.nick () linicks ! net> X-MARC-Message: https://marc.info/?l=koffice&m=114771473506449 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