Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21536 - KOffice compilation error, due to gcc-3.3
Summary: KOffice compilation error, due to gcc-3.3
Status: RESOLVED DUPLICATE of bug 21464
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-23 06:30 UTC by François Dupoux
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Dupoux 2003-05-23 06:30:19 UTC
% nice -n 19 emerge app-office/koffice

....

/bin/sh ../../../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../../../.. -I. -I./.. -I/usr/kde/3.1/include
-I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3
-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT  -c -o
record.lo `test -f 'record.cc' || echo './'`record.cc
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
In file included from
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/g++-v3/backward/iostream.h:31,
                 from formula.cc:3:
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/g++-v3/backward/iostream.h:31,
                 from record.cc:5:
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
formula.cc:4:23: strstream.h: No such file or directory
formula.cc: In member function `void QpFormula::floatFuncReal(const char*)':
formula.cc:477: error: `ostrstream' undeclared (first use this function)
formula.cc:477: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
formula.cc:477: error: parse error before `;' token
formula.cc:481: error: `lNum' undeclared (first use this function)
formula.cc: In member function `void QpFormula::intFuncReal(const char*)':
formula.cc:492: error: parse error before `;' token
record.cc:13:23: strstream.h: No such file or directory
record.cc: In function `int Hexout(char*, int)':
record.cc:35: error: `ostrstream' undeclared (first use this function)
record.cc:35: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
record.cc:35: error: `lOStr' undeclared (first use this function)
record.cc:35: error: parse error before `;' token
record.cc:60: error: parse error before `;' token
record.cc: In member function `void QpRecCell::cellRef(char*, QpTableNames&,
   short int, unsigned char, unsigned char, short int)':
record.cc:203: error: `strstream' undeclared (first use this function)
record.cc:203: error: parse error before `(' token
record.cc:229: error: `lOut' undeclared (first use this function)
make[6]: *** [formula.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
record.cc:200: warning: unused parameter `char*pText'
record.cc: In member function `QpRecUnknown::QpRecUnknown(short int, short int,
   QpIStream&)':
record.cc:577: warning: unused parameter `QP_INT16 pType'
make[6]: *** [record.lo] Error 1
make[6]: Leaving directory
`/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1/filters/kspread/qpro/libqpro/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1/filters/kspread/qpro/libqpro'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1/filters/kspread/qpro'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1/filters/kspread'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1/filters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1'
make: *** [all] Error 2

!!! ERROR: app-office/koffice-1.2.1-r1 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make



Reproducible: Always
Steps to Reproduce:
1. emerge sys-devel/gcc/gcc-3.3.ebuild
2. emerge app-office/koffice
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-23 06:35:40 UTC

*** This bug has been marked as a duplicate of 21464 ***