automake
[Top][All Lists]
Advanced

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

Re: Linking Problems


From: Alexandre Oliva
Subject: Re: Linking Problems
Date: 03 Apr 2001 03:27:07 -0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Mar 31, 2001, address@hidden wrote:

> undefined reference to Namespace::Class::Method

Assuming Namespace::Class::Method is indeed defined somewhere, make
sure the library in which it is defined appears after libraries in
which it is referenced.  Ordering of libraries is relevant.  If there
are cross-dependencies, you may have to list libraries more than once.

You'll probably be better off creating libtool convenience libraries
in the sub-directories, and creating a single library in the top
level.  An alternative is to use a CVS version of automake, that
allows sources in sub-directories to be mentioned.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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