[Why a personal email?] > Date: Sat, 18 May 2013 08:50:24 +0400 > From: Алексей Павлов <[email protected]> > > If I manually add "#define OUTPUT_SYNC" to my config.h I have another error: > > mv -f .deps/getloadavg.Tpo .deps/getloadavg.Po > gcc -Wall -Wextra -Wdeclaration-after-statement -Wshadow > -Wpointer-arith -Wbad-function-cast -g -O2 -o make.exe ar.o arscan.o > commands.o default.o dir.o expand.o file.o function.o getopt.o > getopt1.o implicit.o job.o load.o loadapi.o main.o misc.o read.o > remake.o rule.o signame.o strcache.o variable.o version.o vpath.o > hash.o remote-stub.o getloadavg.o glob/libglob.a > -Lw32 -lw32 > job.o: In function `acquire_semaphore': > c:\test\nativesrc\mmake/../make_git/job.c:740: undefined reference to `fcntl'
That's because the configure script was not updated to compile the added file w32/compat/posixfcn.c. Patches are welcome. The latest git should compile for you without OUTPUT_SYNC defined, so that is another option. Once again: I suggest to use the build_w32.bat script for building a MinGW Make. That script is currently the only officially supported way of building the Windows port of Make, and it works out of git as well. It defines OUTPUT_SYNC automatically, and compiles all the source files needed for that. _______________________________________________ Make-w32 mailing list [email protected] https://lists.gnu.org/mailman/listinfo/make-w32
