unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Failure building ctags with MinGW.
Date: Thu, 17 Dec 2009 22:18:11 +0100	[thread overview]
Message-ID: <87d42ds3jg.fsf@telefonica.net> (raw)
In-Reply-To: 87iqc5s6v7.fsf@telefonica.net

The build was picking GNUWin32's regex.h. Removing it and rebuilding
solved the problem.

Óscar Fuentes <ofv@wanadoo.es> 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





  reply	other threads:[~2009-12-17 21:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 20:06 Failure building ctags with MinGW Óscar Fuentes
2009-12-17 21:18 ` Óscar Fuentes [this message]
2009-12-18  8:54   ` Eli Zaretskii
2009-12-18 15:24     ` Óscar Fuentes
2009-12-18 20:59       ` Eli Zaretskii
2009-12-18 21:10         ` Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d42ds3jg.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).