[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: koffice-1.5.0 (release) compile error
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2006-04-13 13:35:17
Message-ID: 200604131535.17946.mail () dipe ! org
[Download RAW message or body]

Hi Andreas,

On Wednesday 12 April 2006 19:48, Andreas Haumer wrote:
> Hi!
>
> I just tried to compile koffice-1.5.0 from the release tar archive
> (koffice-1.5.0.tar.bz2, md5sum = 220b6bde28b5ebd5c6621bc87ca2c05f)
> and got the following error:
[...]
> .libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE12_S
>_constructIPKtEEPtT_S7_RKS1_St20forward_iterator_tag+0x51): In function
> `unsigned short* std::basic_string<unsigned short,
> std::char_traits<unsigned short>, std::allocator<unsigned short>
> >::_S_construct<unsigned short const*>(unsigned short const*, unsigned
> short const*, std::allocator<unsigned short> const&,
> std::forward_iterator_tag)': pythonextension.cpp: undefined reference to
> `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short
> const*, unsigned)'

Uhm... could you please try to apply the attached patch?
cd lib/kross && patch -p0 < /path/to/kross20060413.patch

-- 
Sebastian Sauer aka dipesh[sebsauer]
http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC F408 E193 65E2 9134 2221
Coder in http://www.koffice.org && http://www.kmldonkey.org

["kross20060413.patch" (text/x-diff)]

Index: python/pythonextension.cpp
===================================================================
--- python/pythonextension.cpp	(Revision 528429)
+++ python/pythonextension.cpp	(Arbeitskopie)
@@ -24,6 +24,11 @@
 #include "../api/dict.h"
 #include "../api/exception.h"
 
+#ifdef Py_USING_UNICODE
+#include <string>
+#include <algorithm>
+#endif
+
 using namespace Kross::Python;
 
 PythonExtension::PythonExtension(Kross::Api::Object::Ptr object)


____________________________________
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