bash compile error

Tan Siong Hua xianghua at freeshell.org
Thu Nov 7 05:05:35 PST 2002


when compiling static bash in lfs 4.0 under mandrake 9. I get this error.

rm -f shell.o
gcc -s  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gn
u"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL -DHAV
E_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



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002


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