[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] Bash 2.05b build failure on OSX10.4
From: |
Geoff Down |
Subject: |
[Help-bash] Bash 2.05b build failure on OSX10.4 |
Date: |
Sun, 05 Oct 2014 20:04:28 +0100 |
Hi,
I'm trying to build patched bash2.05b under OSX10.4 PPC. I downloaded
the tarball and patches from http://ftp.gnu.org/gnu/bash/ - 'patch'
gave some warnings about 'missing context diff headers' but seemed to
apply the patches anyway.
Configure gives lots of errors (log attached) but completes. Make gives
quite a few warnings and then fails at this point:
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde -L./lib/sh -g -O2 -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 jobs.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 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 -lsh -lreadline
-lhistory -ltermcap -lglob -ltilde -ldl
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _tilde_expand
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _tilde_expand
./lib/tilde/libtilde.a(tilde.o) definition of _tilde_expand in section
(__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _get_history_event
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _get_history_event
./lib/readline/libhistory.a(histexpand.o) definition of
_get_history_event in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_arg_extract
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_arg_extract
./lib/readline/libhistory.a(histexpand.o) definition of
_history_arg_extract in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_expand
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_expand
./lib/readline/libhistory.a(histexpand.o) definition of _history_expand
in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_expansion_char
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_expansion_char
./lib/readline/libhistory.a(histexpand.o) definition of
_history_expansion_char in section (__DATA,__data)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_no_expand_chars
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_no_expand_chars
./lib/readline/libhistory.a(histexpand.o) definition of
_history_no_expand_chars in section (__DATA,__data)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_subst_char
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_subst_char
./lib/readline/libhistory.a(histexpand.o) definition of
_history_subst_char in section (__DATA,__data)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_tokenize
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_tokenize
./lib/readline/libhistory.a(histexpand.o) definition of
_history_tokenize in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _read_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _read_history
./lib/readline/libhistory.a(histfile.o) definition of _read_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _write_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _write_history
./lib/readline/libhistory.a(histfile.o) definition of _write_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_search
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_search
./lib/readline/libhistory.a(histsearch.o) definition of _history_search
in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_search_pos
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_search_pos
./lib/readline/libhistory.a(histsearch.o) definition of
_history_search_pos in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_search_prefix
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_search_prefix
./lib/readline/libhistory.a(histsearch.o) definition of
_history_search_prefix in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _add_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _add_history
./lib/readline/libhistory.a(history.o) definition of _add_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _clear_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _clear_history
./lib/readline/libhistory.a(history.o) definition of _clear_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _current_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _current_history
./lib/readline/libhistory.a(history.o) definition of _current_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_base
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_base
./lib/readline/libhistory.a(history.o) definition of _history_base in
section (__DATA,__data)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_get
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_get
./lib/readline/libhistory.a(history.o) definition of _history_get in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_is_stifled
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_is_stifled
./lib/readline/libhistory.a(history.o) definition of _history_is_stifled
in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_set_pos
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_set_pos
./lib/readline/libhistory.a(history.o) definition of _history_set_pos in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _history_total_bytes
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _history_total_bytes
./lib/readline/libhistory.a(history.o) definition of
_history_total_bytes in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _next_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _next_history
./lib/readline/libhistory.a(history.o) definition of _next_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _previous_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _previous_history
./lib/readline/libhistory.a(history.o) definition of _previous_history
in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _stifle_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _stifle_history
./lib/readline/libhistory.a(history.o) definition of _stifle_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _unstifle_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _unstifle_history
./lib/readline/libhistory.a(history.o) definition of _unstifle_history
in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _using_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _using_history
./lib/readline/libhistory.a(history.o) definition of _using_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _where_history
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib(readline.o_s)
definition of _where_history
./lib/readline/libhistory.a(history.o) definition of _where_history in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _getenv
./lib/sh/libsh.a(getenv.o) definition of _getenv in section
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(getenv.So)
definition of _getenv
collect2: ld returned 1 exit status
make: *** [bash] Error 1
GCC is powerpc-apple-darwin8-gcc-4.0.1 . In case it's relevant, my
current bash/sh is version 4.3 from Macports - it seems to work fine but
I was hoping to patch 2.05b in case any backward-compatibility problems
crop up.
Thanks in advance,
Geoff
--
http://www.fastmail.fm - Send your email first class
config.log.txt
Description: Text document
- [Help-bash] Bash 2.05b build failure on OSX10.4,
Geoff Down <=