Subject: Re: bug#7790: cannot build dev tree on windows with mingw

From: Óscar Fuentes <[email-masked]>
Date: Wed, 05 Jan 2011 19:53:01 +0100

Sam Steingold <[email-masked]> writes:

> I cannot build emacs dev tree on windows using mingw.
> I did:
>  ./configure.bat --no-debug --with-gcc --without-xpm \
>     --cflags -IC:/gnu/gnuwin32/include --ldflags -LC:/gnu/gnuwin32/lib
> make bootstrap
> which eventually failed with
>
> gcc -o oo-spd/i386/ctags.exe    -mno-cygwin -LC:/gnu/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:ctags.c:(.text+0x19f3): undefined reference to
> `__imp__re_set_syntax'

Remove regex.h from your gnuwin32 setup.

That's mentioned on etc/PROBLEMS under this heading.

*** Building the native MS-Windows port fails due to unresolved externals

Closing.

[snip]