[Kst] Problems compiling kst

Marcus mathpup at mylinuxisp.com
Fri Aug 27 04:12:47 CEST 2004


The README in kst's directory said to direct questions and concerns here, so 
if this is not the correct place for this, let me know.

I am trying to compile kst in kdeextragear-2 from CVS using GCC 3.4.1, but GCC 
reports an error. The last shell command and the results error message is

if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../..  -I/opt/kde3/include -I/usr/local/qt/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 
-fno-builtin -g3 -fno-inline -O2 -march=athlon-tbird -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  -MT kstextension.lo -MD -MP -MF 
".deps/kstextension.Tpo" \
  -c -o kstextension.lo `test -f 'kstextension.cpp' || echo 
'./'`kstextension.cpp; \
then mv -f ".deps/kstextension.Tpo" ".deps/kstextension.Plo"; \
else rm -f ".deps/kstextension.Tpo"; exit 1; \
fi
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 
templateparameter, so a declaration of `abort' must be available
kstviewobject.h:283: error: (if you use `-fpermissive', G++ will accept your 
code, but allowing the use of an undeclared name is deprecated)

(Using -fpermissive does not fix the problem, though, for me. I still get 
error about the arguments to abort.




More information about the Kst mailing list