Compiling bash: mksyntax or errno.h?

Adam Ottley aottley at home.com
Sat Oct 13 13:25:10 PDT 2001


On October 13, 2001 02:14 pm, you wrote:
> When I compile bash (from LFS 3.0) with my Suse Linux I get:
> 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/lfs/usr/include -g -O2 -D_FILE_OFFSET_BITS=64 
> -o mksyntax ./mksyntax.c In file included from /usr/include/errno.h:36,
>                  from ./mksyntax.c:27:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make: *** [mksyntax] Error 1
>
> Unfortunately I have not enough knowledge to make sense
> of this error message. So what can I do?
> I have all software that is listed in the section
> "Needed for bash" on my sources system installed.
>
> Peter Wiehe [mail10 <at> peterwiehe.de ]

Are you doing the static build?  It looks like your kernel headers are 
missing.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list