/bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../sdk -I./tiles -I./../kritacolor -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../../lib/kopainter -I../../lib/kopainter -pthread -I/usr/include/OpenEXR -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 kis_perspective_math.lo kis_perspective_math.cpp kis_perspective_math.cpp:27:22: error: iostream.h: No such file or directory /bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../sdk -I./tiles -I./../kritacolor -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../../lib/kopainter -I../../lib/kopainter -pthread -I/usr/include/OpenEXR -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 kis_scale_visitor.lo kis_scale_visitor.cc kis_perspective_math.cpp:60: warning: friend declaration 'math::vector<ElType> math::operator*(ElType, math::vector<ElType>&)' declares a non-template function kis_perspective_math.cpp:60: note: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) kis_perspective_math.cpp:61: warning: friend declaration 'math::vector<ElType> math::operator*(math::vector<ElType>&, ElType)' declares a non-template function kis_perspective_math.cpp:62: error: ISO C++ forbids declaration of 'ostream' with no type In file included from kis_scale_visitor.h:30, from kis_scale_visitor.cc:25: kis_layer.h:169: warning: type qualifiers ignored on function return type /usr/kde/3.5/bin/dcopidl ./kis_paint_device_iface.h > kis_paint_device_iface.kidl || ( rm -f kis_paint_device_iface.kidl ; false ) kis_perspective_math.cpp:62: error: 'ostream' is neither function nor member function; cannot be declared friend kis_perspective_math.cpp:62: error: expected ';' before '&' token kis_perspective_math.cpp: In member function 'void math::vector<ElType>::rprint() const': kis_perspective_math.cpp:132: error: 'cout' was not declared in this scope kis_perspective_math.cpp: At global scope: kis_perspective_math.cpp:167: error: expected constructor, destructor, or type conversion before '&' token kis_perspective_math.cpp:188: warning: friend declaration 'math::matrix<ElType> math::operator*(const ElType&, const math::matrix<ElType>&)' declares a non-template function kis_perspective_math.cpp:189: warning: friend declaration 'math::matrix<ElType> math::operator*(const math::matrix<ElType>&, const ElType&)' declares a non-template function kis_perspective_math.cpp:195: error: ISO C++ forbids declaration of 'ostream' with no type /usr/kde/3.5/bin/dcopidl ./kis_image_iface.h > kis_image_iface.kidl || ( rm -f kis_image_iface.kidl ; false ) kis_perspective_math.cpp:195: error: 'ostream' is neither function nor member function; cannot be declared friend kis_perspective_math.cpp:195: error: expected ';' before '&' token kis_perspective_math.cpp:196: warning: friend declaration 'void math::ludcmp(math::matrix<ElType>&, math::vector<int>&, double&)' declares a non-template function kis_perspective_math.cpp:197: warning: friend declaration 'void math::lubksb(math::matrix<ElType>&, math::vector<int>&, math::vector<ElType>&)' declares a non-template function kis_perspective_math.cpp:360: error: expected constructor, destructor, or type conversion before '&' token kis_perspective_math.cpp: In function 'void math::ludcmp(math::matrix<ElType>&, math::vector<int>&, double&)': kis_perspective_math.cpp:384: error: 'cerr' was not declared in this scope /bin/bash ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../sdk -I./tiles -I./../kritacolor -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../../lib/kopainter -I../../lib/kopainter -pthread -I/usr/include/OpenEXR -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 kis_adjustment_layer.lo kis_adjustment_layer.cc make[4]: *** [kis_perspective_math.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from kis_adjustment_layer.cc:22: /usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': /usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within || In file included from kis_group_layer.h:24, from kis_adjustment_layer.cc:25: kis_layer.h: At global scope: kis_layer.h:169: warning: type qualifiers ignored on function return type make[4]: Leaving directory `/var/tmp/portage/app-office/krita-1.6.3/work/krita-1.6.3/krita/core' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-office/krita-1.6.3/work/krita-1.6.3/krita/core' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-office/krita-1.6.3/work/krita-1.6.3/krita' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/krita-1.6.3/work/krita-1.6.3' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
Created attachment 147006 [details, diff] krita-gcc43.patch Fixes the problem. Snatched from Fedora: http://cvs.fedoraproject.org/viewcvs/devel/koffice/koffice-1.6.3-gcc43.patch?rev=1.1&view=log
I've fixed this, too.