Bash 2.04

½­Ö¾ xmjz at
Tue Oct 3 04:47:03 PDT 2000

Hi Friend,
Julio Recalde wrote:
>Hi. I've just started with the book, and I'm triyng to do it on a reiserfs,
>using the kernel 2.4.0 test8. I get the following error when trying to
>compile bash-2.04 that I got from the lfs site:
>julio:/mnt/LFS/usr/src/bash-2.04 # make
>rm -f shell.o
>gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"'
>-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-pc-linux-gnu"'
> -D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/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
>Any ideas? It looks like a bug.
>			Julio J. Recalde L.
>Lejre, 30/09/00
>"...y lo que no duele no sirve." -JR
>" gusta abrir los ojos y estar vivo, tener que vermelas 
>con la resaca"-FP
>"Pero decia el abuelo que dos diferencias pueden irse formando 
>dos grandes coincidencias"-RA 
>"God blesses America, but He lives in Europe"-JR

I had also get the error in use 2.4(2.2.x is ok).
Only use #undef RLIMTYPE will cause another complie error at execute_cmd.c
I add #include <sys/resource.h> after #include <sys/types.h> in the file bashtypes.h 
It will only cause complie warning ,ignore the warning.

sorry for my poor english

            xmjz at

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list