[Kst] Problems compiling kst
Theodore Kisner
kisner at physics.ucsb.edu
Fri Aug 27 05:13:40 CEST 2004
For what it's worth, I'm running the gcc-3.4 branch of debian-amd64 (i.e. all
packages have been compiled with gcc-3.4 for x86-64, including the KDE 3.3
libraries, etc). The kst-0.99 source compiles fine against the KDE 3.3
libraries.
I just did a fresh CVS checkout. My build dies with the same errors:
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I/usr/include/kde -I/usr/share/qt3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
-Wformat-security-Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kstextension.lo `test -f
'kstextension.cpp' || echo './'`kstextension.cpp
In file included from kstborderedviewobject.h:21,
from kstmetaplot.h:21,
from kstplotbase.h:21,
from kstlabel.h:24,
from kst2dplot.h:25,
from kst.h:30,
from kstextension.cpp:22:
kstviewobject.h: In member function `KstViewObjectPtr
KstViewObject::findChildType(const QPoint&)':
kstviewobject.h:283: error: there are no arguments to `abort' that depend on a
template parameter, so a declaration of `abort' must be available
kstviewobject.h:283: error: (if you use `-fpermissive', G++ will accept your
code, but allowingthe use of an undeclared name is deprecated)
make[2]: *** [kstextension.lo] Error 1
make[2]: Leaving directory `/data/kde_cvs/kdeextragear-2/kst/kst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/kde_cvs/kdeextragear-2/kst/kst'
make: *** [all-recursive] Error 1
Just wanted to confirm the problem. Also note that there are currently other
KDE packages that FAIL to build with gcc-3.4. Patches have been submitted
for some of them. So I guess kst is in good company :-)
cheers,
-Ted
More information about the Kst
mailing list