Re: Problem building kde-3.5.6 on Sparc Solaris

"Albertson, Brett" <[email protected]>
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
I just added:

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

Brett Albertson
[email protected]
919-379-8449

-----Original Message-----
From: Raymond Meyer [mailto:[email protected]] 
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 <[email protected]> [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.
___________________________________________________
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.