[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot configure current cvs checkout
From: |
Martin MOKREJŠ |
Subject: |
Re: Cannot configure current cvs checkout |
Date: |
Mon, 5 May 2003 20:46:40 +0200 (CEST) |
On Sun, 26 Apr 2003, Paul Eggert wrote:
Yes, this fix in current cvs removes this problem. Thanks.
> Martin MOKREJ© <address@hidden> writes:
>
> > ar cru libbison.a argmatch.o basename.o dirname.o get-errno.o getopt.o
> > getopt1.o hash.o mbswidth.o quote.o quotearg.o subpipe.o xmalloc.o
> > xstrdup.o xstrndup.o abitset.o bitset.o ebitset.o bitsetv.o bitset_stats.o
> > lbitset.o bitsetv-print.o timevar.o error.o error.o memrchr.o stpcpy.o
> > strnlen.o obstack.o malloc.o realloc.o
> > ar: Warning: ignoring second definition of error defined in archive
> > ar: Warning: ignoring second definition of error_at_line defined in archive
>
> Thanks for reporting this problem. It arises because Bison's
> configure.ac invokes AC_FUNC_ERROR_AT_LINE twice; once directly, and
> once via gl_ERROR. If you invoke AC_FUNC_ERROR_AT_LINE twice,
> "configure" attempts to put error.o in the archive twice, and this is
> a mistake on your platform. Perhaps this is a bug in
> AC_FUNC_ERROR_AT_LINE?
>
> Anyway, I fixed the Bison problem by installing the following patch.
> Bison never invokes error_at_line directly, only via error.c, so this
> fix is the right thing to do even if AC_FUNC_ERROR_AT_LINE is buggy.
>
>
> 2003-04-26 Paul Eggert <address@hidden>
>
> * configure.ac (AC_FUNC_ERROR_AT_LINE): Remove, since gl_ERROR
> invokes it. We shouldn't invoke it twice because it will attempt
> to put error.o in the archive twice. This fixes a glitch reported
> by Martin Mokrejs in
> <http://mail.gnu.org/archive/html/bug-bison/2003-04/msg00041.html>.
>
> --- configure.ac.~1.34.~ Wed Mar 12 15:08:06 2003
> +++ configure.ac Sat Apr 26 22:18:22 2003
> @@ -101,7 +101,6 @@ AC_CHECK_DECLS([free, getenv, getopt,
> stpcpy, strchr, strspn, strnlen,
> malloc, memchr, memrchr])
> AC_REPLACE_FUNCS(strchr strrchr strspn)
> -AC_FUNC_ERROR_AT_LINE
> AM_WITH_DMALLOC
> BISON_PREREQ_SUBPIPE
> BISON_PREREQ_TIMEVAR
>
--
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
- Re: Cannot configure current cvs checkout,
Martin MOKREJŠ <=