Re: Problem building kde-3.5.6 on Sparc Solaris 10

"Albertson, Brett" <[email protected]>
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
I believe isinf is declared in iso/math_c99.h, but I think you just have
to include math.h.  Try adding a line near the top, after the other
includes like this:

#include <math.h>

Brett Albertson
[email protected]
919-379-8449

-----Original Message-----
From: Raymond Meyer [mailto:[email protected]] 
Sent: Thursday, May 17, 2007 9:33 AM
To: [email protected]
Subject: [kde-solaris] Problem building kde-3.5.6 on Sparc Solaris 10

Hi, I'm trying to build kde-3.5.6 on Sparc Solaris 10 and I get the
following
error when building kdelibs3. Any ideas how to fix it?

if /bin/ksh ../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I.
-I/opt/pkg/include -I../dcop -I../libltdl -I../kdefx -I../kdecore
-I../kdecore -I../kdecore/network -I../kdeui -I../kio -I../kio/kio
-I../kio/kfile -I.. -I/opt/pkg/qt3/include -I/usr/openwin/include
-I/opt/pkg/include -I/opt/pkg/include -I/usr/openwin/include  -mt
-DQT_THREAD_SUPPORT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include
-I/opt/pkg/include/krb5 -I/opt/pkg/include/db4 -I/opt/pkg/qt3/include
-DGLX_GLXEXT_LEGACY -I/opt/pkg/include/freetype2 -I/usr/include
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
-O -I/opt/pkg/include -I/opt/pkg/include/krb5 -I/opt/pkg/include/db4
-I/opt/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/opt/pkg/include/freetype2
-I/usr/include -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -
 DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT operations.lo -MD
-MP -MF ".deps/operations.Tpo" -c -o operations.lo operations.cpp; \
        then mv -f ".deps/operations.Tpo" ".deps/operations.Plo"; else
rm -f ".deps/operations.Tpo"; exit 1; fi
operations.cpp: In function 'bool KJS::isInf(double)':
operations.cpp:70: error: 'isinf' was not declared in this scope
operations.cpp: In function 'bool KJS::isPosInf(double)':
operations.cpp:83: error: 'isinf' was not declared in this scope
operations.cpp: In function 'bool KJS::isNegInf(double)':
operations.cpp:96: error: 'isinf' was not declared in this scope

...

gmake[3]: *** [operations.lo] Error 1
gmake[3]: Leaving directory
`/opt/pkg.obj/x11/kdelibs3/work.ultra10/kdelibs-3.5.6/kjs'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/opt/pkg.obj/x11/kdelibs3/work.ultra10/kdelibs-3.5.6/kjs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/opt/pkg.obj/x11/kdelibs3/work.ultra10/kdelibs-3.5.6'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/x11/kdelibs3
*** Error code 1

___________________________________________________
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.