On S10U5, I get the following error compiling qt-4.4.1 with the
included pspc file.

pkgbuild: /opt/SUNWspro/bin/CC -c -library=no%Cstd
-features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
-instance
s=global -template=geninlinefuncs -s -xlang=c99
-xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe
-features=gcc -Qoption ccfe -featur
es=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none
-xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access
 -xprefetch_level=3 -xalias_level=compatible -KPIC -xipo=0 -xO3
-xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z
combreloc -z redlocs
ym -z nodefaultlib -z ignore -z now -z rescan -z absexec
-xldscope=symbolic -xlibmil -xipo=0 -xO3 -s -xtarget=opteron -m64
-xarch=sse2 -xchip=optero
n -xcache=64/64/2:1024/64/16 -lc -lm -ldl -lpthread -lposix4 -lrt -mt
-L/opt/foss/lib/amd64 -L/usr/lib/amd64
-R/opt/foss/lib/amd64:/usr/lib/amd64 -Y
 P,/opt/foss/lib/amd64:/usr/lib/amd64 -i -L/opt/foss/lib/amd64
-L/usr/lib/amd64 -R/opt/foss/lib/amd64:/usr/lib/amd64 -Bdynamic -lc
-lm -lCrun -lstdc
xx -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/foss/inc
lude/stdcxx/ansi -I/opt/foss/include/stdcxx -I/opt/foss/include
-I/opt/foss/include/glib-2.0 -I/opt/foss/lib/amd64/glib-2.0/include
-I/opt/foss/incl
ude/gstreamer-0.10 -I/opt/foss/include/freetype2
-I/opt/foss/include/fontconfig -I/usr/include/gtk-2.0
-I/usr/include/pango-1.0 -I/usr/include/atk-1
.0 -I/usr/lib/gtk-2.0/include -I/usr/include/libxml2
-I/usr/include/libxslt -I/usr/X11/include -I/usr/openwin/include
-I/usr/sfw/include -DFLT_EVAL_
METHOD=1 -D__FLT_EVAL_METHOD__=1 -library=no%Cstd
-features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
-instances
=global -template=geninlinefuncs -s -xlang=c99
-xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe
-features=gcc -Qoption ccfe -feature
s=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none
-xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access
-xprefetch_level=3 -xalias_level=compatible -KPIC -xipo=0 -xO3
-xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z
combreloc -z redlocsy
m -z nodefaultlib -z ignore -z now -z rescan -z absexec
-xldscope=symbolic -xlibmil -xipo=0 -xO3 -s -xtarget=opteron -m64
-xarch=sse2 -xchip=opteron
 -xcache=64/64/2:1024/64/16 -lc -lm -ldl -lpthread -lposix4 -lrt -mt
-L/opt/foss/lib/amd64 -L/usr/lib/amd64
-R/opt/foss/lib/amd64:/usr/lib/amd64 -Y
P,/opt/foss/lib/amd64:/usr/lib/amd64 -i -L/opt/foss/lib/amd64
-L/usr/lib/amd64 -R/opt/foss/lib/amd64:/usr/lib/amd64 -Bdynamic -lc
-lm -lCrun -lstdcx
x -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-w -mt -KPIC -DP
IC -DQT_SHARED -D_REENTRANT -D_RWSTD_REENTRANT -DFLT_EVAL_METHOD=1
-D__FLT_EVAL_METHOD__=1 -DSOLARIS -DQHELP_LIB -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CA
ST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_BUILD_FOR_QT_
-DLUCENE_DISABLE_MEMTRACKING -DFLT_EVAL_METHOD=1
-D__FLT_EVAL_METHOD__=1 -DQ_SOLARIS_VERS
ION=10 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT_SQL_LIB
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I../../../../mkspecs/solaris-cc-64 -I. -I../../../../include/QtCore
-I../../../../include/QtCore -I../.
./../../include/QtNetwork -I../../../../include/QtNetwork
-I../../../../include/QtOpenGL -I../../../../include/QtOpenGL
-I../../../../include/QtXml
-I../../../../include/QtXml -I../../../../include/QtSql
-I../../../../include/QtSql -I../../../../include/Qt3Support
-I../../../../include/Qt3Suppor
t -I../../../../include/QtSvg -I../../../../include/QtSvg
-I../../../../include -I-D_REENTRANT -D__EXTENSIONS__
-D_LARGEFILE_SOURCE -D_LARGEFILE64_S
OURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS
-DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE
-D_RWSTD_REENTRANT -D_XOPEN_S
OURCE=500 -D_XPG5   -I/opt/foss/include
-I/tank/src/S10U5/bent/packages/BUILD/FOSSqt-4.4.1/amd64/QT/4.4.1/include/QtCLucene
-I.rcc/release-shared -I
. -I.. -I../../../../src/3rdparty/clucene/src/CLucene
-I../../../../src/3rdparty/clucene/src
-I../../../../src/3rdparty/clucene/src/CLucene/analysis
 -I../../../../src/3rdparty/clucene/src/CLucene/analysis/standard
-I../../../../src/3rdparty/clucene/src/CLucene/config
-I../../../../src/3rdparty/c
lucene/src/CLucene/debug
-I../../../../src/3rdparty/clucene/src/CLucene/document
-I../../../../src/3rdparty/clucene/src/CLucene/index -I../../../../
src/3rdparty/clucene/src/CLucene/queryParser
-I../../../../src/3rdparty/clucene/src/CLucene/search
-I../../../../src/3rdparty/clucene/src/CLucene/st
ore -I../../../../src/3rdparty/clucene/src/CLucene/util
-I/usr/X11/include -I.moc/release-shared -I.uic/release-shared
-I/opt/foss/include -o .obj/r
elease-shared/FSDirectory.o
../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 292: Error: DIR is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 292: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 292: Error: The function "opendir" must have a prototype.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 293: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 298: Error: The type "dirent" is incomplete.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 299: Error: The type "dirent" is incomplete.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 302: Error: The type "dirent" is incomplete.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 302: Error: The type "dirent" is incomplete.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 304: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 310: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 312: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 317: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 317: Error: The function "opendir" must have a prototype.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 318: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 320: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 322: Error: The type "dirent" is incomplete.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 323: Error: The type "dirent" is incomplete.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 325: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 330: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 332: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 348: Error: DIR is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 348: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 348: Error: The function "opendir" must have a prototype.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 350: Error: dir is not defined.
pkgbuild: "../../../../src/3rdparty/clucene/src/CLucene/store/FSDirectory.cpp",
line 359: Error: The type "dirent" is incomplete.
pkgbuild: Compilation aborted, too many Error messages.
pkgbuild: make[3]: *** [.obj/release-shared/FSDirectory.o] Error 1
pkgbuild: make[3]: Leaving directory
`/tank/src/S10U5/bent/packages/BUILD/FOSSqt-4.4.1/amd64/QT/4.4.1/tools/assistant/lib/fulltextsearch'
pkgbuild: make[2]: *** [sub-lib-fulltextsearch-make_default-ordered] Error 2
pkgbuild: make[2]: Leaving directory
`/tank/src/S10U5/bent/packages/BUILD/FOSSqt-4.4.1/amd64/QT/4.4.1/tools/assistant'
pkgbuild: make[1]: *** [sub-assistant-make_default-ordered] Error 2
pkgbuild: make[1]: Leaving directory
`/tank/src/S10U5/bent/packages/BUILD/FOSSqt-4.4.1/amd64/QT/4.4.1/tools'
pkgbuild: make: *** [sub-tools-make_default-ordered] Error 2
pkgbuild: Bad exit status from
/var/tmp/pkgbuild-bent/pkgbuild-tmp-2.10973 (%build)

however, I'm back to this error on SXCE

pkgbuild: /opt/SUNWspro/bin/CC -c -library=no%Cstd
-features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
-instances=
global -template=geninlinefuncs -s -xlang=c99 -xalias_level=compatible
-xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe
-features=z
la -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none -xbuiltin=%all
-xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access -xpre
fetch_level=3 -xalias_level=compatible -KPIC -xipo=0 -xO3
-xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z
combreloc -z redlocsym -z no
defaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic
-xlibmil -xipo=0 -xO3 -s -xtarget=pentium3 -m32 -xarch=sse
-xchip=pentium3 -xcache
=16/32/4:256/32/4 -lc -lm -ldl -lpthread -lposix4 -lrt -mt
-L/opt/foss/lib -L/usr/lib -R/opt/foss/lib:/usr/lib -Y
P,/opt/foss/lib:/usr/lib -i -L/opt/f
oss/lib -L/usr/lib -R/opt/foss/lib:/usr/lib -Bdynamic -lc -lm -lCrun
-lstdcxx -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1 -D_REENTRANT
-D_POSIX_PTH
READ_SEMANTICS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/foss/include/stdcxx/ansi -I/opt/foss/include/stdcxx
-I/opt/foss/include/freetype2 -I/
opt/foss/include/fontconfig -I/opt/foss/include
-I/usr/include/glib-2.0 -I/usr/include/gtk-2.0
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/
lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2
-I/usr/include/libxslt -I/usr/X11/include -I/usr/
openwin/include -I/usr/sfw/include -library=no%Cstd
-features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
-instances
=global -template=geninlinefuncs -s -xlang=c99
-xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe
-features=gcc -Qoption ccfe -features=
zla -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none
-xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access -xpr
efetch_level=3 -xalias_level=compatible -KPIC -xipo=0 -xO3
-xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z
combreloc -z redlocsym -z n
odefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic
-xlibmil -xipo=0 -xO3 -s -xtarget=pentium3 -m32 -xarch=sse
-xchip=pentium3 -xcach
e=16/32/4:256/32/4 -lc -lm -ldl -lpthread -lposix4 -lrt -mt
-L/opt/foss/lib -L/usr/lib -R/opt/foss/lib:/usr/lib -Y
P,/opt/foss/lib:/usr/lib -i -L/opt/
foss/lib -L/usr/lib -R/opt/foss/lib:/usr/lib -Bdynamic -lc -lm -lCrun
-lstdcxx -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1 -D_REENTRANT
-D_POSIX_PT
HREAD_SEMANTICS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mt -KPIC
-DPIC -DQT_SHARED -D_REENTRANT -D_RWSTD_REENTRANT -DSOLARIS
-DBUILDING_QT__=1 -DP
CRE_UTF16=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DBUILD_WEBKIT
-DENABLE_ICONDATA
BASE=1 -DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1
-DBUILDING_QT__=1 -DPCRE_UTF16=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1
-DQT_NO_DEBUG -DQT_SVG_LIB
 -DQT_QT3SUPPORT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I../../../../mkspecs/solaris-cc -I.
-I../../../../include/QtCore -I../../../../include/QtCore
-I../../../../include/QtNetwork -
I../../../../include/QtNetwork -I../../../../include/QtGui
-I../../../../include/QtGui -I../../../../include/QtOpenGL
-I../../../../include/QtOpenGL -
I../../../../include/QtXml -I../../../../include/QtXml
-I../../../../include/QtSql -I../../../../include/QtSql
-I../../../../include/Qt3Support -I../.
./../../include/Qt3Support -I../../../../include/QtSvg
-I../../../../include/QtSvg -I../../../../include -I-D_REENTRANT
-D__EXTENSIONS__ -D_LARGEFILE_
SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS
-DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE
-D_RWSTD_REENTRANT  -D_XOPEN_S
OURCE=500 -D_XPG5   -I/opt/foss/include -I../WebKit/qt/Api
-I../JavaScriptCore -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -I../JavaScriptCor
e/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders
-Iplatform -Iplatform/network -Iplatform/graphics -
Iloader -Ipage -Icss -Idom -Ibridge -Iediting -Irendering -Ihistory
-Ixml -Ihtml -Iplugins -I../../../../include/QtWebKit
-I.rcc/release-shared -Igene
rated -Itmp -I../JavaScriptCore -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -I../JavaScriptCore/bindings/c
-I../JavaScriptCore/wtf -I../JavaS
criptCore/bindings/qt -I../JavaScriptCore/pcre
-I/export/home/bent/packages/BUILD/FOSSqt-4.4.1/i386/QT/4.4.1/src/3rdparty/webkit/WebKitBuild/Debug/Jav
aScriptCore/kjs/tmp -Iplatform/qt -Iplatform/network/qt
-Iplatform/graphics/qt -Iplatform/graphics/svg/qt -Iloader/qt
-Ipage/qt -I../WebKit/qt/WebCore
Support -I../WebKit/qt/Api -I. -IForwardingHeaders -I../../webkit
-I../JavaScriptCore/kjs -I../JavaScriptCore/bindings -Iplatform
-Iplatform/network -
Iplatform/graphics -Iplatform/graphics/svg
-Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom
-Ipage -Ibridge -Iediting -Irendering -I
history -Ixml -Ihtml -Ibindings/js -Iksvg2 -Iksvg2/css -Iksvg2/svg
-Iksvg2/misc -Iksvg2/events -Iplatform/image-decoders -I../../sqlite
-I/usr/X11/inc
lude -I.moc/release-shared -I.uic/release-shared -I/opt/foss/include
-o .obj/release-shared/NP_jsobject.o
../JavaScriptCore/bindings/NP_jsobject.cpp
pkgbuild: "../JavaScriptCore/bindings/NP_jsobject.cpp", line 28:
Error: Badly formed constant expression.
pkgbuild: 1 Error(s) detected.
pkgbuild: make[1]: *** [.obj/release-shared/NP_jsobject.o] Error 1
pkgbuild: make[1]: Leaving directory
`/export/home/bent/packages/BUILD/FOSSqt-4.4.1/i386/QT/4.4.1/src/3rdparty/webkit/WebCore'
pkgbuild: make: *** [sub-webkit-make_default-ordered] Error 2
pkgbuild: Bad exit status from
/var/tmp/pkgbuild-bent/pkgbuild-tmp-2.20595 (%build)

which comes down to a #if !PLATFORM(DARWIN).... causing the error.  I
tried previously to fix this problem,
but ended up having to remove these lines since I can't seem to find a
PLATFORM macro....

Thoughts?

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt.pspc
Type: application/octet-stream
Size: 3735 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20080924/8a55ce76/attachment.obj>

Reply via email to