Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1
Hello.
My system:
Windows 7 x64
I tried:
mingw32-make.exe(v3.82.90), gcc.exe(v9.2.0)
mingw32-make.exe(v4.3), gcc.exe(v11.3.0)
sh.exe(v4.4.23.2)
sh.exe(v5.1.8.1)
Please help me to compile m4 v1.4.18 (or 1.4.19).
I used MinGW and MinGW-W64 and MSYS2 distrs.
I think the problem with generating of math.h
configure process is ok:
sh configure --build=i686-w64-mingw32 --host=i686-w64-mingw32
--srcdir=... --prefix=... --bindir=... --sbindir=...
mingw32-make
building error (end of
output):
...
mingw32-make all-recursive
mingw32-make[1]: Entering directory
'R:/W7X64/BUILD/m4/SRC/v1.4.18'
Making all in .
mingw32-make[2]: Entering directory
'R:/W7X64/BUILD/m4/SRC/v1.4.18'
mingw32-make[2]: Nothing to be done for 'all-am'.
mingw32-make[2]: Leaving directory 'R:/W7X64/BUILD/m4/SRC/v1.4.18'
Making all in examples
mingw32-make[2]: Entering directory
'R:/W7X64/BUILD/m4/SRC/v1.4.18/examples'
mingw32-make[2]: Nothing to be done for 'all'.
mingw32-make[2]: Leaving directory
'R:/W7X64/BUILD/m4/SRC/v1.4.18/examples'
Making all in lib
mingw32-make[2]: Entering directory
'R:/W7X64/BUILD/m4/SRC/v1.4.18/lib'
GEN alloca.h
GEN configmake.h
GEN errno.h
GEN c++defs.h
GEN arg-nonnull.h
GEN warn-on-use.h
GEN fcntl.h
GEN langinfo.h
GEN limits.h
GEN locale.h
/usr/bin/sh: -c: line 212: unexpected EOF while looking for
matching `''
/usr/bin/sh: -c: line 213: syntax error: unexpected end of file
mingw32-make[2]: *** [Makefile:2400: math.h] Error 1
mingw32-make[2]: Leaving directory
'R:/W7X64/BUILD/m4/SRC/v1.4.18/lib'
mingw32-make[1]: *** [Makefile:1572: all-recursive] Error 1
mingw32-make[1]: Leaving directory 'R:/W7X64/BUILD/m4/SRC/v1.4.18'
mingw32-make: *** [Makefile:1528: all] Error 2