[Kget] [Bug 148128] New: Compile error on Solaris 8 - kdenetwork/kget/ui/droptarget.cpp uses fabsf which is not available

Steve Evans stevee at zuken.co.uk
Mon Jul 23 08:44:48 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148128         
           Summary: Compile error on Solaris 8 -
                    kdenetwork/kget/ui/droptarget.cpp uses fabsf which is
                    not available
           Product: kget
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kget kde org
        ReportedBy: stevee zuken co uk


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris:

[  3%] Building CXX object kget/CMakeFiles/kget.dir/ui/droptarget.o
/cad4/stevee/kde-svn/kdenetwork/kget/ui/droptarget.cpp: In member function `void DropTarget::slotAnimateShow()':
/cad4/stevee/kde-svn/kdenetwork/kget/ui/droptarget.cpp:325: error: `fabsf' was not declared in this scope
/usr/ccs/bin/as: "<stdin>", line 1045: error: symbol "_ZN10DropTargetD1Ev" is used but not defined
/usr/ccs/bin/as: "<stdin>", line 1045: error: symbol "_ZN10DropTargetD0Ev" is used but not defined
/usr/ccs/bin/as: "<stdin>": , approx line 1045: internal error: evaluate_symbol_expression(): op 20?

Replacing the two uses of fabsf with the more portable fabs fixes the problem


More information about the Kget mailing list