help-make
[Top][All Lists]
Advanced

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

Re: build .a with make-3.82


From: Paul Smith
Subject: Re: build .a with make-3.82
Date: Thu, 9 Dec 2010 17:15:23 -0500

On Fri, 2010-12-10 at 02:08 +0900, J. R. Okajima wrote:
> Hello all,
> 
> I got an error from make-3.82 with this makefile.
>       liba.a: liba.a(a.o b.o)
> make: *** No rule to make target `liba.a(a.o', needed by `liba.a'.  Stop.
> 
> The makefile had no error in make-3.81.
> Does the syntax change?
> 
> And if there are simple examples to build .a and .so, please let me
> know.

This has been fixed for the next release:

https://savannah.gnu.org/bugs/?30612

For now you can either get a patch and fix it in the source or else
split your prerequisites so they don't have multiple objects:

        liba.a: liba.a(a.o) liba.a(b.o)

Thanks for the report!




reply via email to

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