kde 3.1.3 and gcc 3.3

Norberto BENSA nbensa at gmx.net
Tue Aug 5 08:46:16 BST 2003


James Richard Tyrer wrote:
> Norberto BENSA wrote:
> > I'm getting errors on kdepim, kdegames, kdeutils, and kdemultimedia.
>
> So, could you please post one of the errors?

I'm "cvs update'ing" right now. Maybe there're fixes in 3_1 branch. Anyway, 
these are the errors.

This is from kdegames:

/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. 
-I. -I.. -I.. -I../libkdegames -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 -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG 
-DNO_DEBUG -O2 -march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe 
-fomit-frame-pointer -ffast-math -fprefetch-loop-arrays 
-maccumulate-outgoing-args -fPIC -ftracer -fno-exceptions -fno-check-new 
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c -o config.lo `test 
-f 'config.cpp' || echo './'`config.cpp
config.cpp:10: error: default argument given for parameter 2 of `
   Config::Config(QWidget*, const char*)'
config.h:11: error: after previous specification in `Config::Config(QWidget*,
   const char*)'
config.cpp:37: error: default argument given for parameter 3 of `
   MessageConfig::MessageConfig(QString, QWidget*, const char*)'
config.h:30: error: after previous specification in `
   MessageConfig::MessageConfig(QString, QWidget*, const char*)'
config.cpp:44: error: default argument given for parameter 2 of `
   DefaultConfig::DefaultConfig(QWidget*, const char*)'
config.h:39: error: after previous specification in `
   DefaultConfig::DefaultConfig(QWidget*, const char*)'
make[3]: *** [config.lo] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/kdegames-3.1.3/work/kdegames-3.1.3/kolf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kdegames-3.1.3/work/kdegames-3.1.3/kolf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/kdegames-3.1.3/work/kdegames-3.1.3'
make: *** [all] Error 2


kdemultimedia:

/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/kde/3.1/include/arts 
-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 -Wundef 
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 
-march=pentium3 -O2 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer 
-ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o 
visQueue.lo `test -f 'visQueue.cpp' || echo './'`visQueue.cpp
visQueue.cpp: In constructor `VISQueue::VISQueue(int)':
visQueue.cpp:20: error: ISO C++ forbids variable-size array
make[5]: *** [visQueue.lo] Error 1
make[5]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/noatun/modules/winskin/vis'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/noatun/modules/winskin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/noatun/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3/noatun'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.1.3/work/kdemultimedia-3.1.3'
make: *** [all] Error 2


kdeutils:

/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -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 -Wundef 
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 
-march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer 
-ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE  -DQT_NO_ASCII_CAST  -c 
-o notify.lo `test -f 'notify.cpp' || echo './'`notify.cpp
In file included from kpcmcia.cpp:50:
linux/cistpl.h:164: error: ISO C++ forbids zero-size array `data'
linux/cistpl.h:229: error: ISO C++ forbids zero-size array `ccitt_code'
linux/cistpl.h:239: error: ISO C++ forbids zero-size array `ccitt_code'
make[3]: *** [kpcmcia.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/var/tmp/portage/kdeutils-3.1.3/work/kdeutils-3.1.3/klaptopdaemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kdeutils-3.1.3/work/kdeutils-3.1.3/klaptopdaemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/kdeutils-3.1.3/work/kdeutils-3.1.3'
make: *** [all] Error 2


kdepim:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I../../korganizer/interfaces -I../.. 
-I../../libical/src/libical -I../../libical/src/libicalss 
-I../../libical/src/libical -I../../libical/src/libicalss 
-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 -Wundef 
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 
-march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer 
-ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer 
-fno-exceptions -fno-check-new  -c -o exchangeclient.lo `test -f 
'exchangeclient.cpp' || echo './'`exchangeclient.cpp
exchangeclient.cpp: In member function `void KPIM::ExchangeClient::test()':
exchangeclient.cpp:108: warning: unused variable `KIO::DavJob*job'
/usr/qt/3/bin/moc ./exchangeaccount.h -o exchangeaccount.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I../../korganizer/interfaces -I../.. 
-I../../libical/src/libical -I../../libical/src/libicalss 
-I../../libical/src/libical -I../../libical/src/libicalss 
-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 -Wundef 
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 
-march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer 
-ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer 
-fno-exceptions -fno-check-new  -c -o exchangeaccount.lo `test -f 
'exchangeaccount.cpp' || echo './'`exchangeaccount.cpp
exchangeaccount.cpp:258: error: cannot declare member function `static QString
   KPIM::ExchangeAccount::tryMailbox(const QString&, const QString&, const
   QString&)' to have static linkage
make[4]: *** [exchangeaccount.lo] Error 1
make[4]: Leaving directory 
`/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/libkpimexchange/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/libkpimexchange/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/libkpimexchange'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3'
make: *** [all] Error 2


> Also, I am assuming that KDELibs and KDEbase were built OK.  If not, that
> is where to start looking for errors.

Yup. Kdelibs, kdebase, kdenetwork, kdeadmin, kdegraphics, kdeartwork, all them 
were built ok.

Thanks,
Norberto

PS: just when I was about to hit send, I got this:

cvs server: Updating kdemultimedia/noatun/modules/winskin/vis
P kdemultimedia/noatun/modules/winskin/vis/visQueue.cpp

crossing my fingers :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde/attachments/20030805/49b7f713/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list