[Qt-interest] Problem building Qt4.2.2 on Solaris 10 SPARC

Paul Floyd paulf at free.fr
Sat Feb 19 14:11:20 CET 2011


Ankit Agarwal wrote:
> Hi,
> 
> I am trying to install Qt on Sun server T1000. 32 core, 16 gb ram SPARC 
> machine. I am getting an error that says "
> Error: #error "Qt has not been ported to this architecture".
> 
> I am using Qt4.2.2
> 
> Please help me with this error.

Hi

Which version of Solaris? And with which compiler exactly? Where do you 
get the error
- configure
- building Qt
- building an app with Qt?

It looks like the error cames from qatomic_arch.h, which isn't finding 
your your architecture and setting QT_ARCH_SPARC.

Does your configure have this bit (from Qt 4.6.2):

     SunOS:5*:*)
         case "$UNAME_MACHINE" in
	sun4u*|sun4v*)
             if [ "$OPT_VERBOSE" = "yes" ]; then
                 echo "    Sun SPARC (sparc)"
             fi
             CFG_HOST_ARCH=sparc
             ;;

Specifically, you are using sun4v. My guess is that configure is failing 
here.

A+
Paul
-- 
Paul Floyd                 http://paulf.free.fr



More information about the Qt-interest-old mailing list