From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Failure building ctags with MinGW. Date: Thu, 17 Dec 2009 22:18:11 +0100 Message-ID: <87d42ds3jg.fsf@telefonica.net> References: <87iqc5s6v7.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1261084851 14321 80.91.229.12 (17 Dec 2009 21:20:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Dec 2009 21:20:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 17 22:20:44 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLNm5-0008Qp-Fj for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2009 22:20:41 +0100 Original-Received: from localhost ([127.0.0.1]:58416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLNm5-0003Tv-6C for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2009 16:20:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLNkB-0002ge-EI for emacs-devel@gnu.org; Thu, 17 Dec 2009 16:18:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLNk7-0002dg-Fi for emacs-devel@gnu.org; Thu, 17 Dec 2009 16:18:43 -0500 Original-Received: from [199.232.76.173] (port=58957 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLNk7-0002dZ-91 for emacs-devel@gnu.org; Thu, 17 Dec 2009 16:18:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:38401) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NLNk6-0006T2-SF for emacs-devel@gnu.org; Thu, 17 Dec 2009 16:18:39 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLNk3-0007RV-Gp for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:18:35 +0100 Original-Received: from 64.red-83-34-21.dynamicip.rima-tde.net ([83.34.21.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 22:18:35 +0100 Original-Received: from ofv by 64.red-83-34-21.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 22:18:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 64.red-83-34-21.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:dKLaomP2XJ7Yk5fh9WOHVcglq+8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118683 Archived-At: The build was picking GNUWin32's regex.h. Removing it and rebuilding solved the problem. Óscar Fuentes writes: > While building with MinGW and GNUWin32: > > gcc -o oo-spd/i386/ctags.exe -gdwarf-2 -g3 -Lc:/apps/gnuwin32/lib oo-spd/i386/ctags.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o oo-spd/i386/ntlib.o oo-spd/i386/regex.o -ladvapi32 > oo-spd/i386/ctags.o: In function `readline': > d:\dev\other\bzr-emacs\personal\lib-src/ctags.c:6335: undefined reference to `_imp__re_match' > oo-spd/i386/ctags.o: In function `add_regex': > d:\dev\other\bzr-emacs\personal\lib-src/ctags.c:5880: undefined reference to `_imp__re_set_syntax' > d:\dev\other\bzr-emacs\personal\lib-src/ctags.c:5884: undefined reference to `_imp__re_compile_pattern' > d:\dev\other\bzr-emacs\personal\lib-src/ctags.c:5882: undefined reference to `_imp__re_set_syntax' > oo-spd/i386/ctags.o: In function `regex_tag_multiline': > d:\dev\other\bzr-emacs\personal\lib-src/ctags.c:6006: undefined reference to `_imp__re_search' > collect2: ld returned 1 exit status > make[2]: *** [oo-spd/i386/ctags.exe] Error 1 > make[2]: se sale del directorio `d:/dev/other/bzr-emacs/personal/lib-src' > make[1]: *** [all-other-dirs-gmake] Error 2 > make[1]: se sale del directorio `d:/dev/other/bzr-emacs/personal/nt' > make: *** [bootstrap] Error 2 > > Isn't -lregex missing from the link command line? -- Óscar