automake
[Top][All Lists]
Advanced

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

Re: Common Source code


From: Paulo J. Matos
Subject: Re: Common Source code
Date: Fri, 12 May 2006 08:23:01 +0100

On 12/05/06, Ralf Wildenhues <address@hidden> wrote:
Hi Paulo,

* Paulo J. Matos wrote on Fri, May 12, 2006 at 12:22:59AM CEST:
>
> I've created liblogger basically as a new project with configure.ac
> and Makefile.am, etc. It builds ok and then I added to Makefile.am of
> both lib1 and lib2:
> lib1_la_LIBADD = ../../liblogger/src/liblogger.la
>
> But when I try to compile lib1 or lib2 I get:
> make[2]: *** No rule to make target
> `../../liblogger/src/liblogger.la', needed by `lib1.la'.  Stop.

Do you ensure that the build enters the liblogger directory first
and builds there first?


How can I do that? I don't think I ensured that.

> And this is wierd because in fact I should say to lib1 or lib2 to
> build liblogger, if it has not been done already, so that I do not
> even have to do that manually. Still, at this time I have not been
> worried with that and built liblogger by calling configure and then
> make in liblogger dir. lib1 or lib2 are not able to find it as you can
> see but liblogger.la is there and built correctly.

I'm sorry but I don't understand this paragraph.


It's just a brief comment that I should ensure that liblogger is built
before lib1. I have not ensured that, yet, since I don't know how.
I've only built liblogger manually by running ./configure and make in
liblogger dir and then ./configure and make in lib1 dir which resulted
in the posted error.

Thanks for the help.

Paulo Matos

Cheers,
Ralf



--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group




reply via email to

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