Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[rt.cpan.org #131165] build does not succeed using gmake

0 views
Skip to first unread message

jkahrman via RT

unread,
Dec 10, 2019, 7:45:14 PM12/10/19
to libw...@perl.org
Tue Dec 10 19:33:02 2019: Request 131165 was acted upon.
Transaction: Ticket created by jkah...@mathworks.com
Queue: Win32-API
Subject: build does not succeed using gmake
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: jkah...@mathworks.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=131165 >


We recently switched our build on Windows from nmake to gmake. The Makefile generated for Win32-API failed to build with the following error:

LINK : fatal error LNK1181: cannot open input file 'call_asm_x64_msvc.obj'
gmake[4]: *** [blib\arch\auto\Win32\API\API.dll] Error 1181

The obj file wasn't generated because '.asm' was not on the .SUFFIXES list. 'nmake' has it on the SUFFIXES list by default, but 'gmake' doesn't (at least our build of gmake).

By mangling the Makefile to include '.asm' on the'.SUFFIXES' list, the the build completed successfully using gmake.


$(PERL) -pi.orig -e "s/^\.SUFFIXES : /\.SUFFIXES : .asm /m" Win32-API/Makefile
0 new messages