scsh-users
[Top] [All Lists]

Re: scsh-0.2 and linux.

To: back0003@gold.tc.umn.edu
Subject: Re: scsh-0.2 and linux.
From: Olin Shivers <shivers@clark.lcs.mit.edu>
Date: Wed, 16 Nov 94 22:13:58 -0500
Cc: scsh-bugs@martigny.ai.mit.edu
Reply-to: shivers@mintaka.lcs.mit.edu
   Well, a trivial point for patching purposes is that /usr/include/sys/errno.h 
   is nothing more than "#include <errno.h>".  

Whatever. Do the right thing.

   So, in /usr/src/linux-1.1.54/include/linux/errno.h, the actual value for
   EWOULDBLOCK is EAGAIN.  S48 chokes on this as an undefined symbol.
   Elsewhere in errno.h, "#define EAGAIN 11;".  I replaced 'EAGAIN' with 11
   which resolved the immediate problem and revealed another one, the clue for
   which is in the appended make.err file.

You have to put in a numeric value, as I said in my earlier msg.

You have the exact same problem with i386_linux/signal.scm.
Change these:
  (io           23)
  (poll         io)
  (urg          io)
to
  (io           23)
  (poll         23)
  (urg          23)

Obviously, whoever made these linux files just made them from
the original .h files using some emacs macros, and didn't check
the results very carefully.

If you have any other problems, they should be of a similarly trivial
nature. All these numeric definitions in i386_linux have to be *numeric*.
    -Olin

<Prev in Thread] Current Thread [Next in Thread>