Hi,

I just tried to compile koffice-1.5.0, but it exits with an error, some 
undefined reference to std::char_traits from pythonextension.cpp.

I have glibc-2.3.5, gcc-3.3.6 and KDE-3.5.2 installed and I did upgrade Python 
from 2.4.1 to 2.4.3, but it did not help. Where is this error coming from, 
anybody knows?

Thanks,
Norman


/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 -Os 
-march=pentium3 -msse2 -msse -mmmx -fomit-frame-pointer -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-3.5.2/lib/kde3 -avoid-version -module 
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined 
-R /opt/kde-3.5.2/lib -R /opt/kde-3.5.2/lib -R /usr/lib/qt/lib 
-R /usr/X11R6/lib  -L/opt/kde-3.5.2/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+0x5e):
 
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)'
.libs/pythonextension.o(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x97):
 
In function `std::basic_string<unsigned short, std::char_traits<unsigned 
short>, std::allocator<unsigned short> >::_M_mutate(unsigned, unsigned, 
unsigned)':
pythonextension.cpp: 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+0xb9):pythonextension.cpp:
 
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+0x145):pythonextension.cpp:
 
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 `/usr/src/lfs/blfs/koffice-1.5.0/lib/kross/python'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/usr/src/lfs/blfs/koffice-1.5.0/lib/kross/python'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/src/lfs/blfs/koffice-1.5.0/lib/kross'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/lfs/blfs/koffice-1.5.0/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/lfs/blfs/koffice-1.5.0'
make: *** [all] Fehler 2


-- 
http://www.normiboy.ch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to