/bin/bash ../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kwmf -I../../../../lib/kwmf -I../../../../lib/kopalette -I../../../../lib/kopalette -I/usr/include/libwpd-0.8 -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -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 -c -o TableStyle.lo TableStyle.cxx In file included from SectionStyle.hxx:34, from SectionStyle.cxx:32: Style.hxx:52: warning: unused parameter 'xHandler' /bin/bash ../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kwmf -I../../../../lib/kwmf -I../../../../lib/kopalette -I../../../../lib/kopalette -I/usr/include/libwpd-0.8 -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -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 -c -o TextRunStyle.lo TextRunStyle.cxx In file included from TableStyle.hxx:35, from TableStyle.cxx:33: Style.hxx:52: warning: unused parameter 'xHandler' In file included from TableStyle.cxx:33: TableStyle.hxx:64: warning: type qualifiers ignored on function return type TableStyle.cxx: In member function 'virtual void TableCellStyle::write(DocumentHandler&) const': TableStyle.cxx:58: error: 'strlen' was not declared in this scope TableStyle.cxx:58: error: 'strncmp' was not declared in this scope make[5]: *** [TableStyle.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from TextRunStyle.hxx:36, from TextRunStyle.cxx:33: Style.hxx:52: warning: unused parameter 'xHandler' TextRunStyle.cxx: In member function 'virtual void ParagraphStyle::write(DocumentHandler&) const': TextRunStyle.cxx:68: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:70: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:72: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:74: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:76: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:78: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:80: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:82: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:84: error: 'strcmp' was not declared in this scope TextRunStyle.cxx:86: error: 'strcmp' was not declared in this scope make[5]: *** [TextRunStyle.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/app-office/kword-1.6.3-r2/work/kword-1.6.3/filters/kword/wordperfect/import' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-office/kword-1.6.3-r2/work/kword-1.6.3/filters/kword/wordperfect' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-office/kword-1.6.3-r2/work/kword-1.6.3/filters/kword' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-office/kword-1.6.3-r2/work/kword-1.6.3/filters' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/kword-1.6.3-r2/work/kword-1.6.3' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
Created attachment 147016 [details, diff] kword-gcc43.patch Fixes the problem. Snatched from upstream rev 729712 and rev 729650 http://websvn.kde.org/branches/koffice/1.6/koffice/filters/kword/wordperfect/import/TableStyle.cxx?r1=729650&r2=729649&pathrev=729650 http://websvn.kde.org/branches/koffice/1.6/koffice/filters/kword/wordperfect/import/TextRunStyle.cxx?r1=729712&r2=729711&pathrev=729712
5 18 May 2008; Hanno Boeck <hanno@gentoo.org> +files/kword-gcc43.patch, 6 kword-1.6.3-r2.ebuild: 7 Fix for gcc 4.3.