multiple definition of `atan2l' on the current Cygwin
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Apr 13 08:11:00 GMT 2016
On Apr 13 09:08, Tatsuro MATSUOKA wrote:
> > From: Corinna Vinschen > To: cygwin@cygwin.com
> > Cc:
> > Date: 2016/4/12, Tue 22:39
> > Subject: Re: multiple definition of `atan2l' on the current Cygwin
> >
> > On Apr 12 17:11, Tatsuro MATSUOKA wrote:
> >> Hello
> >> I have updated Cygwin_x86 and Cygwin_x86-64 today.
> >> In building the gnuplot I have met the error of "multiple definition
> > of `atan2l'".
> > I can't reproduce this with a simple testcase:
> >
> > $ cat > m.cc <<EOF
> > #include <math.h>
> >
> > int main ()
> > {
> > atan2l (1.0, 2.0);
> > }
> > EOF
> > $ g++ -g -o m m.cc -lm -lstdc++ -lm -lstdc++
> >
> > This builds and links fine for me.
> >
> > Is there a chance that gnuplot accidentally provides its own atan2l on
> > Cygwin, despite Cygwin 2.5.0 now providing it per C99? Or did you, by
> > any chance, try to rebuild gnuplot without reconfiguring the build?
> >
> > Can you please provide a simple, self-contained testcase?
> Your testcase also works here.
> I tried to make the test but I could not make a simple, self-contained testcase.
> Instead I copy and paste full compile command and output at the link.
That's not helpful, unfortunately. What about my other questions?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160413/62655d27/attachment.sig>
More information about the Cygwin
mailing list