|
From: | Óscar Fuentes |
Subject: | Re: Failure building ctags with MinGW. |
Date: | Thu, 17 Dec 2009 22:18:11 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
The build was picking GNUWin32's regex.h. Removing it and rebuilding solved the problem. Óscar Fuentes <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |