From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9819 invoked from network); 14 Jul 2000 09:00:33 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Jul 2000 09:00:33 -0000 Received: (qmail 7822 invoked by alias); 14 Jul 2000 09:00:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12252 Received: (qmail 7814 invoked from network); 14 Jul 2000 09:00:16 -0000 Sender: rosarion@imrglobal.co.jp Message-ID: <396ED2BE.880BEA0F@imrglobal.co.jp> Date: Fri, 14 Jul 2000 17:43:42 +0900 From: noel X-Mailer: Mozilla 4.06 [en] (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: Vin Shelton CC: zsh-workers@sunsite.auc.dk Subject: Re: ANOTHER INSTALLATION PROBLEM References: <396E6620.498741DC@imrglobal.co.jp> Content-Type: multipart/alternative; boundary="------------A3D65D38E7C16937B3F5311F" --------------A3D65D38E7C16937B3F5311F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 |*** ***|_________________________|*** ****(( #*** ***# ))************ *****(( #* *# ))************* ******(( # # ))************** ******_(_`. . .'_)_************** ****(.______|______.)************ ********************************* --------------A3D65D38E7C16937B3F5311F Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 <rosarion@imrglobal.co.jp> 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  |***
***|_________________________|***
****(( #***   ***# ))************
*****(( #*     *# ))*************
******(( #     # ))**************
******_(_`. . .'_)_**************
****(.______|______.)************
*********************************
  --------------A3D65D38E7C16937B3F5311F--