bug-bash
[Top][All Lists]
Advanced

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

Error while building a static version of Bash 4.3.30


From: Sergey Mikhailov
Subject: Error while building a static version of Bash 4.3.30
Date: Mon, 15 Dec 2014 03:59:52 -0800 (PST)
User-agent: G2/1.0

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/shmatch.c:111: undefined
reference to `sh_xfree'
/home/serge/Downloads/bash-4.3.30/lib/sh/shmatch.c:112: undefined
reference to `sh_xfree'
collect2: error: ld returned 1 exit status
make: *** [bash] Error 1

Not sure, may be I overlooked something.
Can it be some bug or missing dependency in the Bash source code?

Regards,
Sergey.


reply via email to

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