delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/17/01:15:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:references:date:from:reply-to
:subject:to:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=JPx3zbyf7R25gOBXWsWGyqA8xKrwXbpiIIKh30Wz0WM
9l6fH/b3vVSsEjDkDTAe1DDVW1mQ5vqvk60re9jw38nHc9sSW7V33sE46fkf+eId
B/LrXXTbsVcMBvE5i+t1i4v8QLFBix5DtRar5VunraLvbnf3qdvigg1mBPEpFzgY
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:references:date:from:reply-to
:subject:to:mime-version:content-type:content-transfer-encoding;
s=default; bh=YOSsDGnP2kZmCGf1iDjHaZ5Gmv0=; b=EheFhIKKuPdBBpAyS
by/D62PsaTsw12B2J8jGCXT7AvikpYGxGDe0/+En5u322wuvQV6ZWK/2qbf8I7HN
TTXew2OLCH8ld2mrQYlNDoo7b8t+Q7ZhzrpaOU89f/b+X3VRTGOsRnkdRkkhO6Ga
EMR0IfHwqXxUkakFQ4ptcf+hUE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_40,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:sk:t503.bu, H*RU:183.79.100.140, Hx-spam-relays-external:183.79.100.140, H*RU:sk:t503.bu
X-HELO: nh505-vm4.bullet.mail.kks.yahoo.co.jp
Message-ID: <614672.60873.qm@web101112.mail.kks.yahoo.co.jp>
X-YMail-JAS: hvCcWxIVM1lqVQK.IXvZJkQ.GAPS92RBO2wJh6fjgYj65bSPnBYeMoob0Q_2P_21ADVZ7Vv1AXKjPNZeIAwOq49MDk2FdNtXdKO2T6IYu6YxJwdlJovj1s2asv5UWSZVVNfE
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>
Date: Sun, 17 Apr 2016 14:15:21 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
Reply-To: Tatsuro MATSUOKA <matsuoka AT nuce DOT nagoya-u DOT ac DOT jp>
Subject: Re: multiple definition of `atan2l' on the current Cygwin
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3H5FreR023740

> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019