zsh-users
 help / color / mirror / code / Atom feed
From: kristiag@stud.math.ntnu.no
To: zsh-users@math.gatech.edu
Subject: Re: Strange behaviour of zsh-3.1.5 on IRIX 6.2
Date: Mon, 2 Nov 1998 10:32:33 +0100	[thread overview]
Message-ID: <19981102103233.A1700@stud.math.ntnu.no> (raw)
In-Reply-To: <13884.8743.733953.358182@knecht>; from Roland Jesse on Sun, Nov 01, 1998 at 09:56:07AM +0100

On Sun, Nov 01, 1998 at 09:56:07AM +0100, Roland Jesse wrote:
> After the build the shell works just fine on this particular
> machine. But on another O2 machine I simply get: "13116:-zsh: rld:
> Fatal Error: attempted access to unresolvable symbol in -zsh:
> cap_get_proc."
> 
> I am not a 100% sure what IRIX version this other machine is
> running. Is it possible that it might have a problem with a zsh build
> on a 6.4 system?

Running binaries compiled on a newer version of IRIX on older versions
is not supported. So you should compile binaries on your IRIX 6.3
machine and use them on both your 6.3 and 6.4 machines (I assume your
O2 runs IRIX 6.3, not 6.5).

As regards the original strange problem, I have been unable to compile
a working zsh-3.1.5 with `MIPSpro Compilers: Version 7.2.1.2m' on my
IRIX 6.2 machine. Using `egcs-2.92.07 19980914' works just fine,
however.

I did some debugging and found that a typtab array came out differently
in the two versions. So with the following patch, zsh-3.1.5 seems to
work on IRIX 6.2 using said MIPSpro compiler. Now, obviously, this is
just silly and should not be used, but I hope this can point others in
the right direction. I do not have time to debug this further.

--- /Stores/stash/zsh/src-3.1.5-local/Src/utils.c       Thu Oct 15 23:46:01 1998
+++ utils.c     Mon Nov  2 09:43:16 1998
@@ -2387,6 +2387,8 @@
        typtab[STOUC(*s)] |= ISPECIAL;
     if (isset(BANGHIST) && bangchar && interact && isset(SHINSTDIN))
        typtab[bangchar] |= ISPECIAL;
+    typtab[0] = 4640;
+    typtab[32] = 10284;
 }
 
 /**/

-- 
Kristian Gjøsteen


  parent reply	other threads:[~1998-11-02  9:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-30 17:30 Helmut Jarausch
1998-10-30 18:27 ` Zefram
1998-10-30 20:18   ` Anthony.Iano-Fletcher
1998-10-30 21:24     ` Thomas Ziehmer [RHRK]
1998-10-30 23:39   ` Roland Jesse
1998-10-30 23:56     ` RoboHak
1998-11-01  8:56       ` Roland Jesse
1998-11-01 18:13         ` Bart Schaefer
1998-11-02  9:30         ` Zefram
1998-11-02  9:32         ` kristiag [this message]
1998-11-02 11:03           ` Helmut Jarausch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19981102103233.A1700@stud.math.ntnu.no \
    --to=kristiag@stud.math.ntnu.no \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).