Building Make from git without guile fail.

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Building Make from git without guile fail.

Алексей Павлов
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

Full build log in attach.

Regards,
Alexey.

_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32

build.log (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building Make from git without guile fail.

Алексей Павлов
2013/10/23 Alexey Pavlov <[hidden email]>:

> 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
>
> Full build log in attach.
>
> Regards,
> Alexey.
My proposed patch for it in attach.


Regards,
Alexey.

_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32

make_guile.patch (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building Make from git without guile fail.

Eli Zaretskii
In reply to this post by Алексей Павлов
> Date: Wed, 23 Oct 2013 11:01:02 +0400
> From: Alexey Pavlov <[hidden email]>
>
> 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.


_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32
Reply | Threaded
Open this post in threaded view
|

Re: Building Make from git without guile fail.

Алексей Павлов


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.

_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32
Reply | Threaded
Open this post in threaded view
|

Re: Building Make from git without guile fail.

Eli Zaretskii
> Date: Wed, 23 Oct 2013 21:20:06 +0400
> From: Alexey Pavlov <[hidden email]>
> Cc: [hidden email]
>
> >> 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
                                                          ^^^^^^^^^^

What's wrong with that part?  Which port of Sed are you using?  If
it's an MSYS port, perhaps try a native/MinGW port.

> > Please try the latest git.
>
> Build fine.

Thanks for testing.


_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32
Reply | Threaded
Open this post in threaded view
|

Re: Building Make from git without guile fail.

Алексей Павлов

23.10.2013, в 22:05, Eli Zaretskii <[hidden email]> написал(а):

>> Date: Wed, 23 Oct 2013 21:20:06 +0400
>> From: Alexey Pavlov <[hidden email]>
>> Cc: [hidden email]
>>
>>>> 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
>                                                          ^^^^^^^^^^
>
> What's wrong with that part?  Which port of Sed are you using?  If
> it's an MSYS port, perhaps try a native/MinGW port.
>
I use MSYS2 sed-4.2.2. Try to find solution.

>>> Please try the latest git.
>>
>> Build fine.
>
> Thanks for testing.


_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32
Reply | Threaded
Open this post in threaded view
|

Re: Building Make from git without guile fail.

Paul Smith-20
In reply to this post by Eli Zaretskii
On Wed, 2013-10-23 at 19:35 +0300, Eli Zaretskii wrote:
> Right.  Paul changed the arrangements with compiling guile.c, but
> build_w32.bat didn't get the corresponding update.

Yeah, that was a particularly lame change on my part.  I needed more
sleep or something.  Thanks for the pick-up Eli.



_______________________________________________
Make-w32 mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/make-w32