BASh install problem

A D B hackmaster451 at
Thu Jan 2 21:00:41 PST 2003

I'm using Mandrake 9.0 as my development platform, and I have installed the current version of ncurses, making sure that libcurses.a and libncurses.a exist in /usr/lib.
After configuring BASh, make puts out the following errors:

gcc -s  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/mnt/lfs/static/include -g -O2 -D_FILE_OFFSET_BITS=64  -o mksyntax ./mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh ./support/ -b -s release -d 2.05 -p 0 -o newversion.h \
&& mv newversion.h version.h

          *                                                         *
          * Making Bash-2.05.0-release for a i686 running linux-gnu
          *                                                         *

rm -f shell.o
gcc -s  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"'                                                               HELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/mn
In file included from shell.h:38,
                 from shell.c:45:
externs.h:147: conflicting types for `gethostname'
/usr/include/unistd.h:734: previous declaration of `gethostname'
externs.h:164: conflicting types for `setlinebuf'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdio.h:277: previous decla
externs.h:180: conflicting types for `strncasecmp'
/usr/include/string.h:277: previous declaration of `strncasecmp'
make: *** [shell.o] Error 1

I even tried it w/out using ncurses and the exact same errors were produced, leading me to belive that it is something entirely different.

Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list