This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash 4.3 - undefined reference to `_sigsetjmp'
- From: Thomas Plank <tplank at gmx dot at>
- To: Alexpux <alexpux at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 30 Sep 2014 14:23:20 +0200
- Subject: Re: bash 4.3 - undefined reference to `_sigsetjmp'
- Authentication-results: sourceware.org; auth=none
- References: <542A9873 dot 2060703 at gmx dot at> <8530C40A-8943-4CCA-8DF9-1C86CED9D5CC at gmail dot com>
Am 30.09.2014 um 13:56 schrieb Alexpux:
30 ÑÐÐÑ. 2014 Ð., Ð 15:48, Thomas Plank ÐÐÐÐÑÐÐ(Ð):
I am trying to compile bash 4.3 on cygwin32.
I applied all available patches (up to 27) but in the end I'm getting an undefined reference error:
***********************************************************
* *
* GNU bash, version 4.3.27(1)-release (i686-pc-cygwin)
* *
***********************************************************
rm -f bash.exe
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -g -O2 -o bash.exe 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 assoc.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 -lglob -lsh -lreadline -lhistory -lcurses -ltilde -lintl -liconv -ldl
shell.o: In function `run_one_command':
/cygdrive/f/sourcen/bash-4.3/shell.c:1318: undefined reference to `_sigsetjmp'
shell.o: In function `main':
/cygdrive/f/sourcen/bash-4.3/shell.c:384: undefined reference to `_sigsetjmp'
/cygdrive/f/sourcen/bash-4.3/shell.c:450: undefined reference to `_sigsetjmp'
eval.o: In function `reader_loop':
/cygdrive/f/sourcen/bash-4.3/eval.c:82: undefined reference to `_sigsetjmp'
execute_cmd.o: In function `execute_in_subshell':
/cygdrive/f/sourcen/bash-4.3/execute_cmd.c:1555: undefined reference to `_sigsetjmp'
execute_cmd.o:/cygdrive/f/sourcen/bash-4.3/execute_cmd.c:1561: more undefined references to `_sigsetjmp' follow
./lib/readline/libreadline.a(util.o): In function `_rl_abort_internal':
/cygdrive/f/sourcen/bash-4.3/lib/readline/util.c:112: undefined reference to `_siglongjmp'
./lib/readline/libreadline.a(callback.o): In function `rl_callback_read_char':
/cygdrive/f/sourcen/bash-4.3/lib/readline/callback.c:129: undefined reference to `_sigsetjmp'
collect2: error: ld returned 1 exit status
Makefile:553: recipe for target 'bash.exe' failed
make: *** [bash.exe] Error 1
Are there any patches to enable compilation on cygwin?
Thanks in advance,
Thomas
You can pass to configure "bash_cv_func_sigsetjmp=missingÂ
Thank you very much!
$ bash --version
GNU bash, version 4.3.27(1)-release (i686-pc-cygwin)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Regards, Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple