bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash4 --disable-aliases


From: BuraphaLinux Server
Subject: bash4 --disable-aliases
Date: Tue, 16 Jun 2009 14:39:39 +0700

For bash, I normally build a rescue shell using the option  --disable-alias

When testing bash 4.0 with patches 001 through 024 applied, and this configure:

./configure \
  --prefix=/usr \
  --sysconfdir=/etc \
  --libdir=/lib \
  --sbindir=/sbin \
  --bindir=/bin \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --without-bash-malloc \
  --disable-rpath \
  --disable-nls \
  --enable-static-link \
  --disable-alias \
  --disable-history \
  --disable-progcomp \
  --disable-readline \
  --build=i586-pc-linux-gnu

I get this:

variables.o: In function `build_aliasvar':
variables.c:(.text+0x1756): undefined reference to `aliases'
variables.c:(.text+0x1789): undefined reference to `aliases'
variables.c:(.text+0x17ef): undefined reference to `aliases'
variables.o: In function `assign_aliasvar':
variables.c:(.text+0x4918): undefined reference to `add_alias'
collect2: ld returned 1 exit status

The attached patch, applied after patches 001 through 0024, fixes this for me.

John Gatewood Ham

Attachment: alias.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]