Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34042 - koffice emerge failed due to compilation error in record.cc
Summary: koffice emerge failed due to compilation error in record.cc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 11:12 UTC by Nilanjan De
Modified: 2004-03-07 07:51 UTC (History)
1 user (show)

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 Nilanjan De 2003-11-21 11:12:05 UTC
while trying to emerge koffice-1.2.1-r1 using gcc version 3.3.1 20030927 (Gentoo Linux 3.3.1-r5, propolice):

...
...
make[6]: Entering directory `/var/tmp/portage/koffice-1.2.1-r1/work/koffice-1.2.1/filters/kspread/qpro/libqpro/src'
/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 -march=pentium3 -pipe -O3 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT  -c -o formula.lo `test -f 'formula.cc' || echo './'`formula.cc
/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 -march=pentium3 -pipe -O3 -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/i486-pc-linux-gnu/3.3.1/include/g++-v3/backward/iostream.h:31,
                 from formula.cc:3:
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.1/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/i486-pc-linux-gnu/3.3.1/include/g++-v3/backward/iostream.h:31,
                 from record.cc:5:
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.1/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
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)
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
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 137, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-02-10 12:51:39 UTC
Can you try the new KOffice 1.3, please?
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-03-07 07:51:45 UTC
No response to my question since one month, I am closing this Bug for now, please reopen if this is still an issue