X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=
	WSnSqlXwqsmlk1DND/Da1bjz+G1PCpbPTzHjZ79gZJdj1okGCekSwqSJk1FkxBV6
	HMq6TQOYvc5Nkmwi/oEWL/hr6HLt8puvQbNF9Vzbwravz70WUfk8NFQ9LAGszT/R
	M81PbMzbEM+XGLlj6BFrKkuapyHYm7LYaO6m6NzJ5qA=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type; s=default; bh=69xVu
	yR/MjpfIW3Beadm0eGN4Ig=; b=uoifpFBeAOw5t9kuJHFtECOHg9RBfJr87d8gZ
	G4JUu+3i34GKjybCtqh92dBgACCrCRVqNcI/bIQQTOcpH4KqGPdhE630pMAKXk7k
	SA9vpVp+yMUFSpfvoGUCSZvTFl/ch1ZQVDika1Jnvx+AqZWepatZJDq1dwaE8whs
	f514as=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=boots, tao, HTo:D*jp, Tao
X-HELO: mail-wm0-f66.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:date         :message-id:subject:from:to:cc;        bh=IRTiM4WYWrLMm8gjEyaqcIG5OIGn8hgt6QwsmfjSYs0=;        b=CVkUseUNHhg5eLXl7YiNQP3nSVmIUALaG3TH0jda9jcUyuxX/Ui7owMeL279luDBzz         avTA656k/d4SQhh2AMepAX8kQmvBik4clSQwHHzkNetS1Jz5Rcq3yadUKs3cdVLIGwQ1         cWucBr4/49lO+HflRtBcd1n+6VssMFMvgQQWlAdFvWhBOaVpos3iXtyVsBWWeSX9CxQp         whB+5w24iBuO6GSR1zLsIi5YjwYUPtpZib139M2LAVm0WCTqbPDgHAFp4jE4igFHkJXw         19CAzbj0UyJcImjxU7HFaw5wZTmudEsSo7RRlFfLiUuoWXD/ZG1ZN0GLPjj5xmlLJQX6         2naQ==
X-Gm-Message-State: AOPr4FUgH5Gh2evGDtzoGWQhdNUWylQwtpceBnZje92vquUD+GlYF2pjqptoHUO0KIZvPIxFdbYsngv8FJQRkw==
MIME-Version: 1.0
X-Received: by 10.194.109.36 with SMTP id hp4mr6220123wjb.117.1460361129009; Mon, 11 Apr 2016 00:52:09 -0700 (PDT)
In-Reply-To: <173197.72557.qm@web101116.mail.kks.yahoo.co.jp>
References: <5707F2F0.9050702@gmail.com>	<5708CDB6.1040500@iki.fi>	<375427.72225.qm@web101113.mail.kks.yahoo.co.jp>	<5709FCDF.5010107@gmail.com>	<173197.72557.qm@web101116.mail.kks.yahoo.co.jp>
Date: Mon, 11 Apr 2016 09:52:08 +0200
Message-ID: <CAEhDDbCU_8C_mNw=fW4Gzp70URp8mgdeMhOARq-OOyO4vH5bXw@mail.gmail.com>
Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin
From: Csaba Raduly <rcsaba@gmail.com>
To: Tatsuro MATSUOKA <matsuoka@nuce.nagoya-u.ac.jp>,
        cygwin list <cygwin@cygwin.com>
Cc: Marco Atzeri <marco.atzeri@gmail.com>,
        =?UTF-8?Q?Hans=2DBernhard_Br=C3=B6ker?= <HBBroeker@t-online.de>
Content-Type: text/plain; charset=UTF-8

Hi,

On Mon, Apr 11, 2016 at 1:20 AM, Tatsuro MATSUOKA  wrote:

> The zipped config.log is placed here:
> http://www.geocities.jp/tmacchant2/config.log.20160411.zip
> The previous reply to Hans I made a mistake to extract the memcpy related part.
> I apologize for that.
> configure:9591: result: no
> configure:9591: checking for memcpy
> configure:9591: gcc -o conftest.exe -g -O2  -I/usr/local/include  -L/usr/local/lib -lcerf conftest.c  >&5
> conftest.c:86:6: warning: conflicting types for built-in function 'memcpy'
>  char memcpy ();
>

You forgot to copy the important line from config.log:

/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lcerf

Why on earth does a test for memcpy try to link to libcerf?

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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

