emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99687: Document problems on MS-Wi


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99687: Document problems on MS-Windows with incompatible regex.h headers.
Date: Sat, 27 Mar 2010 15:52:55 +0300
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99687
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-23
timestamp: Sat 2010-03-27 15:52:55 +0300
message:
  Document problems on MS-Windows with incompatible regex.h headers.
  
   PROBLEMS: Mention problems on MS-Windows with incompatible
   regex.h headers.
modified:
  etc/ChangeLog
  etc/PROBLEMS
=== modified file 'etc/ChangeLog'
--- a/etc/ChangeLog     2010-03-15 10:45:03 +0000
+++ b/etc/ChangeLog     2010-03-27 12:52:55 +0000
@@ -1,3 +1,8 @@
+2010-03-27  Eli Zaretskii  <address@hidden>
+
+       * PROBLEMS: Mention problems on MS-Windows with incompatible
+       regex.h headers.
+
 2010-03-15  Francesc Rocher  <address@hidden>
 
        * MORE.STUFF: Remove CEDET entry, now distributed as part of

=== modified file 'etc/PROBLEMS'
--- a/etc/PROBLEMS      2010-03-19 15:15:27 +0000
+++ b/etc/PROBLEMS      2010-03-27 12:52:55 +0000
@@ -2478,6 +2478,26 @@
 4.1.1, and 4.1.2, are currently the _only_ versions known to succeed
 in building Emacs (as of v22.1).
 
+*** Building the native MS-Windows port fails due to unresolved externals
+
+The linker error messages look like this:
+
+ oo-spd/i386/ctags.o:ctags.c:(.text+0x156e): undefined reference to 
`_imp__re_set_syntax'
+ collect2: ld returned 1 exit status
+
+This happens because GCC finds an incompatible header regex.h
+somewhere on the include path, before the version of regex.h supplied
+with Emacs.  One such incompatible version of regex.h is part of the
+GnuWin32 Regex package.
+
+The solution is to remove the incompatible regex.h from the include
+path, when compiling Emacs.  Alternatively, re-run the configure.bat
+script with the "-isystem C:/GnuWin32/include" switch (adapt for your
+system's place where you keep the GnuWin32 include files) -- this will
+cause the compiler to search headers in the directories specified by
+the Emacs Makefile _before_ it looks in the GnuWin32 include
+directories.
+
 *** Building the native MS-Windows port with Cygwin GCC can fail.
 
 Emacs may not build using some Cygwin builds of GCC, such as Cygwin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]