From kde-bugs-dist Sun Nov 02 16:39:33 2003 From: Torsten Kasch Date: Sun, 02 Nov 2003 16:39:33 +0000 To: kde-bugs-dist Subject: [Bug 67063] New: kdeutils/kcalc won't link on Solaris X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=106779118109082 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=67063 Summary: kdeutils/kcalc won't link on Solaris Product: configure Version: unspecified Platform: Compiled Sources OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: coolo@kde.org ReportedBy: tk@Genetik.Uni-Bielefeld.DE Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 2.95.3 20010315 (release) OS: Solaris Trying to compile HEAD kdeutils on Solaris 8 (x86) breaks in "kcalc" with /bin/ksh ../libtool --silent --mode=link --tag=CXX g++ -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -R/vol/kde-cvs/lib -R/vol/qt-3.2.1/lib -R/vol/local/lib -R/vol/graphics/lib -o libkdeinit_kcalc.la -rpath /vol/kde-cvs/lib -avoid-version -L/vol/qt-3.2.1/lib -L/vol/kde-cvs/lib -L/vol/local/lib -L/vol/graphics/lib kcalc.lo kcalc_core.lo kcalcdisplay.lo dlabel.lo stats.lo colors.lo general.lo kcalc_settings.lo -lkdeui -lm .libs/kcalc_core.o: In function `isinf(double)': .libs/kcalc_core.o(.text+0x78): multiple definition of `isinf(double)' .libs/kcalc.o(.text+0xa4): first defined here .libs/dlabel.o: In function `isinf(double)': .libs/dlabel.o(.text+0x0): multiple definition of `isinf(double)' .libs/kcalc.o(.text+0xa4): first defined here collect2: ld returned 1 exit status make[2]: *** [libkdeinit_kcalc.la] Error 1 make[2]: Leaving directory `/vol/src/kde/cvs/kdeutils/kcalc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vol/src/kde/cvs/kdeutils' make: *** [all] Error 2 It looks like the implementation for isinf() is mis-located in kcalc_core.h since this file is included in different other *.cpp files...