bash compile error

Jon Craig jcraig03 at tampabay.rr.com
Fri Nov 1 12:05:08 PST 2002


Yes, using MDK 9 - that worked!

Thanks!

-----Original Message-----
From: billyoc at dps55.oconnoronline.net
[mailto:billyoc at dps55.oconnoronline.net] On Behalf Of Billy O'Connor
Sent: Friday, November 01, 2002 2:32 PM
To: lfs-support at linuxfromscratch.org
Subject: Re: bash compile error


jcraig03 at tampabay.rr.com ("Jon Craig") writes:

> Getting fhe following problem :
> 
>           *********************************************************** 
>           * * 
>           * GNU bash, version 2.05a.0(11)-release (i686-pc-linux-gnu) 
>           * * 
>           ***********************************************************
> rm -f shell.o 
> gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
> -DCONF_OSTYPE='"linux-gnu"' 
> -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL 
> -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c shell.c 
> 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 

If that's mandrake 9 you're using, just install the glibc-static-devel
RPM and you should be good to go.

Billy
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

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