automake
[Top][All Lists]
Advanced

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

Re: cyclic dependancy


From: Ralf Wildenhues
Subject: Re: cyclic dependancy
Date: Sun, 26 Oct 2008 05:19:46 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Neel,

please don't top-post, thanks.

* Neel Basu wrote on Sat, Oct 25, 2008 at 07:17:51PM CEST:
> When I compile/make I see this error.
> 
> make[2]: *** No rule to make target `../cgi++/jsutil/libcgixx-jsutil.la', 
> needed by `cgixx'.

That's because this:

> cgixx/cgi++/jusutil/Makefile.am
> INCLUDES = -I$(top_srcdir)/cgi++
> METASOURCES = AUTO
> noinst_HEADERS = NOT-MENTIONED
> lib_LIBRARIES = libcgixx-jsutil.a
> libcgixx_jsutil_a_SOURCES = NOT-MENTIONED
> libcgixx_jsutil_a_LIBADD = $(top_builddir)/cgi++/libcgixx.la

only builds libcgixx-jsutil.a, not libcgixx-jsutil.la.
If you want a static library here, then drop the .a and use

  lib_LIBRARIES = libcgixx-jsutil.la
  libcgixx_jsutil_la_SOURCES = NOT-MENTIONED
  libcgixx_jsutil_la_LDFLAGS = -static
  libcgixx_jsutil_la_LIBADD = $(top_builddir)/cgi++/libcgixx.la

instead; and here:

> cgixx/src/MakeFile.am
[...]
> cgixx_LDADD = $(top_builddir)/cgi++/jsutil/libcgixx-jsutil.a \
>       $(top_builddir)/cgi++/libcgixx.la 
> $(top_builddir)/cgi++/jsutil/libcgixx-jsutil.la

please drop the .a entry.

Cheers,
Ralf




reply via email to

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