automake
[Top][All Lists]
Advanced

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

Re: libtool compilation of files


From: Alexandre Duret-Lutz
Subject: Re: libtool compilation of files
Date: Fri, 24 Oct 2003 22:30:48 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Ognyan" == Ognyan Kulev <address@hidden> writes:

 Ognyan> Hi,
 Ognyan> I'm using automake 1.7.8 and libtool 1.5.  My Makefile.am (somewhat
 Ognyan> long) is:

 Ognyan> (In short, memory_objectServer.c and notifyServer.c are generated
 Ognyan> files that must not be distributed, i.e. put in _SOURCES.)

[...]

 Ognyan> libe3pager_la_LIBADD = memory_objectServer.o notifyServer.o

Replace this by 

  nodist_libe3pager_la_SOURCES = memory_objectServer.c notifyServer.c

and Automake should output Libtool-compliant rules to compile
these files.

More examples about building built sources are given in 
the 'Built sources example' section of the Automake manual.

[...]

 Ognyan> My problem is that the following message is generated during linking:

 Ognyan> *** Warning: Linking the shared library libe3pager.la against the
 Ognyan> non-libtool
 Ognyan> *** objects  memory_objectServer.o notifyServer.o is not portable!

Libtool objects ends with `.lo', not `.o'.  Further discussion
about this are in the 'Libtool Concept' node of the manual.
-- 
Alexandre Duret-Lutz





reply via email to

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