From: leitner@gluon.inf.fu-berlin.de (Felix von Leitner)
To: jkroeger@squirrel.owl.de
Cc: zsh-users@math.gatech.edu
Subject: Re: zsh-2.6beta20 doesn't compile under Linux pre2.0.14
Date: Thu, 13 Jun 1996 02:25:30 +0200 [thread overview]
Message-ID: <m0uU0E6-0009tkC@inf.fu-berlin.de> (raw)
In-Reply-To: <19960607203126.2843.qmail@squirrel.owl.de>; from jkroeger@squirrel.owl.de on Jul 7, 1996 20:31:26 -0000
Thus spake jkroeger@squirrel.owl.de (jkroeger@squirrel.owl.de):
> Recent Linux kernels introduced a new limit for the address space of a process:
> #define RLIMIT_AS 9 /* address space limit */
> This makes compiling zsh fail with the following error message:
> builtin.c:3539: #error there are some unknown limits. Fix me!
> make[1]: *** [builtin.o] Error 1
> make[1]: Leaving directory `/usr/src/bin/zsh-2.6-beta20/Src'
> make: *** [Src] Error 2
Apply this diff, it works for me.
Felix
--- Src/builtin.c Thu Jun 13 02:23:09 1996
+++ Src/builtin.c.new Thu Jun 13 02:22:49 1996
@@ -3535,6 +3535,11 @@
# define NEXT_RLIM (RLIMIT_MEMLOCK + 1)
"memorylocked",
# endif /* RLIMIT_MEMLOCK */
+# if defined RLIMIT_AS && RLIMIT_AS == NEXT_RLIM
+# undef NEXT_RLIM
+# define NEXT_RLIM (RLIMIT_AS + 1)
+ "addressspace",
+# endif /* RLIMIT_AS */
# if NEXT_RLIM != RLIM_NLIMITS
#error there are some unknown limits. Fix me!
# endif
prev parent reply other threads:[~1996-06-13 0:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-07 20:31 jkroeger
1996-06-10 17:03 ` Zoltan Hidvegi
1996-06-10 17:39 ` Steven L Baur
1996-06-12 15:52 ` Johannes Kroeger
1996-06-13 0:25 ` Felix von Leitner [this message]
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=m0uU0E6-0009tkC@inf.fu-berlin.de \
--to=leitner@gluon.inf.fu-berlin.de \
--cc=jkroeger@squirrel.owl.de \
--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).