Help Unable to compile bash

Billy O'Connor billy at oconnoronline.net
Tue Oct 8 01:29:39 PDT 2002


pinr at rocketmail.com (Richard Pinnell) writes:

> 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
> `gethostname'
> externs.h:196: conflicting types for `strncasecmp'
> /usr/include/string.h:277: previous declaration of
> `strncasecmp'
> 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
> Richard


Make sure you have the glibc-static-devel rpm installed.

Billy
-- 
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