From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Marian Csontos <mcsontos@redhat.com>
Subject: Re: [linux-lvm] configure fail with option --enable-notivy-dbus
Date: Thu, 11 May 2017 11:12:57 +0100 [thread overview]
Message-ID: <20170511101257.GB28090@localhost.localdomain> (raw)
In-Reply-To: <4888d916-29b3-df5b-41ca-9a191dc39e22@mglug.de>
On Thu, May 11, 2017 at 12:05:34PM +0200, Oliver Rath wrote:
> Hi Marian,
>
>
> On 11.05.2017 09:43, Marian Csontos wrote:
> > On 05/11/2017 09:01 AM, Oliver Rath wrote:
> [..]
> > ################################################################################
> >
> > AC_CHECK_LIB(m, log10,
> > [M_LIBS="-lm"], hard_bailout)
> >
> >
> >
> > This is because of missing log10 function from m library (wherever that
> > comes from) and has nothing to do with dbus. So enabling or disabling it
> > should have absolutely no effect.
>
> Ok, that helps. I figured out, that libm is part of libc6, libc6-dev is
> installed and has a include file called tgmath.h
>
> $ grep -iR "define log10" /usr/include/
> /usr/include/tgmath.h:# define log10(Val) __TGMATH_UNARY_REAL_IMAG (Val,
> log10, __clog10)
> /usr/include/tgmath.h:# define log10(Val) __TGMATH_UNARY_REAL_ONLY (Val,
> log10)
> [..]
That's a macro for complex log operations. You want the floating point
version from bits/math-finite.h (included by math.h).
> So it seems all needed files are installed. But the message still remains.
Try compiling the log10 test autoconf uses yourself. It should be something
simple like:
char log10();
int main(int argc, char **argv)
{
return log10();
}
Then compile it with -lm and note any errors (you may get a warning about
redefining a built-in but this is just to test that the symbol can be
found).
Regards,
Bryn.
prev parent reply other threads:[~2017-05-11 10:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 7:01 [linux-lvm] configure fail with option --enable-notivy-dbus Oliver Rath
2017-05-11 7:43 ` Marian Csontos
2017-05-11 10:03 ` Bryn M. Reeves
2017-05-11 10:10 ` Oliver Rath
2017-05-11 10:05 ` Oliver Rath
2017-05-11 10:12 ` Bryn M. Reeves [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170511101257.GB28090@localhost.localdomain \
--to=bmr@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=mcsontos@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).