[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs build fails [MSYS2/MINGW64]
From: |
Angelo Graziosi |
Subject: |
Re: Emacs build fails [MSYS2/MINGW64] |
Date: |
Sun, 28 Apr 2019 18:41:24 +0200 (CEST) |
> Il 28 aprile 2019 alle 18.21 Eli Zaretskii <address@hidden> ha scritto:
>
>
> > Date: Sun, 28 Apr 2019 17:37:44 +0200 (CEST)
> > From: Angelo Graziosi <address@hidden>
> >
> > To reproduce, update your MSYS2 installation (pacman -Syu) and if you have
> > ImageMagick installed, add '--without-imagemagick' to 'configure' otherwise
> > it fails at compile time.
>
> Please also show how it fails at compile time, we would want to fix
> that part as well.
[...]
CCLD temacs.exe
image.o:image.c:(.data+0x60): undefined reference to
`init_imagemagick_functions'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:643: temacs.exe] Error 1
>
> > In a MINGW64 shell:
> >
> > wget
> > http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-master.tar.gz
> > tar -xof emacs-master.tar.gz
> > cd emacs-master
> > ./autogen.sh
> > ./configure [--without-imagemagick]
> > make
> > [...]
> > Loading c:/msys64/tmp/emacs-master/lisp/emacs-lisp/lisp-mode.el
> > (source)...
> > Loading c:/msys64/tmp/emacs-master/lisp/progmodes/elisp-mode.el
> > (source)...
> > make[1]: *** [Makefile:808: bootstrap-emacs.pdmp] Segmentation fault
> > make[1]: uscita dalla directory "/tmp/emacs-master/src"
> > make: *** [Makefile:423: src] Error 2
>
> Thanks. But please in the future report bugs to the bug tracker using
> "M-x report-emacs-bug RET".
I don't see how.. I am non inside Emacs when building a new Emacs... I don't
think MinTTY understands that...
Any way, with
CFLAGS="-g3 -O0 -gdwarf-4" ./configure ...
as suggested by Paul seems to work: it does not fails...
Re: Emacs build fails [MSYS2/MINGW64], Paul Eggert, 2019/04/28