Compilation error in bash-2.05b

JHMORRIS47 at sbcglobal.net JHMORRIS47 at sbcglobal.net
Sat Nov 2 20:45:58 PST 2002


I am currently using version4.0 for the lfs book. The only 
deviation I did was to use bash 2.05b instead of 2.05a. This is 
the compilation error I got during compiling: 
 
rm -f shell.o 
gcc -s  -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:42, 
                 from shell.c:48: 
externs.h:177: conflicting types for `gethostname' 
/usr/include/unistd.h:734: previous declaration of 
`gethostname' 
externs.h:213: conflicting types for `strncasecmp' 
/usr/include/string.h:277: previous declaration of 
`strncasecmp' 
make: *** [shell.o] Error 1 
 
Any help would be greatly appreciated. 
 
Jason 

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