> You also need ‘--without-bash-malloc’ (see ‘bash-light’ in bash.scm).
# ./configure --enable-static-link \ --without-bash-malloc \ --disable-readline \ --disable-history \ --disable-help-builtin \ --disable-progcomp \ --disable-net-redirections \ --disable-nls # make [...] ./lib/tilde/libtilde.a(tilde.o): In function `tilde_expand_word': /home/bash/bash-4.2/lib/tilde/tilde.c:374: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking shell.o: In function `get_current_user_info': /home/bash/bash-4.2/shell.c:1641: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /home/bash/bash-4.2/shell.c:1657: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ./lib/sh/libsh.a(shmatch.o): In function `sh_regmatch': /home/bash/bash-4.2/lib/sh/shmatch.c:111: undefined reference to `sh_xfree' /home/bash/bash-4.2/lib/sh/shmatch.c:111: undefined reference to `sh_xfree' /home/bash/bash-4.2/lib/sh/shmatch.c:112: undefined reference to `sh_xfree' /home/bash/bash-4.2/lib/sh/shmatch.c:112: undefined reference to `sh_xfree' ./lib/sh/libsh.a(winsize.o): In function `get_new_window_size': /home/bash/bash-4.2/lib/sh/winsize.c:88: undefined reference to `rl_set_screen_size' /home/bash/bash-4.2/lib/sh/winsize.c:88: undefined reference to `rl_set_screen_size' collect2: error: ld returned 1 exit status make: *** [bash] Error 1 Should I remove '--enable-static-link'? Nikita
pgpYm5AtjPXNu.pgp
Description: PGP signature