Bash 2.04 static compilation

Brad Hartin bhartin at satx.rr.com
Fri Oct 13 19:46:52 PDT 2000


On Fri, 13 Oct 2000, Apokolips wrote:

> [root at localhost bash-2.04]# make
> rm -f shell.o
> gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/include -g -O2 -c shell.c
> In file included from /usr/include/signal.h:300,
>                  from shell.c:36:
> /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
> In file included from /usr/include/errno.h:36,
>                  from shell.c:37:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make: *** [shell.o] Error 1
> [root at localhost bash-2.04]#

Make sure you set up your symlinks correctly...

cd $LFS/usr/include && \
ln -s ../src/linux/include/asm asm && \
ln -s ../src/linux/include/linux linux


---------------------------------
Brad Hartin - bhartin at strafco.com
Communications Administrator
Straus Frank Enterprises, Ltd.


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




More information about the lfs-dev mailing list