2013/10/23 Eli Zaretskii:
>> Date: Wed, 23 Oct 2013 11:01:02 +0400
>> From: Alexey Pavlov
>>
>> Building latest MAKE from git with BAT file fail with
>>
>> C:\Test\nativesrc\mingw-builds\make32>gcc -mthreads -gdwarf-2 -g3 -o
>> gnumake.exe variable.o rule.o remote-stub.o commands.o file.o
>> getloadavg.o default.o signame.o expand.o dir.o main.o getopt1.o
>> job.o output.o read.o version.o getopt.o arscan.o remake.o misc.o
>> hash.o strcache.o ar.o function.o vpath.o implicit.o loadapi.o load.o
>> glob.o fnmatch.o pathstuff.o posixfcn.o w32_misc.o sub_proc.o w32err.o
>> -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
>> -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
>> -Wl,--out-implib=libgnumake-1.dll.a
>> main.o: In function `main':
>> C:\Test\nativesrc\mingw-builds\make32/main.c:1293: undefined reference
>> to `guile_gmake_setup'
>> collect2.exe: error: ld returned 1 exit status
>
> Right. Paul changed the arrangements with compiling guile.c, but
> build_w32.bat didn't get the corresponding update.
>
>> Full build log in attach.
>>
>> $ cmd /c 'build_w32.bat gcc'
>>
>> sed: -e _expression_ #4, char 7: unterminated `s' command
>> Скопировано файлов: 1.
>
> What is this Sed error about? It doesn't happen to me.
>
This error in highlighted peace
sed -e "s/;.*//" -e "/^[ \t]*$/d" -e "s/\"/\\\\\"/g" -e
"s/$/ \\/" gmk-default.scm >> gmk-default.h
>> My proposed patch for it in attach.
>
> Thanks, I fixed it slightly differently, and also took care of the
> MSVC build. In addition, makeint.h needed a change to avoid this
> compiler warning when building without Guile:
>
> C:\Test\nativesrc\mingw-builds\make32>gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c main.c
> main.c: In function 'main':
> main.c:1293:3: warning: implicit declaration of function 'guile_gmake_setup' [-Wimplicit-function-declaration]
> guile_gmake_setup (NILF);
> ^
>
> Please try the latest git.
Build fine.
>
> Thanks.