This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash 4.3 - undefined reference to `_sigsetjmp'

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 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,

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 <>

Regards, Thomas

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]