[kde-solaris] Problem building kde-3.5.6 on Sparc Solaris

Albertson, Brett bretta at stratech.com
Wed May 30 22:00:48 CEST 2007


I just added:

int isinf(double x) { return !finite(x) && x==x; }
to the top of the file.  

Brett Albertson
brett.albertson at stratech.com
919-379-8449

-----Original Message-----
From: Raymond Meyer [mailto:raymond.meyer at rambler.ru] 
Sent: Wednesday, May 30, 2007 5:29 AM
To: For people using KDE on Solaris,with questions about KDE or Solaris
Subject: Re: [kde-solaris] Problem building kde-3.5.6 on Sparc Solaris

* Rob Fisher <slackboy at gmail.com> [Tue, 29 May 2007 16:01:25 +0100]:
> > Adding:
> >
> > int isinf(double);
> >
> > at the top of the source file, fixed the problem.
>
> Not really. When you try to link against libkjs.so (as kdebase does),
> your isinf will come back as an undefined symbol.
>
> I tried using sunmath.h and -lsunmath, and everything compiled, but
> crashed when I ran it. I don't know what the correct fix is.
>

Yeah I noticed that. The problem was gcc was optimising calls to isinf()

funcation during configure stage. There is a patch that is supposed to 
fix the problem
___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde-solaris mailing list