Apache OpenOffice (AOO) Bugzilla – Issue 42845
[powerpc] build failure: stderr/fprintf undeclared
Last modified: 2005-02-15 17:06:28 UTC
Making: ../../unxlngppc.pro/slo/syswin.obj g++ -fsigned-char -fmessage-length=0 -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngppc.pro/inc -I. -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/solver/680/unxlngppc.pro/inc/stl -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/solver/680/unxlngppc.pro/inc/external -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/solver/680/unxlngppc.pro/inc -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/solenv/unxlngppc/inc -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/solenv/inc -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/res -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/solver/680/unxlngppc.pro/inc/stl -I/build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/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 -fsigned-char -pipe -frtti -Wno-ctor-dtor-privacy -fexceptions -fno-enforce-eh-specs -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=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSRC680 -DUSE_BUILTIN_RASTERIZER -DVCL_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngppc.pro/slo/syswin.o /build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/vcl/source/window/syswin.cxx /build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/vcl/source/window/syswin.cxx: In member function `void SystemWindow::SetIcon(_STL::list<BitmapEx, _STL::allocator<BitmapEx> >)': /build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/vcl/source/window/syswin.cxx:374: error: `stderr' undeclared (first use this function) /build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/vcl/source/window/syswin.cxx:374: error: (Each undeclared identifier is reported only once for each function it appears in.) /build/buildd/openoffice.org2-1.9.76/ooo-build/build/src680-m76/vcl/source/window/syswin.cxx:374: error: `fprintf' undeclared (first use this function) dmake: Error code 1, while making '../../unxlngppc.pro/slo/syswin.obj'
Created attachment 22665 [details] Add stdio #include
and also not used; there is neither printf nor stderr in syswin.cxx. Could it be that you are compiling with some of mmeeks's patches applied ?
Arrgh you're right, the patch in #i41225 is applied and that has the problem, thank you and sorry for wasting your time.