Help Unable to compile bash

Richard Pinnell pinr at
Tue Oct 8 05:19:12 PDT 2002

Hi I'm trying to install lfs from a mandrake 9 dist. 
However when I come to compile the first package Bash
2.05a I get 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
externs.h:196: conflicting types for `strncasecmp'
/usr/include/string.h:277: previous declaration of
make: *** [shell.o] Error
Why is bash declaring a funcitons gethostname and
strncasecmp differently from my glibc?  What can I do
to get it to compile.  Thanks

Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list