Bash-2.05a compilation errors

Aaron Cordova basicasm at hotmail.com
Sun Oct 6 20:52:42 PDT 2002


I am trying to compile bash on the new mandrake 9.0 there must be errors in 
the c-lib that ships with mandrake 9. make exits with the following lines


          ***********************************************************
          *                                                         *
          * GNU bash, version 2.05a.0(3)-release (i686-pc-linux-gnu)
          *                                                         *
          ***********************************************************

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: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 my theory is correct, where can I get a good lib from to replace the bad 
files? Or if I'm off base what do I need to do, and what is the real nature 
of the error. Thank you for your help.

Aaron Cordova
basicasm at hotmail.com



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

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