hs@LAPTOP ~/src/emacs.git $ ./autogen.sh Checking whether you have the necessary tools... (Read INSTALL.REPO for more details on building Emacs) Checking for autoconf (need at least version 2.65)... ok Checking for automake (need at least version 1.11)... ok Your system has the required tools, running autoreconf... You can now run `./configure'. hs@LAPTOP ~/src/emacs.git $ ./configure --prefix=/d/bin/emacs-mingw checking for xcrun... no checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -I ./nt/inc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... no checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... no checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... unknown checking for _LARGE_FILES value needed for large files... unknown checking for gcc -I ./nt/inc option to accept ISO C99... -std=gnu99 checking for gcc -I ./nt/inc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether gcc -I ./nt/inc -std=gnu99 accepts -g3 -O2... yes checking whether the compiler is clang... no checking whether ln -s works for files in the same directory... yes checking for install-info... /d/cygwin/bin/install-info checking for gzip... /bin/gzip checking for makeinfo... /d/cygwin/bin/makeinfo checking for -znocombreloc... no checking whether addresses are sanitized... no checking for pkg-config... /d/cygwin/bin/pkg-config checking for machine/soundcard.h... no checking for sys/soundcard.h... yes checking for soundcard.h... no checking for _oss_ioctl in -lossaudio... no checking for alsa >= 1.0.0... no checking for sys/systeminfo.h... no checking for coff.h... no checking for pty.h... no checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for pwd.h... no checking for utmp.h... yes checking for util.h... no checking for sys/socket.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) no checking for sys/param.h... yes checking for pthread.h... yes checking for malloc/malloc.h... no checking for maillock.h... no checking for sys/un.h... yes checking for dirent.h... yes checking for execinfo.h... no checking for stdio_ext.h... no checking for getopt.h... (cached) no checking for sys/time.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/select.h... yes checking for sys/stat.h... (cached) no checking for utime.h... yes checking if personality LINUX32 can be set... no checking for term.h... no checking whether time.h and sys/time.h may both be included... yes checking whether sys_siglist is declared... no checking whether __sys_siglist is declared... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for net/if.h... yes checking for ifaddrs.h... no checking for net/if_dl.h... no checking for struct ifreq.ifr_flags... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ifreq.ifr_netmask... yes checking for struct ifreq.ifr_broadaddr... yes checking for struct ifreq.ifr_addr... yes checking for struct ifreq.ifr_addr.sa_len... no checking whether we are using GNU Make... yes checking whether gcc understands -MMD -MF... yes checking for long file names... yes checking for X... no checking whether Windows API headers are recent enough... yes checking for windres... windres checking whether malloc is Doug Lea style... no checking sys/vlimit.h usability... no checking sys/vlimit.h presence... no checking for sys/vlimit.h... no checking for data_start... no checking for getpagesize... yes checking for working mmap... no checking for dnet_ntoa in -ldnet... no checking for main in -lXbsd... no checking for pthread_atfork in -lpthread... no checking for cma_open in -lpthreads... no checking for librsvg-2.0 >= 2.11.0... yes CFLAGS='-D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2. 0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1 -I/usr/include/freetype 2 ' LIBS='-lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lffi -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng15 -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lglib-2.0 -lintl -liconv -lpcre -lX11 -lxcb -lXau -lXdmcp ' checking for Wand >= 6.2.8 Wand != 6.8.2... yes CFLAGS='-fopenmp -I/usr/include/ImageMagick ' LIBS='-lMagickWand -lMagickCore ' checking for MagickExportImagePixels... no checking for MagickMergeImageLayers... no checking for dbus-1 >= 1.0... yes CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include ' LIBS='-ldbus-1 -lpthread -lrt ' checking for dbus_watch_get_unix_fd... no checking for dbus_type_is_valid... no checking for dbus_validate_bus_name... no checking for dbus_validate_path... no checking for dbus_validate_interface... no checking for dbus_validate_member... no checking for lgetfilecon in -lselinux... no checking for gnutls >= 3.0.0... yes CFLAGS='-I/usr/include/p11-kit-1 ' LIBS='-L/usr/bin -lgnutls -lnettle -lhogweed -lgmp -ltasn1 - lp11-kit -lz ' checking windows.h usability... no checking windows.h presence... yes configure: WARNING: windows.h: present but cannot be compiled configure: WARNING: windows.h: check for missing prerequisite headers? configure: WARNING: windows.h: see the Autoconf documentation configure: WARNING: windows.h: section "Present But Cannot Be Compiled" configure: WARNING: windows.h: proceeding with the compiler's result checking for windows.h... no checking for gio-2.0 >= 2.24... yes CFLAGS='-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' LIBS='-lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -liconv -lpcre ' checking for X11/xpm.h... no checking jerror.h usability... no checking jerror.h presence... no checking for jerror.h... no checking png.h usability... no checking png.h presence... no checking for png.h... no checking for library containing inflateEnd... no checking tiffio.h usability... no checking tiffio.h presence... no checking for tiffio.h... no checking gif_lib.h usability... no checking gif_lib.h presence... no checking for gif_lib.h... no checking gpm.h usability... no checking gpm.h presence... no checking for gpm.h... no checking for libxml-2.0 > 2.6.17... yes CFLAGS='-I/usr/include/libxml2 ' LIBS='-lxml2 -lz -liconv -lm ' checking whether netdb declares h_errno... (cached) yes checking for maillock in -lmail... no checking for maillock in -llockfile... no checking for liblockfile.so... no checking for accept4... no checking for gethostname... (cached) yes checking for getrusage... no checking for get_current_dir_name... no checking for lrand48... no checking for select... (cached) yes checking for getpagesize... (cached) yes checking for setlocale... no checking for getrlimit... no checking for setrlimit... no checking for shutdown... (cached) yes checking for getaddrinfo... no checking for strsignal... no checking for setitimer... (cached) yes checking for sendto... (cached) yes checking for recvfrom... (cached) yes checking for getsockname... (cached) yes checking for getpeername... (cached) yes checking for getifaddrs... no checking for freeifaddrs... no checking for gai_strerror... no checking for getline... no checking for getdelim... no checking for sync... no checking for getpwent... no checking for endpwent... no checking for getgrent... no checking for endgrent... no checking for touchlock... no checking for cfmakeraw... no checking for cfsetspeed... no checking for copysign... no checking for __executable_start... no checking for log2... no checking for random... (cached) yes checking for rint... no checking for __builtin_unwind_init... no checking for _LARGEFILE_SOURCE value needed for large files... unknown checking for grantpt... no checking for getpt... no checking for posix_openpt... no checking for library containing tputs... none required checking for res_init with -lresolv... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking for tzset... no checking for readlinkat... (cached) yes checking for faccessat... (cached) yes checking for fcntl... (cached) yes checking for fdopendir... (cached) not-needed checking for fstatat... (cached) yes checking for fsync... (cached) yes checking for gettimeofday... no checking for nanotime... no checking for lstat... (cached) yes checking for mkostemp... (cached) yes checking for pipe2... (cached) yes checking for pselect... (cached) yes checking for pthread_sigmask... (cached) yes checking for fchmod... no checking for readlink... (cached) yes checking for strtoimax... no checking for strtoumax... no checking for symlink... (cached) yes checking for localtime_r... no checking for futimes... no checking for futimesat... no checking for futimens... no checking for utimensat... no checking for lutimes... no checking for getdtablesize... no checking for secure_getenv... no checking whether localtime caches TZ... no checking for socket... (cached) yes checking netinet/in.h usability... no checking netinet/in.h presence... yes configure: WARNING: netinet/in.h: present but cannot be compiled configure: WARNING: netinet/in.h: check for missing prerequisite headers? configure: WARNING: netinet/in.h: see the Autoconf documentation configure: WARNING: netinet/in.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/in.h: proceeding with the compiler's result checking for netinet/in.h... no checking for pid_t... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... no checking for vfork... no checking for snprintf... no checking whether GLib is linked in... no checking for nl_langinfo and CODESET... (cached) yes checking for mbstate_t... no checking for C restricted array declarations... no checking for _setjmp... no checking for sigsetjmp... no checking for usable FIONREAD... yes checking for usable SIGIO... no checking for working alloca.h... no checking for alloca... yes checking for unsigned long long int... yes checking whether byte ordering is bigendian... no checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking whether strtold conforms to C99... no checking if environ is properly declared... no checking for complete errno.h... no checking for EMULTIHOP value... yes checking for ENOLINK value... yes checking for EOVERFLOW value... no checking for mode_t... yes checking whether fdatasync is declared... no checking for st_dm_mode in struct stat... no checking whether strmode is declared... no checking whether lstat correctly handles trailing slash... (cached) yes checking for getopt.h... (cached) no checking whether getenv is declared... yes checking for C/C++ restrict keyword... __restrict checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... (cached) yes checking for long long int... yes checking whether stdint.h conforms to C99... no checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking for bit size of ptrdiff_t... 32 checking for bit size of size_t... 32 checking for bit size of sig_atomic_t... 32 checking for bit size of wchar_t... 16 checking for bit size of wint_t... 32 checking whether sig_atomic_t is signed... yes checking whether wchar_t is signed... no checking whether wint_t is signed... no checking for ptrdiff_t integer literal suffix... checking for size_t integer literal suffix... u checking for sig_atomic_t integer literal suffix... checking for wchar_t integer literal suffix... no checking for wint_t integer literal suffix... u checking for 64-bit off_t... no checking whether memrchr is declared... no checking whether alarm is declared... (cached) yes checking whether is self-contained... yes checking for sigset_t... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking whether tzname is declared... yes checking for tzname... yes checking for struct tm.tm_gmtoff... no checking whether strtoimax is declared... yes checking whether strtoumax is declared... yes checking whether stat file-mode macros are broken... yes checking for struct timespec in ... yes checking whether unsetenv is declared... (cached) yes checking whether the utimes function works... no checking for struct utimbuf... yes checking type of array argument to getgroups... gid_t checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking for library containing clock_gettime... no checking for clock_gettime... no checking for clock_settime... no checking whether dup2 works... (cached) yes checking whether fcntl handles F_DUPFD correctly... (cached) yes checking whether fcntl understands F_DUPFD_CLOEXEC... (cached) yes checking for fdatasync... (cached) yes checking whether fdopendir is declared... no checking whether fdopendir works... (cached) no-but-not-needed-so-yes checking for __fpending... no checking how to determine the number of pending output bytes on a stream... fp->_p - fp->_bf._base checking whether fstatat (..., 0) works... (cached) yes checking for getloadavg... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking whether getloadavg is declared... no checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for _ftime... yes checking for memrchr... no checking for working mktime... (cached) yes checking whether signature of pselect conforms to POSIX... (cached) yes checking whether pselect detects invalid fds... (cached) yes checking whether pthread_sigmask works without -lpthread... yes checking whether pthread_sigmask returns error numbers... (cached) yes checking whether pthread_sigmask unblocks signals correctly... (cached) not relevant checking for putenv compatible with GNU and SVID... (cached) yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for library containing acl_get_file... (cached) none required checking for acl_get_file... (cached) yes checking for acl_get_fd... no checking for acl_set_file... (cached) yes checking for acl_set_fd... no checking for acl_free... (cached) yes checking for acl_from_mode... no checking for acl_from_text... (cached) yes checking for acl_delete_def_file... no checking for acl_extended_file... no checking for acl_delete_fd_np... no checking for acl_delete_file_np... no checking for acl_copy_ext_native... no checking for acl_create_entry_np... no checking for acl_to_short_text... no checking for acl_free_text... no checking for working acl_get_file... (cached) yes checking acl/libacl.h usability... no checking acl/libacl.h presence... no checking for acl/libacl.h... no checking for acl_entries... no checking for ACL_FIRST_ENTRY... no checking for ACL_TYPE_EXTENDED... no checking whether readlink signature is correct... no checking whether readlink handles trailing slash correctly... (cached) yes checking for sig2str... no checking for volatile sig_atomic_t... yes checking for sighandler_t... no checking for socklen_t... yes checking for ssize_t... yes checking for struct stat.st_atim.tv_nsec... no checking for struct stat.st_atimespec.tv_nsec... no checking for struct stat.st_atimensec... no checking for struct stat.st_atim.st__tim.tv_nsec... no checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for working stdalign.h... yes checking for va_copy... yes checking whether NULL can be used in arbitrary expressions... yes checking whether strtoll is declared... no checking whether strtoull is declared... no checking whether symlink handles trailing slash correctly... (cached) yes checking whether is self-contained... (cached) yes checking for nlink_t... no checking whether localtime_r is declared... yes checking for library containing timer_settime... no checking for timer_settime... no checking for unsetenv... (cached) yes checking for unsetenv() return type... (cached) int checking whether unsetenv obeys POSIX... (cached) yes checking whether stat handles trailing slashes on directories... (cached) yes checking whether stat handles trailing slashes on files... (cached) yes checking for strtoll... no checking for strtoull... no 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 -O2 -gdwarf-2 Should Emacs use the GNU version of malloc? yes Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no 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? no Does Emacs use -ltiff? no Does Emacs use a gif library? no Does Emacs use -lpng? no Does Emacs use -lrsvg-2? yes Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use GSettings? no Does Emacs use a file notification library? yes -lgio (gfile) Does Emacs use access control lists? yes Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes 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? no Does Emacs use toolkit scroll bars? yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib-src/Makefile config.status: creating oldXMenu/Makefile config.status: creating doc/emacs/Makefile config.status: creating doc/misc/Makefile config.status: creating doc/lispintro/Makefile config.status: creating doc/lispref/Makefile config.status: creating src/Makefile config.status: creating lwlib/Makefile config.status: creating lisp/Makefile config.status: creating leim/Makefile config.status: creating nextstep/Makefile config.status: creating nt/Makefile config.status: creating test/automated/Makefile config.status: creating admin/unidata/Makefile config.status: creating admin/grammars/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing src/epaths.h commands config.status: executing src/.gdbinit commands hs@LAPTOP ~/src/emacs.git $ make [ -r "src/config.in" ] || ( cd . && autoheader ) cd nt && make all \ CC='gcc -std=gnu99' CFLAGS='-g3 -O2 -gdwarf-2' CPPFLAGS='-mtune=pentium4 -DUSE_CRT_DLL=1 -I /d/home/hs/src/emacs.git/nt /inc' \ LDFLAGS='' MAKE='make' make[1]: Entering directory `/d/home/hs/src/emacs.git/nt' windres -I . -O coff -o emacs.res ./emacs.rc gcc -std=gnu99 -mtune=pentium4 -I. -I. -mtune=pentium4 -DUSE_CRT_DLL=1 -I /d/home/hs/src/emacs.git/nt/inc -g3 -O2 -gdwarf-2 ./runemacs.c emacs.res -mwindows \ -o runemacs.exe ./runemacs.c: In function `WinMain': ./runemacs.c:74: warning: implicit declaration of function `alloca' gcc -std=gnu99 -mtune=pentium4 -I. -I. -mtune=pentium4 -DUSE_CRT_DLL=1 -I /d/home/hs/src/emacs.git/nt/inc -g3 -O2 -gdwarf-2 ./addpm.c -lole32 -luuid -o addpm.exe ./addpm.c: In function `add_registry': ./addpm.c:134: warning: implicit declaration of function `alloca' gcc -std=gnu99 -mtune=pentium4 -I. -I. -mtune=pentium4 -DUSE_CRT_DLL=1 -I /d/home/hs/src/emacs.git/nt/inc -g3 -O2 -gdwarf-2 ./cmdproxy.c -o cmdproxy.exe ./cmdproxy.c: In function `make_absolute': ./cmdproxy.c:288: warning: implicit declaration of function `alloca' gcc -std=gnu99 -mtune=pentium4 -I. -I. -mtune=pentium4 -DUSE_CRT_DLL=1 -I /d/home/hs/src/emacs.git/nt/inc -g3 -O2 -gdwarf-2 ./ddeclient.c -o ddeclient.exe gcc -std=gnu99 -mtune=pentium4 -I. -I. -mtune=pentium4 -DUSE_CRT_DLL=1 -I /d/home/hs/src/emacs.git/nt/inc -g3 -O2 -gdwarf-2 ./addsection.c -o addsection.exe In file included from /usr/include/sys/fcntl.h:164, from /usr/include/fcntl.h:14, from ./addsection.c:26: /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:90: error: parse error before "st_ino" /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:96: error: parse error before "st_size" /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:103: error: parse error before '}' token /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:108: error: parse error before "_dev_t" /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:110: error: parse error before "st_mode" /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:110: error: conflicting types for 'st_mode' /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:92: error: previous declaration of 'st_mode' was here /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:112: error: conflicting types for 'st_uid' /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:94: error: previous declaration of 'st_uid' was here /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:113: error: conflicting types for 'st_gid' /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:95: error: previous declaration of 'st_gid' was here /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:114: error: parse error before "st_rdev" /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:114: error: conflicting types for 'st_rdev' /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:97: error: previous declaration of 'st_rdev' was here /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:115: error: conflicting types for 'st_size' /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:96: error: previous declaration of 'st_size' was here /d/home/hs/src/emacs.git/nt/inc/sys/stat.h:120: error: parse error before '}' token make[1]: *** [addsection.exe] Error 1 make[1]: Leaving directory `/d/home/hs/src/emacs.git/nt' make: *** [nt] Error 2 hs@LAPTOP ~/src/emacs.git $