[Top][All Lists]

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

Re: Linking libraries problem

From: Ralf Wildenhues
Subject: Re: Linking libraries problem
Date: Fri, 20 Aug 2010 20:10:30 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hello Jesús,

* Jesús wrote on Fri, Aug 20, 2010 at 05:37:58PM CEST:
> make[4]: *** No rule to make target `', needed by `'.  Stop.

> * Makefile for libB (simplified):
>   INCLUDES = -I$(top_srcdir)/dirA
>   libB_la_SOURCES = srcB.c srcB.h
>   libB_la_LDFLAGS = @LIBB_FLAGS@
>   libB_la_LIBADD =

Change this last line to be something like
  libB_la_LDADD = ../liba-directory/

if '../liba-directory' is the relative path from the directory in which
libB is created to the directory in which libA is created.

Then all should be well.  :-)

Hope that helps.


reply via email to

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