The first error can be easily fixed with the attached patch, but there is another error, I didn't find a solution for yet:
/bin/bash ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../core -I../../../../kspread -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kross -I../../../../lib/kross -I/usr/include/kde -I/usr/share/qt3/include -I. -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 -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 -MT krs_cell.lo -MD -MP -MF .deps/krs_cell.Tpo -c -o krs_cell.lo krs_cell.cpp g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../core -I../../../../kspread -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kross -I../../../../lib/kross -I/usr/include/kde -I/usr/share/qt3/include -I. -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 -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 -MT krs_cell.lo -MD -MP -MF .deps/krs_cell.Tpo -c krs_cell.cpp -fPIC -DPIC -o .libs/krs_cell.o ../../../../lib/kross/api/proxy.h: In static member function 'static KSharedPtr<Kross::Api::Object> Kross::Api::ProxyFunction<INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, Kross::Api::Object, Kross::Api::Object, Kross::Api::Object>::ProxyFunctionCaller<PROXYFUNC, void>::exec(PROXYFUNC*, Kross::Api::Object*) [with PROXYFUNC = Kross::Api::ProxyFunction<Kross::KSpreadCore::Cell, bool (Kross::KSpreadCore::Cell::*)(const QString&, bool), void, Kross::Api::Variant, Kross::Api::Object, Kross::Api::Object, Kross::Api::Object>, INSTANCE = Kross::KSpreadCore::Cell, METHOD = bool (Kross::KSpreadCore::Cell::*)(const QString&, bool), RETURNOBJ = void, ARG1OBJ = Kross::Api::Variant]': ../../../../lib/kross/api/proxy.h:298: instantiated from 'KSharedPtr<Kross::Api::Object> Kross::Api::ProxyFunction<INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, Kross::Api::Object, Kross::Api::Object, Kross::Api::Object>::call(KSharedPtr<Kross::Api::List>) [with INSTANCE = Kross::KSpreadCore::Cell, METHOD = bool (Kross::KSpreadCore::Cell::*)(const QString&, bool), RETURNOBJ = void, ARG1OBJ = Kross::Api::Variant]' krs_cell.cpp:215: instantiated from here ../../../../lib/kross/api/proxy.h:287: error: too few arguments to function make[6]: *** [krs_cell.lo] Error 1 make[6]: Leaving directory `/home/trigger/devel/debian/kde/pkg-kde/trunk/packages/koffice/kspread/plugins/scripting/kspreadcore' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/trigger/devel/debian/kde/pkg-kde/trunk/packages/koffice/kspread/plugins/scripting/kspreadcore' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/trigger/devel/debian/kde/pkg-kde/trunk/packages/koffice/kspread/plugins/scripting' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/trigger/devel/debian/kde/pkg-kde/trunk/packages/koffice/kspread/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/trigger/devel/debian/kde/pkg-kde/trunk/packages/koffice/kspread' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/trigger/devel/debian/kde/pkg-kde/trunk/packages/koffice' make: *** [all] Error 2 *** Exited with status: 2 *** Greetings, Armin
--- koffice/lib/kwmf/kwmf.cc.orig 2007-09-27 01:00:50.000000000 +0200 +++ koffice/lib/kwmf/kwmf.cc 2007-09-27 01:01:23.000000000 +0200 @@ -430,7 +430,7 @@ S32 reserved; S16 checksum; }; - #define APMHEADER_KEY 0x9AC6CDD7L + #define APMHEADER_KEY 0x9AC6CDD7 WmfPlaceableHeader pheader; WmfEnhMetaHeader eheader;