[Top][All Lists]

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

Re: Linking problem

From: Ralf Wildenhues
Subject: Re: Linking problem
Date: Thu, 27 Oct 2005 08:54:29 +0200
User-agent: Mutt/1.5.11

Hi Nitesh,

* Nitesh Soni (NC/TNT) wrote on Wed, Oct 26, 2005 at 11:53:32PM CEST:
> I am using libtool to build static and shared libraries. Now, I have
> run into the following problem.
> Lets say I am building a library "". This library is a
> collection of other libraries and NO source files.  Eg.
> In my I have something like:
> libX_la_SOURCES = 
> libX_la_LIBADD =
> libX_la_LIBADD +=
> Now, when I build this library using libtool, I get the following output: 
> libtool --tag=CC --mode=link gcc -o
> gcc -shared -o.libs/ .libs/ .libs/
> ar cru .libs/libX.a
> ranlib .libs/libX.a
> As you can see, its building the shared library but not the static archive.

Thank you for the bug report.  I need a little more information to
reproduce it:
- What does `./libtool --version' and `./libtool --config' say?
- Are and convenience archives or to-be-installed
  libraries?  I.e., in Automake terms, are they noinst_LTLIBRARIES
  or something else?


reply via email to

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