Error building libgcj on Solaris 2.6
'David Scott Urban
urban@ast.lmco.com
Mon Dec 13 07:53:00 GMT 1999
Sorry if this is a repeat. I'm not sure if my original went out right.
I am trying to build libgcj on Solaris 2.6. I used the instructions from Joerg's
web site for build. I used the 12/8/99 snapshot for egcs and
libgcj-snapshot-1999年12月10日. Egcs built fine.
The configure for libgcj went fine. But, I encounter the following error when
doing the make:
on 2.6
gmake[1]: Entering directory
`/home/urban/gnu_src/compile/libgcj-snapshot-1999年12月10日/objdir/sparc-sun-solaris
2.6/zlib'
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\"
-DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1
-DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. -I../../../zlib -g -O2 -c
../../../zlib/gzio.c
rm -f .libs/gzio.lo
gcc -DPACKAGE=\"zlib\" -DVERSION=\"1.1.3\" -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1
-DHAVE_UNISTD_H=1 -I. -I../../../zlib -g -O2 -c -fPIC -DPIC
../../../zlib/gzio.c -o .libs/gzio.lo
../../../zlib/gzio.c: In function `gzprintf':
../../../zlib/gzio.c:531: `__builtin_va_alist' undeclared (first use in this
function)
../../../zlib/gzio.c:531: (Each undeclared identifier is reported only once
../../../zlib/gzio.c:531: for each function it appears in.)
gmake[1]: *** [gzio.lo] Error 1
gmake[1]: Leaving directory
`/home/urban/gnu_src/compile/libgcj-snapshot-1999年12月10日/objdir/sparc-sun-solaris
2.6/zlib'
gmake: *** [all-target-zlib] Error 2
I have, also, tried building on a Solaris 2.5.1 machine but encounter the same
error except it occurs when trying to build egcs. This happens building
libiberty.
Any help would be greatly appreciated.
D. S. Urban
email : urban@ast.lmco.com
phone : (303) 977-4736
fax : (303) 971-4349
-------------------------------------------------------------------------------
To be the person, you must know the person. To know the person, you must
understand the person. To understand the person, you must listen. To listen,
you must open your mind and put aside all preconceived ideas and notions.
-------------------------------------------------------------------------------
All opinions expressed are my own not that of my employer
More information about the Java
mailing list