checking for strchr... yes checking for strerror... yes checking for strftime... yes checking for strncasecmp... yes checking for strcoll... yes checking for strtod... yes checking for strtoul... yes checking for system... yes checking for tmpfile... yes checking for towlower... yes checking for towupper... yes checking for tzset... yes checking for usleep... yes checking for wcrtomb... yes checking for wcscoll... yes checking for wctype... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for library containing dlopen... -ldl checking whether getpgrp requires zero arguments... yes checking for printf %F format... yes checking for gethostbyname... yes checking for connect... yes checking where to find the socket library calls... the standard library checking whether readline via "-lreadline" is present and sane... yes checking for struct stat.st_blksize... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether char is unsigned... no checking for an ANSI C-conforming const... yes checking for C/C++ restrict keyword... __restrict checking for inline... inline checking for preprocessor stringizing operator... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating awklib/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop >>> host-gawk 4.0.2 Building PATH=/home/peko/scratch/host/bin:/home/peko/scratch/host/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/peko/bin LD_LIBRARY_PATH="/home/peko/scratch/host/usr/lib:" PKG_CONFIG="/home/peko/scratch/host/usr/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/home/peko/scratch/host/usr/lib/pkgconfig" PERLLIB="/home/peko/scratch/host/usr/lib/perl" /usr/bin/make -j16 -C /home/peko/scratch/build/host-gawk-4.0.2/ make[1]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2' /usr/bin/make 'CFLAGS=-O2 -I/home/peko/scratch/host/usr/include' 'LDFLAGS=-L/home/peko/scratch/host/lib -L/home/peko/scratch/host/usr/lib -Wl,-rpath,/home/peko/scratch/host/usr/lib -export-dynamic' all-recursive make[2]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2' Making all in . make[3]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2' /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT array.o -MD -MP -MF .deps/array.Tpo -c -o array.o array.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT awkgram.o -MD -MP -MF .deps/awkgram.Tpo -c -o awkgram.o awkgram.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT builtin.o -MD -MP -MF .deps/builtin.Tpo -c -o builtin.o builtin.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT dfa.o -MD -MP -MF .deps/dfa.Tpo -c -o dfa.o dfa.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT ext.o -MD -MP -MF .deps/ext.Tpo -c -o ext.o ext.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT field.o -MD -MP -MF .deps/field.Tpo -c -o field.o field.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT floatcomp.o -MD -MP -MF .deps/floatcomp.Tpo -c -o floatcomp.o floatcomp.c /usr/bin/gcc -DDEFPATH='".:/home/peko/scratch/host/usr/share/awk"' -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/home/peko/scratch/host/usr/share/locale"' -I. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include -MT gawkmisc.o -MD -MP -MF .deps/gawkmisc.Tpo -c -o gawkmisc.o gawkmisc.c In file included from dfa.c:83: dfa.h:85: error: expected ‘)’ before ‘struct’ make[3]: *** [dfa.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/floatcomp.Tpo .deps/floatcomp.Po mv -f .deps/gawkmisc.Tpo .deps/gawkmisc.Po mv -f .deps/ext.Tpo .deps/ext.Po mv -f .deps/field.Tpo .deps/field.Po mv -f .deps/array.Tpo .deps/array.Po mv -f .deps/builtin.Tpo .deps/builtin.Po mv -f .deps/awkgram.Tpo .deps/awkgram.Po make[3]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2' Making all in awklib make[3]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2/awklib' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include ./eg/lib/pwcat.c -L/home/peko/scratch/host/lib -L/home/peko/scratch/host/usr/lib -Wl,-rpath,/home/peko/scratch/host/usr/lib -export-dynamic -o pwcat /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/home/peko/scratch/host/usr/include -O2 -I/home/peko/scratch/host/usr/include ./eg/lib/grcat.c -L/home/peko/scratch/host/lib -L/home/peko/scratch/host/usr/lib -Wl,-rpath,/home/peko/scratch/host/usr/lib -export-dynamic -o grcat cp ./eg/prog/igawk.sh igawk ; chmod 755 igawk sed 's;/usr/local/libexec/awk;/home/peko/scratch/host/usr/libexec/awk;' < ./eg/lib/passwdawk.in > passwd.awk sed 's;/usr/local/libexec/awk;/home/peko/scratch/host/usr/libexec/awk;' < ./eg/lib/groupawk.in > group.awk make[3]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2/awklib' Making all in doc make[3]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2/doc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2/doc' Making all in po make[3]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2/po' make[3]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2/po' Making all in test make[3]: Entering directory `/home/peko/scratch/build/host-gawk-4.0.2/test' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2/test' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/peko/scratch/build/host-gawk-4.0.2' make: *** [/home/peko/scratch/build/host-gawk-4.0.2/.stamp_built] Error 2