Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Strange behaviour of zsh-3.1.5 on IRIX 6.2

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' on my
IRIX 6.2 machine. Using `egcs-2.92.07 19980914' works just fine,

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

Messages sorted by: Reverse Date, Date, Thread, Author