[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

openoffice.org_1.1.4-1 PPC - Compile failure



Hi list,

started rebuilding openoffice_1.1.4-1 from experimental on my sid
powerpc box. 

Just a heads up that I had to add an "#include <string.h>" in writeperfect/source/filter/OODocumentHandler.cxx to fix
the following:

------------------------------
Making: ../../unxlngppc.pro/slo/OODocumentHandler.obj
g++ -fsigned-char -fmessage-length=0 -c -I.  -I/home/devel/ooo/openoffice.org-1.1.4/solver/645/unxlngppc.pro/inc/libwpd -I.. -I../inc -I../../inc -I../../unx/inc -I../../unxlngppc.pro/inc -I. -I/home/devel/ooo/openoffice.org-1.1.4/solver/645/unxlngppc.pro/inc/stl -I/home/devel/ooo/openoffice.org-1.1.4/solver/645/unxlngppc.pro/inc/external -I/home/devel/ooo/openoffice.org-1.1.4/solver/645/unxlngppc.pro/inc -I/home/devel/ooo/openoffice.org-1.1.4/solenv/unxlngppc/inc -I/home/devel/ooo/openoffice.org-1.1.4/solenv/inc -I/home/devel/ooo/openoffice.org-1.1.4/res -I/usr/stlport -I/usr/include/stlport -I/usr/include/stlport -I/home/devel/ooo/openoffice.org-1.1.4/solenv/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I.  -O2 -fno-strict-aliasing  -O1 -fsigned-char -pipe -fno-for-scope -fpermissive -fno-rtti -fexceptions -fno-enforce-eh-specs -O1  -fPIC -DLINUX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DGXX_INCLUDE_PATH=/usr/include/c++/3.3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DPOWERPC -DPPC -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSRX645   -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../unxlngppc.pro/slo/OODocumentHandler.o /home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx
/home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx: In member function `virtual void OODocumentHandler::startElement(const char*, const WPXPropertyList&)':
/home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx:64: error: `strlen' undeclared (first use this function)
/home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx:64: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx:64: error: `strcmp' undeclared (first use this function)
/home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx: In member function `virtual void OODocumentHandler::characters(const WPXString&)':
/home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter/OODocumentHandler.cxx:79: error: `strlen' undeclared (first use this function)
dmake:  Error code 1, while making '../../unxlngppc.pro/slo/OODocumentHandler.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /home/devel/ooo/openoffice.org-1.1.4/writerperfect/source/filter
make: *** [debian/stampdir/solver] Error 1
michele@kantele:/home/devel/ooo/openoffice.org-1.1.4$


--- writerperfect/source/filter/OODocumentHandler.cxx.foobar	2005-03-01 11:19:17.000000000 +0100
+++ writerperfect/source/filter/OODocumentHandler.cxx	2005-03-01 11:19:10.000000000 +0100
@@ -33,6 +33,8 @@
 #include <xmloff/attrlist.hxx>
 #endif
 
+#include <string.h>
+
 using namespace ::rtl;
 using rtl::OUString;
 
still compiling (beyond the previous failure) we'll see how it goes..


thanks for all your work on OpenOffice.org,
Michele

Attachment: signature.asc
Description: Digital signature


Reply to: