[Development] Problem compiling using Oracle Solaris Studio 12.3

Geoffrey Gowey gjgowey at gjgowey.com
Sat Sep 15 03:59:45 CEST 2012


Hello all,

I'm trying to compile Qt (pulled down via git) on Solaris 11 using Oracle
Solaris Studio 12.3 and am receiving the following error:

/opt/solarisstudio12.3/bin/CC -c -O2 -mt -KPIC -DQT_SHARED
-DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/solaris-cc -I. -I../../include/QtCore
-I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel
-I.moc/release-shared -I/usr/sfw/include -o
.obj/release-shared/qhttpsocketengine.o socket/qhttpsocketengine.cpp
"../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h",
line 126: Error: Formal argument 3 of type unsigned* in call to accept(int,
sockaddr*, unsigned*) is being passed int*.
1 Error(s) detected.
gmake[1]: *** [.obj/release-shared/qnetworkinterface_unix.o] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/home/gjgowey/qt/src/network'
gmake: *** [sub-network-make_default-ordered] Error 2


Any suggestions?
-- 
Kindest Regards,

Geoff
----
To see what my availability is today or to schedule a meeting please use my
Tungle page: http://tungle.me/gjgowey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120914/70b56006/attachment.html>


More information about the Development mailing list