From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1612 invoked from network); 14 May 2001 18:04:14 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 May 2001 18:04:14 -0000 Received: (qmail 17434 invoked by alias); 14 May 2001 18:04:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14335 Received: (qmail 17412 invoked from network); 14 May 2001 18:04:00 -0000 Sender: nz9rnq@naeng.gm.com Message-ID: <3B001E21.E3C89142@hqs.mid.gmeds.com> Date: Mon, 14 May 2001 14:04:17 -0400 From: Chakraborty Tapesh 810-947-8688 X-Mailer: Mozilla 4.72 [en] (X11; I; HP-UX B.11.00 9000/785) X-Accept-Language: en MIME-Version: 1.0 To: zsh-workers@sunsite.auc.dk Subject: problem creating zsh Content-Type: multipart/mixed; boundary="------------38E5DA8AB8DD0ABB4849BC70" This is a multi-part message in MIME format. --------------38E5DA8AB8DD0ABB4849BC70 Content-Type: multipart/alternative; boundary="------------6E526807FCC23BE0379A48E5" --------------6E526807FCC23BE0379A48E5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit i am having a lot of difficulty creating the zsh. i am attaching the error messages. i will appreciate very much if you cwould give me a hand. regards, tapesh -- +***********************************************+ * Tapesh Chakraborty, Ph.D * * Phone : (810) 578-3533 / 8-549-3533 (GM) * * Fax : (810) 578-3578 / 8 549-3578 * * Address: General Motors Corporation * * Mail Code: 480-400-111 * * 6600 E. 12 Mile Road * * Warren, Michigan 48092-5905 * +***********************************************+ --------------6E526807FCC23BE0379A48E5 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit i am having a lot of difficulty creating the zsh.  i am attaching the error messages. i will appreciate very much if you cwould give me a hand.

regards,
tapesh

-- 
+***********************************************+
* Tapesh Chakraborty, Ph.D                      *
* Phone : (810) 578-3533 / 8-549-3533 (GM)      *
* Fax   : (810) 578-3578 / 8 549-3578           *
* Address:      General Motors Corporation      *
*               Mail Code: 480-400-111          *
*               6600 E. 12 Mile Road            *
*               Warren, Michigan 48092-5905     *
+***********************************************+
  --------------6E526807FCC23BE0379A48E5-- --------------38E5DA8AB8DD0ABB4849BC70 Content-Type: text/plain; charset=us-ascii; name="junk" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="junk" caehd03f:nz9rnq> make No suffix list. cd Src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-Wall -Wno-implicit -Wmissing-prototypes -O2' LDFLAGS='' LIBS='-lnsl -ltermcap' prefix='/home/nz9rnq/zsh-3.0.8' exec_prefix='/home/nz9rnq/zsh-3.0.8' bindir='/home/nz9rnq/zsh-3.0.8/bin' infodir='/home/nz9rnq/zsh-3.0.8/info' mandir='/home/nz9rnq/zsh-3.0.8/man' manext='1' sed -n -f ./makepro.sed builtin.c > builtin.pro sed -n -f ./makepro.sed compat.c > compat.pro sed -n -f ./makepro.sed cond.c > cond.pro sed -n -f ./makepro.sed exec.c > exec.pro sed -n -f ./makepro.sed glob.c > glob.pro sed -n -f ./makepro.sed hashtable.c > hashtable.pro sed -n -f ./makepro.sed hist.c > hist.pro sed -n -f ./makepro.sed init.c > init.pro sed -n -f ./makepro.sed input.c > input.pro sed -n -f ./makepro.sed jobs.c > jobs.pro sed -n -f ./makepro.sed lex.c > lex.pro sed -n -f ./makepro.sed linklist.c > linklist.pro sed -n -f ./makepro.sed loop.c > loop.pro sed -n -f ./makepro.sed math.c > math.pro sed -n -f ./makepro.sed mem.c > mem.pro sed -n -f ./makepro.sed params.c > params.pro sed -n -f ./makepro.sed parse.c > parse.pro sed -n -f ./makepro.sed signals.c > signals.pro sed -n -f ./makepro.sed subst.c > subst.pro sed -n -f ./makepro.sed text.c > text.pro sed -n -f ./makepro.sed utils.c > utils.pro sed -n -f ./makepro.sed watch.c > watch.pro sed -n -f ./makepro.sed zle_hist.c > zle_hist.pro sed -n -f ./makepro.sed zle_main.c > zle_main.pro sed -n -f ./makepro.sed zle_misc.c > zle_misc.pro sed -n -f ./makepro.sed zle_move.c > zle_move.pro sed -n -f ./makepro.sed zle_refresh.c > zle_refresh.pro sed -n -f ./makepro.sed zle_tricky.c > zle_tricky.pro sed -n -f ./makepro.sed zle_utils.c > zle_utils.pro sed -n -f ./makepro.sed zle_vi.c > zle_vi.pro sed -n -f ./makepro.sed zle_word.c > zle_word.pro gawk -f ./signames.awk /usr/include/sys/signal.h > signames.h gawk -f ./rlimits.awk /usr/include/sys/resource.h > rlimits.h gcc -c -I.. -I. -I. -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 builtin.c In file included from /usr/include/sys/time.h:473, from /usr/include/time.h:17, from system.h:103, from zsh.h:59, from builtin.c:30: /usr/include/sys/_fd_macros.h:70: warning: `FD_SET' redefined /usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:256: warning: this is the location of the previous definition /usr/include/sys/_fd_macros.h:71: warning: `FD_CLR' redefined /usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:257: warning: this is the location of the previous definition /usr/include/sys/_fd_macros.h:72: warning: `FD_ISSET' redefined /usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:258: warning: this is the location of the previous definition /usr/include/sys/_fd_macros.h:73: warning: `FD_ZERO' redefined /usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:261: warning: this is the location of the previous definition In file included from /usr/include/unistd.h:11, from system.h:55, from zsh.h:59, from builtin.c:30: /usr/include/sys/unistd.h:287: parse error before `ualarm' /usr/include/sys/unistd.h:287: warning: parameter names (without types) in function declaration /usr/include/sys/unistd.h:287: warning: data definition has no type or storage class /usr/include/sys/unistd.h:288: warning: parameter names (without types) in function declaration In file included from /usr/include/sys/stat.h:33, from system.h:62, from zsh.h:59, from builtin.c:30: /usr/include/sys/_stat_body.h:29: parse error before `blkcnt_t' /usr/include/sys/_stat_body.h:29: warning: no semicolon at end of struct or union /usr/include/sys/_stat_body.h:30: parse error before `:' /usr/include/sys/_stat_body.h:32: parse error before `:' /usr/include/sys/_stat_body.h:33: parse error before `:' /usr/include/sys/_stat_body.h:34: parse error before `:' /usr/include/sys/_stat_body.h:62: parse error before `}' In file included from /usr/include/sys/time.h:473, from /usr/include/time.h:17, from system.h:103, from zsh.h:59, from builtin.c:30: /usr/include/sys/_fd_macros.h:62: conflicting types for `fd_set' /usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:254: previous declaration of `fd_set' In file included from zsh.h:59, from builtin.c:30: system.h:109: redefinition of `struct timezone' In file included from zsh.h:1420, from builtin.c:30: globals.h:473: `RLIM_NLIMITS' undeclared here (not in a function) globals.h:474: `RLIM_NLIMITS' undeclared here (not in a function) builtin.c: In function `bin_cd': builtin.c:1006: storage size of `st1' isn't known builtin.c:1006: storage size of `st2' isn't known builtin.c:1006: warning: unused variable `st2' builtin.c:1006: warning: unused variable `st1' builtin.c: In function `bin_limit': builtin.c:3761: `RLIMIT_CPU' undeclared (first use this function) builtin.c:3761: (Each undeclared identifier is reported only once builtin.c:3761: for each function it appears in.) builtin.c: In function `bin_unlimit': builtin.c:3860: `RLIM_NLIMITS' undeclared (first use this function) builtin.c:3862: `RLIM_INFINITY' undeclared (first use this function) builtin.c: In function `bin_ulimit': builtin.c:3952: `RLIM_NLIMITS' undeclared (first use this function) builtin.c:3956: `RLIMIT_CPU' undeclared (first use this function) builtin.c:3959: `RLIMIT_FSIZE' undeclared (first use this function) builtin.c:3962: `RLIMIT_DATA' undeclared (first use this function) builtin.c:3965: `RLIMIT_STACK' undeclared (first use this function) builtin.c:3968: `RLIMIT_CORE' undeclared (first use this function) builtin.c:4046: warning: unreachable code at beginning of switch statement builtin.c:4072: `RLIM_INFINITY' undeclared (first use this function) builtin.c: In function `showlimits': builtin.c:4112: `RLIM_INFINITY' undeclared (first use this function) builtin.c:4114: `RLIMIT_CPU' undeclared (first use this function) builtin.c: In function `printulimit': builtin.c:4187: `RLIMIT_CPU' undeclared (first use this function) builtin.c:4191: `RLIMIT_FSIZE' undeclared (first use this function) builtin.c:4194: `RLIM_INFINITY' undeclared (first use this function) builtin.c:4197: `RLIMIT_DATA' undeclared (first use this function) builtin.c:4203: `RLIMIT_STACK' undeclared (first use this function) builtin.c:4209: `RLIMIT_CORE' undeclared (first use this function) builtin.c:4293: warning: unreachable code at beginning of switch statement builtin.c: In function `bin_dot': builtin.c:4834: storage size of `st' isn't known builtin.c:4834: warning: unused variable `st' *** Error exit code 1 Stop. *** Error exit code 1 Stop. --------------38E5DA8AB8DD0ABB4849BC70-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13802 invoked from network); 15 May 2001 15:24:25 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 May 2001 15:24:25 -0000 Received: (qmail 16526 invoked by alias); 15 May 2001 15:24:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14356 Received: (qmail 16505 invoked from network); 15 May 2001 15:24:16 -0000 From: "Bart Schaefer" Message-Id: <1010515152156.ZM12194@candle.brasslantern.com> Date: Tue, 15 May 2001 15:21:55 +0000 In-Reply-To: <3B001E21.E3C89142@hqs.mid.gmeds.com> Comments: In reply to Chakraborty Tapesh 810-947-8688 "problem creating zsh" (May 14, 2:04pm) References: <3B001E21.E3C89142@hqs.mid.gmeds.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Chakraborty Tapesh 810-947-8688 , zsh-workers@sunsite.auc.dk Subject: Re: problem creating zsh MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've looked at this a bit, but I don't have access to an HPUX 9.03 system any more; and even when I did some years back, I only ever used the HP compiler, not gcc. If you really want help with this sort of thing, you need to give a lot more information -- what operating system you're using, what options you passed to configure, what appears in your config.h file after configure, what version of zsh you are compiling, etc. I had to figure out your operating system by reading the paths of the include files in the compiler warnings (which is only possible because of the way gcc installs itself), and the zsh version from the prefix= argument in the make command. I first suggest that you pick up zsh 4.0.1-pre-4 from ftp://ftp.zsh.org/pub/development/zsh-4.0.1-pre-4.tar.gz and see whether that version builds. There have been several changes to the configure script and related headers since 3.0.8. If that doesn't work, contact zsh-workers again with a full description of the steps you followed to build zsh, and include your config.h file. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16539 invoked from network); 16 May 2001 17:47:56 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 May 2001 17:47:56 -0000 Received: (qmail 4851 invoked by alias); 16 May 2001 17:47:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14364 Received: (qmail 4830 invoked from network); 16 May 2001 17:47:47 -0000 Date: Wed, 16 May 2001 13:46:56 -0400 (EDT) From: Chakraborty Tapesh 810-578-3533 To: Bart Schaefer cc: zsh-workers@sunsite.auc.dk Subject: Re: problem creating zsh In-Reply-To: <1010515152156.ZM12194@candle.brasslantern.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII bart thanks for getting back to me. i am using HP-UX 11.0. as per your suggestion, i used ansi 'c' compiler instead of gcc and everything worked fine (both zsh-3.0.8 and zsh-4.0.1-pre-4 got built). this is what i did: CC=/opt/ansic/bin/cc ./configure make make install again, thanks very much for your help. regards, tapesh +***********************************************+ * Tapesh Chakraborty, Ph.D * * Phone : (810) 578-3533 / 8-549-3533 (GM) * * Fax : (810) 578-3578 / 8 549-3578 * * Address: General Motors Corporation * * Mail Code: 480-400-111 * * 6600 E. 12 Mile Road * * Warren, Michigan 48092-5905 * +***********************************************+