Problem compiling glib 1.2.10 on Solaris 2.8 using gcc 3.0



We tried to compile glib 1.2.10 on Solaris 2.8 using gcc 3.0. We got the 
following error message:

Making all in .
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib    -g -O2 -Wall  -D_REENTRANT -c garray.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c garray.c  -fPIC -DPIC -o .libs/garray.lo
garray.c:56: warning: deprecated initialization of zero-length array
garray.c:56: warning: (near initialization for `g__array_mem_chunk_lock.aligned_pad_u.pad')
garray.c:56: initialization of zero-length array before end of structure
garray.c:56: (near initialization for `g__array_mem_chunk_lock.aligned_pad_u.pad')
garray.c:260: warning: deprecated initialization of zero-length array
garray.c:260: warning: (near initialization for `g__ptr_array_mem_chunk_lock.aligned_pad_u.pad')
garray.c:260: initialization of zero-length array before end of structure
garray.c:260: (near initialization for `g__ptr_array_mem_chunk_lock.aligned_pad_u.pad')
*** Error code 1
make: Fatal error: Command failed for target `garray.lo'
Current working directory /site5/SOURCE/INSTALL/INSTALL/glib-1.2.10
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /site5/SOURCE/INSTALL/INSTALL/glib-1.2.10
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'

What is the problem? Since I am not on the mailing list, please send to 
sherwin nlm nih gov 

Thanks.
Ziying Sherwin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]