diff options
| author | Eli Zaretskii | 2010-03-27 15:52:55 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-03-27 15:52:55 +0300 |
| commit | 5660c0f5b856735d2259d04d890be52902dbbc78 (patch) | |
| tree | 6805b4344654293c1c3bc03b3aea75ff4a806a99 /etc | |
| parent | 9478502212bb8eea71a5d96805fe40f3c9d29561 (diff) | |
| download | emacs-5660c0f5b856735d2259d04d890be52902dbbc78.tar.gz emacs-5660c0f5b856735d2259d04d890be52902dbbc78.zip | |
Document problems on MS-Windows with incompatible regex.h headers.
PROBLEMS: Mention problems on MS-Windows with incompatible
regex.h headers.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/PROBLEMS | 20 |
2 files changed, 25 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 7b6ba9f7bb2..3fb2dd336a8 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-03-27 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * PROBLEMS: Mention problems on MS-Windows with incompatible | ||
| 4 | regex.h headers. | ||
| 5 | |||
| 1 | 2010-03-15 Francesc Rocher <rocher@member.fsf.org> | 6 | 2010-03-15 Francesc Rocher <rocher@member.fsf.org> |
| 2 | 7 | ||
| 3 | * MORE.STUFF: Remove CEDET entry, now distributed as part of | 8 | * MORE.STUFF: Remove CEDET entry, now distributed as part of |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index db395df233e..8c76fe20e0a 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -2478,6 +2478,26 @@ these GCC versions. Note that these versions of GCC, 4.0.3, 4.0.4, | |||
| 2478 | 4.1.1, and 4.1.2, are currently the _only_ versions known to succeed | 2478 | 4.1.1, and 4.1.2, are currently the _only_ versions known to succeed |
| 2479 | in building Emacs (as of v22.1). | 2479 | in building Emacs (as of v22.1). |
| 2480 | 2480 | ||
| 2481 | *** Building the native MS-Windows port fails due to unresolved externals | ||
| 2482 | |||
| 2483 | The linker error messages look like this: | ||
| 2484 | |||
| 2485 | oo-spd/i386/ctags.o:ctags.c:(.text+0x156e): undefined reference to `_imp__re_set_syntax' | ||
| 2486 | collect2: ld returned 1 exit status | ||
| 2487 | |||
| 2488 | This happens because GCC finds an incompatible header regex.h | ||
| 2489 | somewhere on the include path, before the version of regex.h supplied | ||
| 2490 | with Emacs. One such incompatible version of regex.h is part of the | ||
| 2491 | GnuWin32 Regex package. | ||
| 2492 | |||
| 2493 | The solution is to remove the incompatible regex.h from the include | ||
| 2494 | path, when compiling Emacs. Alternatively, re-run the configure.bat | ||
| 2495 | script with the "-isystem C:/GnuWin32/include" switch (adapt for your | ||
| 2496 | system's place where you keep the GnuWin32 include files) -- this will | ||
| 2497 | cause the compiler to search headers in the directories specified by | ||
| 2498 | the Emacs Makefile _before_ it looks in the GnuWin32 include | ||
| 2499 | directories. | ||
| 2500 | |||
| 2481 | *** Building the native MS-Windows port with Cygwin GCC can fail. | 2501 | *** Building the native MS-Windows port with Cygwin GCC can fail. |
| 2482 | 2502 | ||
| 2483 | Emacs may not build using some Cygwin builds of GCC, such as Cygwin | 2503 | Emacs may not build using some Cygwin builds of GCC, such as Cygwin |