Hi,

My apologies for having used blfs-dev before.

I have difficulties compiling koffice-1.5.0. It exits with an error, some 
undefined reference to std::char_traits from pythonextension.cpp. I do not 
have any problems compiling koffice-1.4.2 on the same system with the same 
configure options.

My system is a 6.1-pre1, with glibc-2.3.5, gcc-3.3.6 and KDE-3.5.2. I did 
upgrade Python from 2.4.1 to 2.4.3 because of the error, but it did not help. 
Googling the web I did find someone with the same problem, but unfortunately 
not with an answer.

Here how I did configure koffice, KDE being installed in /opt/kde-3.5.2, 
ld.so.conf containing the directory as well:
./configure --disable-debug --disable-dependency-tracking 
--prefix=/opt/kde-3.5.2

Here the answer from ./configure:
config.pl: fast created 503 file(s).
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Ruby development files were not found, or Ruby <= 1.8.1 was found,
Ruby scripting support for KOffice will not be built. If you don't
need Ruby scripting, you can ignore this message.
Good - your configure finished. Start make now

And here the error message after issuing make:
make[5]: Entering directory `/usr/src/lfs/blfs/koffice-1.5.0/lib/kross/python'
/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


Can anybody give me a hint (or preferably a solution)?
Thanks,

Norman


-- 
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