Hi,

I am new to this and this is my first mail on this list.

I am compiling bash-4.3.30 on Debian
I used following commands:
# tar zxf bash-4.3.30.tar.gz
# cd bash-4.3.30
# ./configure --enable-minimal-config
# make -C ../bash-4.3.30

It gave me following output (error in *BOLD*)

make: Entering directory `/root/bash-4.3.30'
/bin/sh ./support/mkversion.sh -b -S . -s release -d 4.3 -o newversion.h \
                && mv newversion.h version.h
gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"'
-DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include
-I./lib    -DBUILDTOOL -c -o buildversion.o ./version.c
gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"'
-DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include
-I./lib     -rdynamic   -rdynamic  -o bashversion ./support/bashversion.c
buildversion.o
          ***********************************************************
          *                                                         *
          * GNU bash, version 4.3.30(2)-release (i686-pc-linux-gnu)
          *                                                         *
          ***********************************************************
rm -f variables.o
gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"'
-DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include
-I./lib    -c variables.c
rm -f version.o
gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"'
-DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include
-I./lib    -c version.c
make[1]: Entering directory `/root/bash-4.3.30/builtins'
make[1]: Nothing to be done for `targets'.
make[1]: Leaving directory `/root/bash-4.3.30/builtins'
making lib/glob/libglob.a in ./lib/glob
make[1]: Entering directory `/root/bash-4.3.30/lib/glob'
( cd /root/bash-4.3.30 && make -w pathnames.h )
make[2]: Entering directory `/root/bash-4.3.30'
make[2]: Leaving directory `/root/bash-4.3.30'
make[1]: Leaving directory `/root/bash-4.3.30/lib/glob'
making lib/sh/libsh.a in ./lib/sh
make[1]: Entering directory `/root/bash-4.3.30/lib/sh'
( cd /root/bash-4.3.30 && make -w pathnames.h )
make[2]: Entering directory `/root/bash-4.3.30'
make[2]: Leaving directory `/root/bash-4.3.30'
make[1]: Leaving directory `/root/bash-4.3.30/lib/sh'
making lib/tilde/libtilde.a in ./lib/tilde
make[1]: Entering directory `/root/bash-4.3.30/lib/tilde'
make[1]: `libtilde.a' is up to date.
make[1]: Leaving directory `/root/bash-4.3.30/lib/tilde'
make[1]: Entering directory `/root/bash-4.3.30/lib/malloc'
rm -f libmalloc.a
ar cr libmalloc.a malloc.o  trace.o stats.o table.o watch.o
test -n "ranlib" && ranlib libmalloc.a
make[1]: Leaving directory `/root/bash-4.3.30/lib/malloc'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde -L./lib/malloc -L./lib/sh  -rdynamic   -o bash shell.o eval.o
y.tab.o general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o
variables.o copy_cmd.o error.o expr.o flags.o nojobs.o subst.o hashcmd.o
hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o
version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o
bashhist.o bashline.o  list.o stringlib.o locale.o findcmd.o redir.o
pcomplete.o pcomplib.o syntax.o xmalloc.o  -lbuiltins -lglob -lsh
-ltilde -lmalloc    -ldl






*./builtins/libbuiltins.a(shopt.o): In function
`shopt_enable_hostname_completion':shopt.c:(.text+0x945): undefined
reference to `enable_hostname_completion'./lib/glob/libglob.a(gmisc.o): In
function `glob_dirscan':gmisc.c:(.text+0x7df): undefined reference to
`glob_patscan'collect2: ld returned 1 exit statusmake: *** [bash] Error
1make: Leaving directory `/root/bash-4.3.30'*


Can someone point out what happened wrong here?
When I compiled my previous bash-3.0, it compiled successfully.

Thanks & Regards,
Dhiraj

Reply via email to