bash compile error

Jon Craig jcraig03 at tampabay.rr.com
Fri Nov 1 11:30:44 PST 2002


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 


I Google-ed for the answer - found it but the archive mailserver is
'disconnected' (I read so on Distrowatch).
Would anyone be so kind as to re-post the solution?
JC

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