|
From: Don P. <do...@ad...> - 2001-01-22 18:55:03
|
The following it the output of my ./configure and make for grep-2.4.2 from ftp://ftp.gnu.org/ftp/grep/. I also got errors with 2.4.0 so I think it has something to do with my build environment (cygwin) or compiler (mingw). Any thoughts on what I am doing wrong? administrator@LFN4 /cygdrive/d/tmp/grep-2.4.2 $ ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking host system type... i686-pc-cygwin checking for mawk... no checking for gawk... gawk checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking build system type... i686-pc-cygwin checking for getconf... getconf checking for CFLAGS value to request large file support... no checking for LDFLAGS value to request large file support... no checking for LIBS value to request large file support... no checking for _FILE_OFFSET_BITS... no checking for _LARGEFILE_SOURCE... no checking for _LARGE_FILES... no checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for function prototypes... yes checking for size_t... yes checking for ssize_t... no checking for working const... yes checking for ANSI C header files... yes checking for string.h... yes checking for stdlib.h... yes checking for sys/param.h... no checking for memory.h... yes checking for unistd.h... yes checking for libintl.h... no checking for wctype.h... yes checking for wchar.h... yes checking for dirent.h that defines DIR... yes checking for opendir... yes checking whether stat file-mode macros are broken... yes checking for working alloca.h... no checking for alloca... yes checking whether closedir returns void... no checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for btowc... no checking for isascii... yes checking for memmove... yes checking for setmode... yes checking for strerror... yes checking for wctype... no checking for memchr... yes checking for stpcpy... no checking for inline... inline checking for off_t... yes checking for argz.h... no checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... no checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) no checking for getcwd... yes checking for munmap... no checking for putenv... yes checking for setenv... no checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for LC_MESSAGES... no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... (cached) no checking whether catgets can be used... no checking for msgfmt... msgfmt checking for gmsgfmt... msgfmt checking for xgettext... : checking for catalogs to be installed... cs de el eo es et fr hr id it ja ko nl no pl pt_BR ru sl sv checking for dos file convention... yes checking for Cygwin environment... no checking for mingw32 environment... yes checking for DJGPP environment... no checking for environ variable separator... ; checking for executable suffix... .exe checking for object suffix... o checking for working re_compile_pattern... no updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/posix/Makefile creating tests/Makefile creating po/Makefile.in creating intl/Makefile creating doc/Makefile creating m4/Makefile creating djgpp/Makefile creating vms/Makefile creating bootstrap/Makefile creating config.h linking ./intl/libgettext.h to intl/libintl.h administrator@LFN4 /cygdrive/d/tmp/grep-2.4.2 $ make make all-recursive make[1]: Entering directory `/cygdrive/d/tmp/grep-2.4.2' Making all in intl make[2]: Entering directory `/cygdrive/d/tmp/grep-2.4.2/intl' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 intl-compat.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 bindtextdom.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 dcgettext.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 dgettext.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 gettext.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 finddomain.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 loadmsgcat.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 localealias.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 textdomain.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 l10nflist.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/s hare /locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g -O2 explodename.c rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o fi nddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o ranlib libintl.a make[2]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2/intl' Making all in po make[2]: Entering directory `/cygdrive/d/tmp/grep-2.4.2/po' make[2]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2/po' Making all in doc make[2]: Entering directory `/cygdrive/d/tmp/grep-2.4.2/doc' inst=`echo "grep" | sed 's,x,x,'`.1; \ sed -e "s%@grep@%$inst%g" ./fgrep.man > fgrep.1 inst=`echo "grep" | sed 's,x,x,'`.1; \ sed -e "s%@grep@%$inst%g" ./egrep.man > egrep.1 make[2]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2/doc' Making all in src make[2]: Entering directory `/cygdrive/d/tmp/grep-2.4.2/src' Making all in posix make[3]: Entering directory `/cygdrive/d/tmp/grep-2.4.2/src/posix' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2/src/posix' make[3]: Entering directory `/cygdrive/d/tmp/grep-2.4.2/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/lo cale \" -g -O2 -c grep.c In file included from system.h:194, from grep.c:34: ..\intl\libintl.h:1: parse error before `!' ..\intl\libintl.h:1: parse error at `..' In file included from system.h:202, from grep.c:34: d:\mingw32\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\i386-mingw 32ms vc\include\locale.h:75: parse error before `}' grep.c: In function `xmalloc': grep.c:185: warning: passing arg 1 of `fatal' makes pointer from integer without a cast grep.c: In function `xrealloc': grep.c:200: warning: passing arg 1 of `fatal' makes pointer from integer without a cast grep.c: In function `reset': grep.c:293: warning: passing arg 1 of `fatal' makes pointer from integer without a cast grep.c: In function `fillbuf': grep.c:399: warning: passing arg 1 of `fatal' makes pointer from integer without a cast grep.c: In function `prline': grep.c:550: warning: passing arg 1 of `error' makes pointer from integer without a cast grep.c: In function `grep': grep.c:777: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c: In function `grepfile': grep.c:791: warning: assignment makes pointer from integer without a cast grep.c: In function `grepdir': grep.c:888: warning: passing arg 2 of `fprintf' makes pointer from integer witho ut a cast grep.c:902: warning: passing arg 1 of `fatal' makes pointer from integer without a cast grep.c: In function `usage': grep.c:938: warning: passing arg 2 of `fprintf' makes pointer from integer witho ut a cast grep.c:939: warning: passing arg 2 of `fprintf' makes pointer from integer witho ut a cast grep.c:943: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:944: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:949: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:953: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:960: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:968: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:987: warning: passing arg 1 of `printf' makes pointer from integer withou t a cast grep.c:1002: warning: passing arg 1 of `printf' makes pointer from integer witho ut a cast grep.c: In function `setmatcher': grep.c:1012: warning: passing arg 1 of `fatal' makes pointer from integer withou t a cast grep.c: In function `main': grep.c:1182: warning: passing arg 1 of `getopt_long' makes pointer from integer without a cast grep.c:1182: warning: passing arg 2 of `getopt_long' from incompatible pointer t ype grep.c:1203: warning: passing arg 1 of `fatal' makes pointer from integer withou t a cast grep.c:1210: warning: passing arg 1 of `fatal' makes pointer from integer withou t a cast grep.c:1219: warning: passing arg 1 of `fatal' makes pointer from integer withou t a cast grep.c:1273: warning: passing arg 1 of `fatal' makes pointer from integer withou t a cast grep.c:1358: warning: passing arg 1 of `fatal' makes pointer from integer withou t a cast grep.c:1378: warning: passing arg 1 of `printf' makes pointer from integer witho ut a cast grep.c:1380: warning: passing arg 1 of `printf' makes pointer from integer witho ut a cast grep.c:1382: warning: passing arg 1 of `printf' makes pointer from integer witho ut a cast grep.c:1441: warning: passing arg 1 of `error' makes pointer from integer withou t a cast make[3]: *** [grep.o] Error 1 make[3]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/tmp/grep-2.4.2' make: *** [all-recursive-am] Error 2 administrator@LFN4 /cygdrive/d/tmp/grep-2.4.2 $ |