* Failed Compilation on Windows 7 64-bit
@ 2010-02-03 23:50 Sridhar Boovaraghavan
2010-02-04 0:36 ` Óscar Fuentes
2010-02-04 5:28 ` Glenn Morris
0 siblings, 2 replies; 5+ messages in thread
From: Sridhar Boovaraghavan @ 2010-02-03 23:50 UTC (permalink / raw)
To: emacs-devel
Hi,
This might not be 64-bit related, however the OS is Windows 7 64-bit.
All the other tools (MingW, cygwin, GnuWin32) all seem to be 32-bit
(and recently fetched).
The emacs code has been fetched recently from the CVS trunk.
I configure it like:
C:\emacs\nt>configure.bat --with-gcc --no-cygwin --without-xpm --with-svg --cfla
gs -Ic:\GnuWin32\include
Upon a make bootstrap, it builds temacs, emacs and then finishes
compiling all the lisp files.
Then it fails with the following:
C:\emacs\nt>make
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
Using C:/cygwin/bin/sh.exe as shell.
make -C ../lib-src all
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `C:/emacs/lib-src'
gcc -o oo-spd/i386/ctags.exe -gdwarf-2 -g3 -mno-cygwin 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 `add_regex':
C:\emacs\lib-src/ctags.c:5882: undefined reference to `_imp__re_set_syntax'
C:\emacs\lib-src/ctags.c:5884: undefined reference to `_imp__re_compile_pattern'
oo-spd/i386/ctags.o: In function `readline':
C:\emacs\lib-src/ctags.c:6335: undefined reference to `_imp__re_match'
oo-spd/i386/ctags.o: In function `find_entries':
C:\emacs\lib-src/ctags.c:6006: undefined reference to `_imp__re_search'
collect2: ld returned 1 exit status
make[1]: *** [oo-spd/i386/ctags.exe] Error 1
make[1]: Leaving directory `C:/emacs/lib-src'
make: *** [all-other-dirs-gmake] Error 2
--
Sridhar Boovaraghavan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Failed Compilation on Windows 7 64-bit
2010-02-03 23:50 Failed Compilation on Windows 7 64-bit Sridhar Boovaraghavan
@ 2010-02-04 0:36 ` Óscar Fuentes
2010-02-04 17:16 ` Sridhar Boovaraghavan
2010-02-04 5:28 ` Glenn Morris
1 sibling, 1 reply; 5+ messages in thread
From: Óscar Fuentes @ 2010-02-04 0:36 UTC (permalink / raw)
To: emacs-devel; +Cc: Sridhar Boovaraghavan
Sridhar Boovaraghavan <sridhar_ml@yahoo.com> writes:
[snip]
> I configure it like:
>
> C:\emacs\nt>configure.bat --with-gcc --no-cygwin --without-xpm --with-svg --cfla
> gs -Ic:\GnuWin32\include
>
> Upon a make bootstrap, it builds temacs, emacs and then finishes
> compiling all the lisp files.
>
> Then it fails with the following:
>
> C:\emacs\nt>make
[snip]
> gcc -o oo-spd/i386/ctags.exe -gdwarf-2 -g3 -mno-cygwin 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 `add_regex':
> C:\emacs\lib-src/ctags.c:5882: undefined reference to `_imp__re_set_syntax'
> C:\emacs\lib-src/ctags.c:5884: undefined reference to `_imp__re_compile_pattern'
[snip]
Something similar happened to me some months ago. In that case the
problem was caused by GnuWin32 header files with the same names as
Emacs' own header files. IIRC, one of those header files is regex.h
The solution is to either remove the conflicting header files from
GnuWin32 Include directory or, better, configure Emacs with
-isystemc:\GnuWin32\include
instead of
-Ic:\GnuWin32\include
This way gcc will put c:\GnuWin32\include at the end of the search
sequence used for searching header files.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Failed Compilation on Windows 7 64-bit
2010-02-03 23:50 Failed Compilation on Windows 7 64-bit Sridhar Boovaraghavan
2010-02-04 0:36 ` Óscar Fuentes
@ 2010-02-04 5:28 ` Glenn Morris
1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2010-02-04 5:28 UTC (permalink / raw)
To: Sridhar Boovaraghavan; +Cc: emacs-devel
Sridhar Boovaraghavan wrote:
> The emacs code has been fetched recently from the CVS trunk.
If you really meant this, note that Emacs has switched to Bazaar, and
the CVS repository is no longer being updated.
See http://savannah.gnu.org/projects/emacs/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-04 22:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 23:50 Failed Compilation on Windows 7 64-bit Sridhar Boovaraghavan
2010-02-04 0:36 ` Óscar Fuentes
2010-02-04 17:16 ` Sridhar Boovaraghavan
2010-02-04 22:18 ` Stefan Monnier
2010-02-04 5:28 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.