Re: Error while building a static version of Bash 4.3.30

2014-12-15 Thread Chet Ramey
On 12/15/14, 6:59 AM, Sergey Mikhailov wrote: > Hello, > I've tried to build a static version of Bash 4.3.30 using these commands: > > export CFLAGS="-static -O2 -g" > export PATH="/usr/bin:$PATH" > ./configure --without-bash-malloc > make > > and got this error: > > ./lib/sh/libsh.a(shmatch.o):

Error while building a static version of Bash 4.3.30

2014-12-15 Thread Sergey Mikhailov
Hello, I've tried to build a static version of Bash 4.3.30 using these commands: export CFLAGS="-static -O2 -g" export PATH="/usr/bin:$PATH" ./configure --without-bash-malloc make and got this error: ./lib/sh/libsh.a(shmatch.o): In function `sh_regmatch': /home/serge/Downloads/bash-4.3.30/lib/sh