X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=kRR4EXDEJ7NIDOB9 HyDjBdDBJK2/8p6JtuHcjyveMTFTJqHgH9Auh7KcOYT2g7G+3kNAMfigytzeJHxh GHCy2zwAY53Ard1SQwVZypKADlfdljn/ogb6zZ0pguFsBYShl12Jvyx3RGxLCZAk fPKd/pmMj8c7XzjMkYx73qFb3fM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=fOaZO+1aI8pRCiEuj6iRCp EjHWM=; b=GXRCW35wgJhmAHG6n2VltOpIRSJfo2to7Uok50PkRGDONGqZO3aTOL gQmH6346UZD4//mxNUE6nB2XL8w2D1NemcT/rVteImpO48OcU0gChGG74A8qdpKL 1nXMexrXeFs2Om0SiOPt6p9QDblvQNJ+OZVi87wo7EKswh857zmqE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mout.gmx.net Message-ID: <542AA0B8.9090402@gmx.at> Date: Tue, 30 Sep 2014 14:23:20 +0200 From: Thomas Plank User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Alexpux CC: cygwin AT cygwin DOT com Subject: Re: bash 4.3 - undefined reference to `_sigsetjmp' References: <542A9873 DOT 2060703 AT gmx DOT at> <8530C40A-8943-4CCA-8DF9-1C86CED9D5CC AT gmail DOT com> In-Reply-To: <8530C40A-8943-4CCA-8DF9-1C86CED9D5CC@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-UI-Out-Filterresults: notjunk:1; Note-from-DJ: This may be spam 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 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