Linking libraries problem

2010-08-20 Thread Jesús
Hello, I'm new to the Autotools, and I'm having some trouble to link two libraries between them. I'll summarize what I need to do and what I'm doing. I have implemented libA and libB. The libA files are stored in dirA and libB files in dirB, so they are compiled separately (with different

Re: Linking libraries problem

2010-08-20 Thread Ralf Wildenhues
Hello Jesús, * Jesús wrote on Fri, Aug 20, 2010 at 05:37:58PM CEST: make[4]: *** No rule to make target `libA.la', needed by `libB.la'. Stop. * Makefile for libB (simplified): INCLUDES = -I$(top_srcdir)/dirA lib_LTLIBRARIES = libB.la libB_la_SOURCES = srcB.c srcB.h