error compiling emacs in cygwin

Jason Lewis <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Hi,

I'm trying to compile emacs under cygwin and I'm getting an error.

I'm using the latest emacs-24 branch from git.

commit 775fd0ccb4d39f35cc24ca112f49101d8495a800
Author: Glenn Morris
Date:   Mon Sep 16 14:37:18 2013 -0400

Not sure how to proceed.

I did:

make dist-clean
./configure --with-w32
make

and get the following error:

<snipped>
Loading term/common-win...
Loading w32-vars...
Loading term/w32-win...
Loading disp-table...
Loading w32-common-fns...
Loading mwheel...
Loading emacs-lisp/float-sup...
Loading vc/vc-hooks...
Loading vc/ediff-hook...
Loading tooltip...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Pure-hashed: 21891 strings, 3077 vectors, 35871 conses, 2788 bytecodes,
82 others
Dumping under the name emacs
Static heap usage: 4756064 of 13631488 bytes
1592336 pure bytes used
Adding name emacs-24.3.1
make[1]: Leaving directory `/cygdrive/c/Users/jason/source/emacs/src'
if [ -r .bzr/checkout/dirstate ]; then                  \
    vcswitness="`pwd`/.bzr/checkout/dirstate";  \
fi;                                                     \
cd src; make all                            \
  CC='gcc -std=gnu99' CFLAGS='-g3 -O2' CPPFLAGS='' \
  LDFLAGS='-L/usr/lib/noX' MAKE='make' BOOTSTRAPEMACS=""        \
  VCSWITNESS="$vcswitness"
make[1]: Entering directory `/cygdrive/c/Users/jason/source/emacs/src'
cd ../leim && make -w leim-list.el
EMACS=/cygdrive/c/Users/jason/source/emacs/src/bootstrap-emacs.exe
make[2]: Entering directory `/cygdrive/c/Users/jason/source/emacs/leim'
make[2]: Leaving directory `/cygdrive/c/Users/jason/source/emacs/leim'
make[1]: Leaving directory `/cygdrive/c/Users/jason/source/emacs/src'
cd lisp && make all                          \
  CC='gcc -std=gnu99' CFLAGS='-g3 -O2' CPPFLAGS='' \
  LDFLAGS='-L/usr/lib/noX' MAKE='make'
make[1]: Entering directory `/cygdrive/c/Users/jason/source/emacs/lisp'
make[2]: Entering directory `/cygdrive/c/Users/jason/source/emacs/lisp'
Compiling allout.el
Source file `/cygdrive/c/Users/jason/source/emacs/lisp/epg.el' newer
than byte-compiled file
Source file `/cygdrive/c/Users/jason/source/emacs/lisp/epa.el' newer
than byte-compiled file
Source file
`/cygdrive/c/Users/jason/source/emacs/lisp/emacs-lisp/derived.el' newer
than byte-compiled file
Source file `/cygdrive/c/Users/jason/source/emacs/lisp/emacs-lisp/cl.el'
newer than byte-compiled file
Source file
`/cygdrive/c/Users/jason/source/emacs/lisp/emacs-lisp/cl-lib.el' newer
than byte-compiled file

In toplevel form:
allout.el:88:13:Error: Symbol's function definition is void: advice-add
Makefile:243: recipe for target `allout.elc' failed
make[2]: *** [allout.elc] Error 1
make[2]: Leaving directory `/cygdrive/c/Users/jason/source/emacs/lisp'
make[2]: Entering directory `/cygdrive/c/Users/jason/source/emacs/lisp'
Compiling textmodes/reftex-toc.el
Source file `/cygdrive/c/Users/jason/source/emacs/lisp/emacs-lisp/cl.el'
newer than byte-compiled file
Source file
`/cygdrive/c/Users/jason/source/emacs/lisp/emacs-lisp/cl-lib.el' newer
than byte-compiled file

In toplevel form:
textmodes/reftex-toc.el:27:30:Error: Symbol's function definition is
void: advice-add
Makefile:243: recipe for target `textmodes/reftex-toc.elc' failed
make[2]: *** [textmodes/reftex-toc.elc] Error 1
make[2]: Leaving directory `/cygdrive/c/Users/jason/source/emacs/lisp'
Makefile:271: recipe for target `compile-main' failed
make[1]: *** [compile-main] Error 2
make[1]: Leaving directory `/cygdrive/c/Users/jason/source/emacs/lisp'
Makefile:320: recipe for target `lisp' failed
make: *** [lisp] Error 2

 

-- 
Jason Lewis
http://emacstragic.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.