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

List:       koffice
Subject:    Error by compiling KOffice 1.5
From:       Matthias Meinolf <matmei_78 () yahoo ! de>
Date:       2006-05-09 10:29:29
Message-ID: 20060509102929.63799.qmail () web26105 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi folks!

At first: sorry for my poor english. I have a problem to compile KOffice 1.5 under \
Slackware 10.2 with KDE 3.5.2, Python 2.4.1 and Kernel 2.6.16.9.

When i try to compile it, I become this error message:

---

DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION \
-DHAVE_KNEWSTUFF -fexceptions -MT pythoninterpreter.lo -MD -MP -MF \
".deps/pythoninterpreter.Tpo" -c -o pythoninterpreter.lo pythoninterpreter.cpp; \ \
then mv -f ".deps/pythoninterpreter.Tpo" ".deps/pythoninterpreter.Plo"; else rm -f \
                ".deps/pythoninterpreter.Tpo"; exit 1; fi
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef \
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts \
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security \
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new \
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT \
-DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions   -o krosspython.la -rpath \
/opt/kde/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined \
-Wl,--allow-shlib-undefined -R /opt/kde/lib -R /opt/kde/lib -R /usr/lib/qt/lib -R \
/usr/X11R6/lib  -L/opt/kde/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib    -lpython2.4 -ldl \
-ldl  -L/usr/lib -module -version-info 1:0:0 pythonextension.lo pythonmodule.lo \
pythonobject.lo pythonscript.lo pythonsecurity.lo pythoninterpreter.lo -lqt-mt  -lz \
-lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore CXX/libkrosspythoncxx.la \
                ../api/libkrossapi.la
 ../main/libkrossmain.la
.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE12_S_constructIPKtEEPtT_S7_RKS1_St20forward_iterator_tag+0x50): \
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)':
> undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, \
> unsigned short const*, unsigned)'
.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0xf5): \
In function `std::basic_string<unsigned short, std::char_traits<unsigned short>, \
std::allocator<unsigned short> >::_M_mutate(unsigned, unsigned, unsigned)': : \
undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, \
                unsigned short const*, unsigned)'
.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x10d): \
In function `std::basic_string<unsigned short, std::char_traits<unsigned short>, \
std::allocator<unsigned short> >::_M_mutate(unsigned, unsigned, unsigned)': : \
undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, \
                unsigned short const*, unsigned)'
.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x168): \
In function `std::basic_string<unsigned short, std::char_traits<unsigned short>, \
std::allocator<unsigned short> >::_M_mutate(unsigned, unsigned, unsigned)': : \
undefined reference to `std::char_traits<unsigned short>::move(unsigned short*, \
                unsigned short const*, unsigned)'
collect2: ld returned 1 exit status
make[5]: *** [krosspython.la] Fehler 1
make[5]: Leaving directory `/home/dirk/koffice-1.5.0/lib/kross/python'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/home/dirk/koffice-1.5.0/lib/kross/python'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/dirk/koffice-1.5.0/lib/kross'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/dirk/koffice-1.5.0/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/dirk/koffice-1.5.0'
make: *** [all] Fehler 2

---

I dont know if its a bug in KOffice or something is wrong with my system. I hope you \
can help me. Thank you very much.

cu ...
Matthias
		
---------------------------------
Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!


[Attachment #5 (text/html)]

Hi folks!<br><br>At first: sorry for my poor english. I have a problem to compile \
KOffice 1.5 under Slackware 10.2 with KDE 3.5.2, Python 2.4.1 and Kernel \
2.6.16.9.<br><br>When i try to compile it, I become this error \
message:<br><br>---<br><pre>DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL \
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -MT \
pythoninterpreter.lo -MD -MP -MF ".deps/pythoninterpreter.Tpo" -c -o \
pythoninterpreter.lo pythoninterpreter.cpp; \<br>then mv -f \
".deps/pythoninterpreter.Tpo" ".deps/pythoninterpreter.Plo"; else rm -f \
".deps/pythoninterpreter.Tpo"; exit 1; fi<br>/bin/sh ../../../libtool --silent \
--tag=CXX --mode=link g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 \
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith \
-DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute \
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE \
                -DQT_NO_ASCII_CAST
 -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions   -o \
krosspython.la -rpath /opt/kde/lib/kde3 -avoid-version -module -no-undefined \
-Wl,--no-undefined -Wl,--allow-shlib-undefined -R /opt/kde/lib -R /opt/kde/lib -R \
/usr/lib/qt/lib -R /usr/X11R6/lib  -L/opt/kde/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib  \
-lpython2.4 -ldl  -ldl  -L/usr/lib -module -version-info 1:0:0 pythonextension.lo \
pythonmodule.lo pythonobject.lo pythonscript.lo pythonsecurity.lo \
pythoninterpreter.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread \
-lkdecore CXX/libkrosspythoncxx.la ../api/libkrossapi.la \
../main/libkrossmain.la<br>.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE12_S_constructIPKtEEPtT_S7_RKS1_St20forward_iterator_tag+0x50): \
In function `unsigned short* std::basic_string&lt;unsigned short, \
std::char_traits&lt;unsigned short&gt;, std::allocator&lt;unsigned short&gt; \
&gt;::_S_construct&lt;unsigned short const*&gt;(unsigned short  const*, unsigned \
short const*, std::allocator&lt;unsigned short&gt; const&amp;, \
std::forward_iterator_tag)':<br>: undefined reference to \
`std::char_traits&lt;unsigned short&gt;::copy(unsigned short*, unsigned short const*, \
unsigned)'<br>.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0xf5): \
In function `std::basic_string&lt;unsigned short, std::char_traits&lt;unsigned \
short&gt;, std::allocator&lt;unsigned short&gt; &gt;::_M_mutate(unsigned, unsigned, \
unsigned)':<br>: undefined reference to `std::char_traits&lt;unsigned \
short&gt;::copy(unsigned short*, unsigned short const*, \
unsigned)'<br>.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x10d): \
In function `std::basic_string&lt;unsigned short, std::char_traits&lt;unsigned \
short&gt;, std::allocator&lt;unsigned short&gt; &gt;::_M_mutate(unsigned, unsigned, \
unsigned)':<br>: undefined reference to `std::char_traits&lt;unsigned \
short&gt;::copy(unsigned  short*, unsigned short const*, \
unsigned)'<br>.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x168): \
In function `std::basic_string&lt;unsigned short, std::char_traits&lt;unsigned \
short&gt;, std::allocator&lt;unsigned short&gt; &gt;::_M_mutate(unsigned, unsigned, \
unsigned)':<br>: undefined reference to `std::char_traits&lt;unsigned \
short&gt;::move(unsigned short*, unsigned short const*, unsigned)'<br>collect2: ld \
returned 1 exit status<br>make[5]: *** [krosspython.la] Fehler 1<br>make[5]: Leaving \
directory `/home/dirk/koffice-1.5.0/lib/kross/python'<br>make[4]: *** [all-recursive] \
Fehler 1<br>make[4]: Leaving directory \
`/home/dirk/koffice-1.5.0/lib/kross/python'<br>make[3]: *** [all-recursive] Fehler \
1<br>make[3]: Leaving directory `/home/dirk/koffice-1.5.0/lib/kross'<br>make[2]: *** \
[all-recursive] Fehler 1<br>make[2]: Leaving directory \
`/home/dirk/koffice-1.5.0/lib'<br>make[1]: *** [all-recursive] Fehler 1<br>make[1]: \
Leaving  directory `/home/dirk/koffice-1.5.0'<br>make: *** [all] Fehler \
2<br></pre>---<br><br>I dont know if its a bug in KOffice or something is wrong with \
my system. I hope you can help me. Thank you very much.<br><br>cu ...<br>Matthias<p>  \
<hr size=1>Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu \
PC!<br>Jetzt <a href=http://de.messenger.yahoo.com>Yahoo! Messenger</a> installieren!



____________________________________
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