Error compiling BASH: cannot get hostname
chris at stockwith.co.uk
Sat Oct 5 11:13:38 PDT 2002
Chris Keelan wrote:
> Working with the 4.0-RC1 version of the book and packages. It's my first
> time through this so I appologize if the answer is obvious.
> bash fails its build with the following error:
> In file included from shell.h:41,
> from shell.c:48:
> externs.h:163: conflicting types for `gethostname'
> /usr/include/unistd.h:734: previous declaration of `gethostname'
> externs.h:196: conflicting types for `strncasecmp'
> /usr/include/string.h:277: previous declaration of `strncasecmp'
> make: *** [shell.o] Error 1
This has been seen a long time ago. Your base system may be too old
to build LFS 4.0; and you might need to build LFS 3.3 first.
What base system are you using, version of glibc and gcc also would
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