bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BASH 2.04 will not make - Revision of report of 2001/1/15


From: Chet Ramey
Subject: Re: BASH 2.04 will not make - Revision of report of 2001/1/15
Date: Mon, 22 Jan 2001 11:29:47 -0500

> This is to report a compile bug in the both versions 2.03 and 2.04.  I
> used ./configure with and without options.  When make is executed the
> following error is generated.
> 
> rm -f shell.o
> gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
> -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"'
> -DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64
> -I.  -I. -I./include -I./lib -I/usr/local/include -g -O2 -c shell.c
> In file included from shell.h:26,
>                  from shell.c:45:
> general.h:190: parse error before `string_to_rlimtype'
> general.h:190: warning: data definition has no type or storage class
> general.h:191: parse error before `int'
> make: *** [shell.o] Error 1

(I'm doing this from memory; it may not be exactly correct.)

Autoconf messes up the test for RLIMTYPE.  It gets some spurious output
it doesn't understand, and marks the test as having failed.  Consequently,
there is something like

#define RLIMTYPE

in config.h.  Append the correct definition, making that line look something
like

#define RLIMTYPE rlim_t

and see if that fixes the problem.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]