[Live-devel] Replace old Makefile rules

Niels Ole Salscheider niels_ole at salscheider-online.de
Thu Apr 23 13:12:23 PDT 2015


On Thursday 23 April 2015, 12:45:03, Ross Finlayson wrote:
> Sorry, but no.  The existing Makefiles appear to work OK for all current
> versions of both “make” and “gmake”.
> 
> However, with your patch applied, while “gmake” works OK, “make” (at least
> on FreeBSD 10.1) does not: %make
> 	make: “liveMedia/Makefile" line 40: warning: duplicate script for target
> "%.o" ignored make: "liveMedia/Makefile" line 38: warning: using previous
> script for "%.o" defined here c++ -O2 -pipe  -c Media.cpp
> 	Media.cpp:21:10: fatal error: 'Media.hh' file not found
> 	#include "Media.hh"
> 	         ^
> 	1 error generated.
> 	*** Error code 1
> 
> 	Stop.
> 	make: stopped in liveMedia
> 
> Because of this, and because I have heard no other report of the Makefiles
> not working with any recent version of “make” (or “gmake”), I won’t be
> applying this patch.

Well, I get exactly the same error with GNU make 4.1 without the patch (since 
it won't use the old-style rule). But of course I understand that you do not 
want to break the build for other versions...

> 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/




More information about the live-devel mailing list