This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getting a locally built library


>>> "Bruce" == Bruce Korb <bkorb@pacbell.net> writes:

 Bruce> David Bacher wrote:

[...]

 >> /bin/sh ../libtool --mode=link gcc  -g -O2  -L/sw/lib -o autogen \
 >> -export-dynamic -lguile *.o  -L/sw/lib -lguile -lm \
 >> -L../autoopts/.libs -lopts -ldl
 >> ld: Undefined symbols:
 >> _aopts_alloc
 >> _aopts_realloc
 >> _aopts_strdup
 >> make[1]: *** [autogen] Error 1

Where does this command comes from?  This doesn't look like an
Automake-generated call to libtool.  First, Automake should not
generate something like `*.o'; second, it should not output
`-L../autoopts/.libs -lopts' but `../autoopts/libopts.la' 
since Bruce said `autogen_LDADD = $(top_builddir)/autoopts/libopts.la'.

I'm tempted to think that the link rule was hand-edited (either in the
Makefile(|.in|.am), or in the output).

[...]

-- 
Alexandre Duret-Lutz




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]