[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build GNUMake from git with mingw-w64
From: |
Eli Zaretskii |
Subject: |
Re: Build GNUMake from git with mingw-w64 |
Date: |
Fri, 17 May 2013 16:20:23 +0300 |
> Date: Fri, 17 May 2013 15:45:14 +0400
> From: Алексей Павлов <address@hidden>
>
> I have troubles with building Make from git with mingw-w64 compiler. I has
> error:
>
> mv -f .deps/loadapi.Tpo .deps/loadapi.Po
> gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\"
> -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I.
> -I../make_git -I../make_git/glob -I ../make_git/w32/include
> -DMAKE_MAINTAINER_MODE -Wall -Wextra -Wdeclaration-after-statement
> -Wshadow -Wpointer-arith -Wbad-function-cast -g -O2 -MT main.o -MD -MP -MF
> .deps/main.Tpo -c -o main.o ../make_git/main.c
> ../make_git/main.c: In function 'decode_output_sync_flags':
> ../make_git/main.c:749:7: warning: implicit declaration of function
> 'RECORD_SYNC_MUTEX' [-Wimplicit-function-declaration]
> ../make_git/main.c: At top level:
> ../make_git/main.c:760:30: error: unknown type name 'sync_handle_t'
'sync_handle_t' is defined in job.h, which is included by main.c. Are
OUTPUT_SYNC_ and WINDOWS32 defined in your config.h?
Btw: you seem to be using the configure script, instead of the
build_w32.bat batch file. If so, please be advised that this build
procedure will not produce the libgnumake-1.dll.a import library that
is required to build GNU Make dynamic extensions. Patches to add that
are welcome.