This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: multiple definition of `atan2l' on the current Cygwin
- From: Tatsuro MATSUOKA <tmacchant2 at yahoo dot co dot jp>
- To: cygwin at cygwin dot com
- Date: Sun, 17 Apr 2016 14:15:21 +0900 (JST)
- Subject: Re: multiple definition of `atan2l' on the current Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <888012 dot 8502 dot qm at web101106 dot mail dot kks dot yahoo dot co dot jp> <20160412133924 dot GO9870 at calimero dot vinschen dot de> <58477 dot 93886 dot qm at web101112 dot mail dot kks dot yahoo dot co dot jp> <neltp4$c89$1 at ger dot gmane dot org> <20160414075205 dot GD1264 at calimero dot vinschen dot de> <20160414190025 dot fec117c21bb05fd0ac28592e at nifty dot ne dot jp> <20160414135235 dot GE1264 at calimero dot vinschen dot de>
- Reply-to: Tatsuro MATSUOKA <matsuoka at nuce dot nagoya-u dot ac dot jp>
> I have confirmed the mutiple definition error does not occur on gnuplot build
> with
> gcc-5.3.0-4 today.
> Thanks!
> Tatsuro
The above is for Cygwin X86.
Cygwin 64 still has problem
// m.cc
#include <cstdio>
#include <cmath>
int main()
{
long double x, y;
scanf("%Lf %Lf", &x, &y);
printf("%Lf\n", atan2l(x,y));
return 0;
}
//m.cc
LANG=C g++ m.cc -lm
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/libstdc++.dll.a(d005836.o):(.text+0x0): multiple definition of `atan2l'
/usr/lib/../lib/libm.a(t-d000195.o):fake:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
Tatsuro
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple