You were quite right about the version of gcc. So I changed the gcc version for the right flatform. Now I'm getting a different problem.... compresult.c: In function `calclist': compresult.c:1202: size of array `mlens' is too large compresult.c:1202: warning: unused variable `mlens' compresult.c:1480: warning: `addlen' might be used uninitialized in this function compresult.c:1534: warning: `addlen' might be used uninitialized in this function make[3]: *** [compresult..o] Error 1 make[3]: Leaving directory `/home/rosarion/zsh-3.1.8/Src/Zle' make[2]: *** [modules] Error 1 make[2]: Leaving directory `/home/rosarion/zsh-3.1.8/Src' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/rosarion/zsh-3.1.8/Src' make: *** [all] Error 1 ;( __ noel Vin Shelton wrote: > You can't count on a gcc built for Solaris 2.4 working with 2.6. > You either need to use the Solaris C compiler or rebuild gcc for 2.6. > (... or build for 2.4). > > - vin > > >>>>> On Fri, 14 Jul 2000, noel said: > > noel> I had tried compiling ZSH from the latest version > noel> 3.1.9, down to 3.1.6 and it was never been a success. > > noel> I am using an SU-5 SUN MACHINE with SOLARIS 2.6. > noel> The problem occurred in the 'make' process. > > noel> The message below is what I ussually get after 'make' > > noel> Do I need some patch. ??? HELP ... > > noel> make[2]: Entering directory `/home/rosarion/zsh-3.1.6-pws-6/Src' > noel> gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -Wall -Wno-implicit > noel> -Wmissing-prototypes -O2 -o builtin.o builtin.c > noel> In file included from /usr/include/sys/turnstile.h:12, > noel> from /usr/include/sys/t_lock.h:20, > noel> from /usr/include/sys/vnode.h:37, > noel> from /usr/include/sys/stream.h:21, > noel> from system.h:310, > noel> from zsh.mdh:6, > noel> from builtin.c:30: > noel> /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.2/include/sys/param.h:185: warning: `NBBY' > noel> redefined > noel> /usr/include/sys/select.h:45: warning: this is the location of the previous definition > noel> In file included from /usr/include/sys/stream.h:26, > noel> from system.h:310, > noel> from zsh.mdh:6, > noel> from builtin.c:30: > noel> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified" > noel> make[2]: *** [builtin.o] Error 1 > noel> make[2]: Leaving directory `/home/rosarion/zsh-3.1.6-pws-6/Src' > noel> make[1]: *** [modobjs] Error 2 > noel> make[1]: Leaving directory `/home/rosarion/zsh-3.1.6-pws-6/Src' > noel> make: *** [all] Error 1 > noel> -- **********.----.***************** *******_.'__ `.;@************* *****.--(#)(##)---/#\************ ***.' @ /###\*********** ***: , #####*********** ****`-..__.-' _.-\###/*********** **********;`:';***`"'************ +==--o00--------00o-----------==+ | In any field of endeavor | +==| The only limitation is |==+ ***| One's own imaginations |*** ***|_________________________|*** ****(( #*** ***# ))************ *****(( #* *# ))************* ******(( # # ))************** ******_(_`. . .'_)_************** ****(.______|______.)************ *********************************