On Wed, Apr 30, 2008 at 2:14 PM, Hector Naves Sordo
<hector.naves at gmail.com> wrote:
> Hi Lukas,
>
> I don't know if something is really missconfigured on my Ultra 45 (regular
> S10U5)... but this time I get this error building FOSSaspell:
>
> =====
> pkgbuild:
> /home/hn/packages/BUILD/FOSSaspell-0.60.4/sparc/ASPELL/0.60.4/compile
> /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common
> -I./interfaces/cc/ -I./modules/speller/default/
> -DLOCALEDIR=\"/opt/foss/share/locale\" -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_SOURCE=500 -D_XPG5 -DWORDS_BIGENDIAN=1 -I/opt/foss/include -Xc
> -errshort=full -errfmt=error -errwarn=%none -s -xcsi
> -xustr=ascii_utf16_ushort -xalias_level=std -features=extinl -xF=%none
> -xbuiltin=%all -xinline=%auto -xprefetch=auto
> -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xsafe=mem
> -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now
> -z rescan -z absexec -xipo=0 -xldscope=symbolic -xlibmil -s -xO4
> -xregs=no%appl -xpagesize=default -xvis=yes -xmemalign=8i -xipo=1
> -W2,-xwrap_int -xcode=pic32 -xtarget=ultra2 -m32 -xarch=sparcvis
> -xchip=ultra2 -xcache=64/32/4:8192/512/2 -L/opt/foss/lib -L/usr/lib
> -R/opt/foss/lib -R/usr/lib -lm -ldl -lc -lpthread -lposix4 -lrt -mt -c -o
> prog/prezip.o prog/prezip.c
> pkgbuild: "/usr/include/sys/regset.h", line 304: error: syntax error before
> or at: uint64_t
> pkgbuild: "/usr/include/sys/regset.h", line 307: error: syntax error before
> or at: uint64_t
> pkgbuild: "prog/prezip.c", line 260: error: cannot recover from previous
> errors
> pkgbuild: cc: acomp failed for prog/prezip.c
> pkgbuild: make[2]: *** [prog/prezip.o] Error 2
> pkgbuild: make[2]: Leaving directory
> `/home/hn/packages/BUILD/FOSSaspell-0.60.4/sparc/ASPELL/0.60.4'
> pkgbuild: make[1]: *** [all-recursive] Error 1
> pkgbuild: make[1]: Leaving directory
> `/home/hn/packages/BUILD/FOSSaspell-0.60.4/sparc/ASPELL/0.60.4'
> pkgbuild: Bad exit status from /var/tmp/pkgbuild-hn/pkgbuild-tmp-2.3127
> (%build)--- command output ends --- finished at Wed Apr 30 13:55:29 CEST 2008
>
> INFO: pkgbuild -ba finished at Wed Apr 30 13:55:29 CEST 2008
>
> ERROR: FOSSaspell FAILED
> INFO: Check the build log in /tmp/FOSSaspell.log for details
> ===
>
> I was looking for similar problems in the web, and I found a work around (see
> the link bellow. Is not applicable for FOSSaspell because I saw in the config
> files that this is already done)
>
> http://bugs.opensolaris.org/view_bug.do;jsessionid=20c26b66750dffffffff88ec0bbf753cdad?bug_id=6423743
>
> Thank you very much in advance!
>
> Hector
I have tested on S10U5 (Ultra20M2) right now.
package | status | details
---------------------------------+-------------+-------------------------------
FOSSaspell | PASSED |
Please could you post here which version of compilers do you have (cc
-V, CC -V)?
Do you have fully patches U5 ?
Here is my environment:
SunOS earth 5.10 Generic_127128-11 i86pc i386 i86pc Solaris (S10U5)
Ultra20M2 (AMD Opteron - amd64)
cc: Sun C 5.9 SunOS_i386 Patch 124868-04 2008/03/11
CC: Sun C++ 5.9 SunOS_i386 Patch 124864-03 2008/03/12
You could try as a workaround this: (I'm not sure if it works)
edit file in 'your cvsdude kdesolaris copy'/ASPELL/0.60.4/Solaris/configure.sh
and add these lines:
CFLAGS="$CFLAGS -xc99"
export CFLAGS
Luc
--
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode
When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
Dale Carnegie