Re: automake issue in virtuoso: "library has 'libwi_odbc_la' as canonical name (possible typo)"
Hi Andrey,
On Tue, Aug 14, 2018 at 07:47:51PM +0500, Andrey Rahmatullin wrote:
> On Tue, Aug 14, 2018 at 04:21:10PM +0200, Andreas Tille wrote:
> > libsrc/Wi/Makefile.am:544: library has 'libwi_base_la' as canonical name (possible typo)
> This is correct, there is a var named libwi_base_la_cflags which seems to
> be a generic var so it should be renamed to something not looking like
> foo_cflags automake var.
That's why I did s/cflags/CFLAGS/.
> > libsrc/Wi/Makefile.am:574: warning: variable 'libwi_odbc_la_LDFLAGS' is defined but no program or
> > libsrc/Wi/Makefile.am:574: library has 'libwi_odbc_la' as canonical name (possible typo)
> This is because that library is indeed not defined.
>
> > I searched the web for
> > "library has" + "as canonical name (possible typo)"
> Well, the error messages say "no program or library has that name" which
> is correct:
>
> noinst_LTLIBRARIES = libwi.la libwic.la
>
> So this is just dead code.
OK, I think I fixed this specifiv Makefile.am[1]. I learned that there
are more issues of this kind in other Makefile.am. Hope to be able to
deal with this thanks to you hints.
Kind regards
Andreas.
[1] https://salsa.debian.org/science-team/virtuoso-opensource/commit/2a88abfb3bde303be1984090f08c34483abfcebe
--
http://fam-tille.de
Reply to: