make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Make from git without guile fail.


From: Eli Zaretskii
Subject: Re: Building Make from git without guile fail.
Date: Wed, 23 Oct 2013 19:35:41 +0300

> Date: Wed, 23 Oct 2013 11:01:02 +0400
> From: Alexey Pavlov <address@hidden>
> 
> 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.

> 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.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]