Issue 42845 - [powerpc] build failure: stderr/fprintf undeclared
Summary: [powerpc] build failure: stderr/fprintf undeclared
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m77
Hardware: PowerPC (PPC) Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: christof.pintaske
QA Contact: issues@gsl
URL: http://people.ubuntu.com/~lamont/buil...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 15:27 UTC by chris
Modified: 2005-02-15 17:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Add stdio #include (427 bytes, patch)
2005-02-15 15:28 UTC, chris
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description chris 2005-02-15 15:27:18 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'
Comment 1 chris 2005-02-15 15:28:08 UTC
Created attachment 22665 [details]
Add stdio #include
Comment 2 philipp.lohmann 2005-02-15 16:54:14 UTC
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 ?
Comment 3 chris 2005-02-15 17:06:28 UTC
Arrgh you're right, the patch in #i41225 is applied and that has the problem,
thank you and sorry for wasting your time.