bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE'


From: Keith David Bershatsky
Subject: bug#21590: 25.0.50; MS-Windows; fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function)
Date: Tue, 29 Sep 2015 17:50:10 -0700

I am trying to build Emacs on MS-Windows with support for images (and hopefully 
XPM too), using a combination of MinGW and GnuWin32.

MinGW has the following four (4) installations:

    mingw-get install mingw32-base

    mingw-get install msys-base

    mingw-get install autoconf

    mingw-get install automake

And, I ran the following from a MinGW shell:  mount c:/mingw /mingw

GnuWin32 has everything that comes with `download.bat`, with the extras offered 
during install, followed by `install c:\gnuwin32`

The recipe that I am using to build is as follows:

    export CPPFLAGS="-I/c/gnuwin32/include"

    export LDFLAGS="-L/c/gnuwin32/lib"

    export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/gnuwin32/bin

    ./autogen.sh

    ./configure --prefix=/c/docume~1/lawlist/desktop/trunk

    make

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; THE `CONFIGURE` STAGE LOOKS LIKE THIS:

***

Configured for 'i686-pc-mingw32'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -std=gnu99  -g3 -O
2 -gdwarf-2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         yes
  What window system should Emacs use?                    w32
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                NONE
  Where do we find X Windows libraries?                   NONE
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes
  Does Emacs use a png library?                           yes
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use cairo?                                   no
  Does Emacs use imagemagick?                             no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             yes (w32)
  Does Emacs use access control lists?                    yes
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                no
  Does Emacs use -lxml2?                                  no
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs directly use zlib?                           yes
  Does Emacs use toolkit scroll bars?                     yes

***

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; THE `MAKE` STAGE LOOKS LIKE THIS:

* * *

make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/nt'
make -C lib all
make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs/lib'
  GEN    alloca.h
  GEN    byteswap.h
  GEN    errno.h
  GEN    execinfo.h
  GEN    arg-nonnull.h
  GEN    getopt.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    stddef.h
  GEN    string.h
  GEN    time.h
make  all-am
make[2]: Entering directory `/c/docume~1/lawlist/desktop/emacs/lib'
  CC     acl-errno-valid.o
  CC     acl-internal.o
  CC     get-permissions.o
  CC     binary-io.o
  CC     c-ctype.o
  CC     c-strcasecmp.o
  CC     c-strncasecmp.o
  CC     close-stream.o
  CC     count-one-bits.o
  CC     count-trailing-zeros.o
  CC     md5.o
  CC     sha1.o
  CC     sha256.o
  CC     sha512.o
  CC     dtoastr.o
  CC     dtotimespec.o
  CC     filemode.o
  CC     gettime.o
  CC     qcopy-acl.o
  CC     stat-time.o
  CC     strftime.o
  CC     timespec.o
  CC     timespec-add.o
  CC     timespec-sub.o
  CC     u64.o
  CC     utimens.o
  CC     acl_entries.o
  CC     execinfo.o
  CC     fpending.o
  CC     getopt.o
  CC     getopt1.o
  CC     memrchr.o
  CC     mktime.o
  CC     sig2str.o
  CC     stpcpy.o
  CC     time_r.o
  CC     time_rz.o
  CC     timegm.o
  AR     libgnu.a
make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lib'
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lib'
make -C lib-src all
make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs/lib-src'
  CC       regex.o
  CC       ntlib.o
  CCLD     etags.exe
  CCLD     ctags.exe
  CCLD     emacsclient.exe
  RC       emacsclient.res
  CCLD     emacsclientw.exe
  CCLD     ebrowse.exe
  CCLD     profile.exe
  CC       pop.o
  CCLD     movemail.exe
  CCLD     hexl.exe
  CCLD     update-game-score.exe
  CCLD     make-docfile.exe
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lib-src'
make -C src VCSWITNESS='' all
make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs/src'
  GEN      lisp.mk
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/src'
make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs/src'
  GEN      globals.h
  CC       firstfile.o
  CC       dispnew.o
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
  CC       menu.o
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.o
  CC       emacs.o
  CC       keyboard.o
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex.o
  CC       undo.o
  CC       alloc.o
  CC       data.o
  GEN      buildobj.h
  CC       doc.o
  CC       editfns.o
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
  CC       fns.o
fns.c: In function 'secure_hash':
fns.c:4863:21: error: 'MD5_DIGEST_SIZE' undeclared (first use in this function)
       digest_size = MD5_DIGEST_SIZE;
                     ^
fns.c:4863:21: note: each undeclared identifier is reported only once for each f
unction it appears in
fns.c:4864:21: error: 'md5_buffer' undeclared (first use in this function)
       hash_func   = md5_buffer;
                     ^
make[1]: *** [fns.o] Error 1
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/src'
make: *** [src] Error 2





reply via email to

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