zsh-workers
 help / color / mirror / code / Atom feed
From: <dwolfe@gforcetech.com>
To: zsh-workers@sunsite.dk
Subject: Re: Problems building zsh on QNX 6.1
Date: Mon, 03 Jun 2002 08:10:06 -0700	[thread overview]
Message-ID: <web-21519720@mx.radiant.net> (raw)
In-Reply-To: <6134254DE87BD411908B00A0C99B044F02E89B57@mowd019a.mow.siemens.ru>

> > Hello...  I wanted to report some trouble I had building zsh 4.0.2
> > for QNX 6.1.

Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru> wrote:

> could you please try with 4.0.4 just to be sure it still has the same
> problems there?
>
>
> -andrej


Oh, I'm sorry--I thought I downloaded the latest version.  (The only
version available at the foad.org mirror was zsh-4.0.2.)


The 'configure' script for zsh-4.0.4 works fine under QNX 6.1, but I
still get the following error when I make:

make[3]: Entering directory `/usr/local/src/zsh-4.0.4/Src/Builtins'
gawk -f ./rlimits.awk /usr/include/sys/resource.h /dev/null > rlimits.h
gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes
-O2 -o rlimits.o rlimits.c
rlimits.c: In function `bin_ulimit':
rlimits.c:569: duplicate case value
rlimits.c:563: this is the first entry for that value
make[3]: *** [rlimits.o] Error 1
make[3]: Leaving directory `/usr/local/src/zsh-4.0.4/Src/Builtins'
make[2]: *** [modobjs] Error 1
make[2]: Leaving directory `/usr/local/src/zsh-4.0.4/Src'
make[1]: *** [modobjs] Error 2
make[1]: Leaving directory `/usr/local/src/zsh-4.0.4/Src'
make: *** [all] Error 1

The following snippet of the output from 'gcc -E rlimit.c':

    if (strcmp(*argv, "unlimited")) {

        rlim_t limit;
        limit = zstrtorlimt(*argv, 0 , 10);

        switch (res) {
        case 1 :
        case 4 :
        limit *= 512;
        break;
        case 2 :
        case 3 :
        case 6  :
        case 7 :
        case 6  :
        limit *= 1024;
        break;
        }

reveals that RLIMIT_RSS and RLIMIT_VMEM are both expanding to '6'.


Please let me know if I can be of any help resolving this...

- Dave


  reply	other threads:[~2002-06-03 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03  1:42 dwolfe
2002-06-03  5:17 ` Borsenkow Andrej
2002-06-03 15:10   ` dwolfe [this message]
2002-06-04 21:00 David Wolfe
2002-06-05  9:07 ` Peter Stephenson

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=web-21519720@mx.radiant.net \
    --to=dwolfe@gforcetech.com \
    --cc=zsh-workers@sunsite.dk \
    /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).