Hi!
I am trying to build a single library from three convenience libraries.
While compiling in the build tree, I get this error message:
Making all in .
make[3]: Entering directory `/home/mvw/work/scifac.build/Base/src'
rpath /home/mvw/work/scifac.install/lib -no-undefined util/libB
> > Is my libtool faulty?
>
> Nope, it's your Makefile. Look for lines containing rpath and fix
> them (post'em here if you don't know how to fix them). There's no
> such thing as an `rpath' command.
Ok, here are the Makefile.am files:
-
> Nope, it's your Makefile. Look for lines containing rpath and fix
> them (post'em here if you don't know how to fix them). There's no
> such thing as an `rpath' command.
The line in the generated Makefile look like this:
libSciFacBase.la: $(libSciFacBase_la_OBJECTS) $(libSciFacBase_la_DE
> They look ok, which means you've probably found a bug in automake.
> What does Makefile.in look like (grep rpath, please :-)
[mvw@pcserver scifac]$ grep -r rpath *
Base/src/Makefile.in: $(LINK) -rpath $(libdir) $(libSciFacBase_la_LDFLAGS)
$(libSciFacBase_la_OBJECTS) $(libSciFacBa
> > Yeah, that's how it works. I realize this is less than good. Can you
> > suggest how it ought to work?
>
> I think the current behavior is fine, since it is indeed invalid to
> create a library or libtool archive out of no source files. However,
> we might output a warning (or even an erro
> > buildme.c:
> > /* void do_really_nothing_useful() { } */
>
> This is not a valid C program. A C program must contain at least one
> valid declaration. Try something like `static int i;'
Ok.
What still bothers me are C++ templates.
Before autoconfication, the project in foo.h slurped i
> automake should define it to `$(LIBTOOL) $(CC/CXX)...'. Maybe it only
> does this when there is at least one source file to compile in the
> current directory?
Bingo!
After introducing this additions
Makefile.am:
libSciFacBase_la_SOURCES = \
buildme.c
buildme.c:
/*
vo
Dear list members,
sadly I have been thrown in the JAVA trenches lately,
(which would lead to the question of JAVA and Autotools :-)
but for now I would need an information regarding Win32.
Using Cygwin and the ported gcc seems supported rather
well (autoconf, automake in the cygwin ports system