On Sun, May 15, 2022 at 03:19:27PM +0300, Ilya wrote:
> 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
> 

>   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

Could there be some carriage return corruption in your files (either
the generated math.h itself, or in the generated Makefile produced by
configure), that results in the syntax errors?  At the moment, I don't
have handy access to a mingw system to attempt to reproduce your
issue.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


Reply via email to