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:message-id:references:date:from:reply-to
	:subject:to:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=u3tdAL/VSJ1Bhmk5
	e86xEOmvUB90uVK14ducNqUmP7nS/BrcCszX8MYa+B4kzs/Kdvzquej2qZbCg/Pa
	C3VeCwhiqtxAimUbhx6OYhwqxqkKua0oCbTSd5Q3HDJok0t+kdwfNj88xUxUDKyw
	8CqU4fFbv1Fxt5+SLywe7e/Mzz4=
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:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding; s=default; bh=tPqRiBqQRE6Mbm6KdgY76n
	tlqoY=; b=TGAu5jdvFpBfR7ae+X+YmnYWy/SIK3F/CZHRxMqKsj1fiDUTIvDlYm
	BTOmGu2sw51AjUxjkD5BGcF6SCrPOF+W70QAZS5S5VaUbUuWZdzoJV4hrGuFeWb1
	UJIiVKqRGuOs0mt3MrPU38+8DZxb/wmTDUR6TBUmatNIaLuf2xyBI=
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=-0.1 required=5.0 tests=AWL,BAYES_50,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:nh605-v, H*RU:sk:nh605.b, Hx-spam-relays-external:sk:nh605.b, H*RU:sk:nh605-v
X-HELO: nh605-vm9.bullet.mail.ssk.yahoo.co.jp
Message-ID: <866227.9952.qm@web101108.mail.kks.yahoo.co.jp>
X-YMail-JAS: zGZDe_wVM1nQUwaci.mlUZRYkDFeT9W.om5UIzMhLkZKnSP4sQq8PTbLEzNF.x6v6GD0WWd15tT.H0njOmesruSJSgE0_g_Zi93QEyqlN5LgmoLZ1GwostkuEnD46uisBxmt
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> <CAEhDDbCU_8C_mNw=fW4Gzp70URp8mgdeMhOARq-OOyO4vH5bXw@mail.gmail.com>
Date: Mon, 11 Apr 2016 17:13:40 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp>
Reply-To: Tatsuro MATSUOKA <matsuoka@nuce.nagoya-u.ac.jp>
Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin
To: Csaba Raduly <rcsaba@gmail.com>, matsuoka@nuce.nagoya-u.ac.jp,
        cygwin@cygwin.com
Cc: Marco Atzeri <marco.atzeri@gmail.com>,
        =?iso-8859-1?Q?Hans-Bernhard_Br=F6ker?= <HBBroeker@t-online.de>,
        sfeam <sfeam@users.sourceforge.net>
In-Reply-To: <CAEhDDbCU_8C_mNw=fW4Gzp70URp8mgdeMhOARq-OOyO4vH5bXw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3B8EA0L007965

> From: Csaba Raduly 
> To: Tatsuro MATSUOKA ; cygwin list 
> Cc: Marco Atzeri ; Hans-Bernhard Bröker 
> Date: 2016/4/11, Mon 16:52
> Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin
> 
> 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
Ah!
I configured with 
LIBCERF_CFLAGS='-I/usr/local/include' \
LIBCERF_LIBS='-L/usr/local/lib -lcerf' \
../gnuplot/configure --prefix=/opt/gp510 --without-qt --with-caca --with-readline=builtin

I do not why configure add -lcerf.
Without
LIBCERF_CFLAGS='-I/usr/local/include' \
LIBCERF_LIBS='-L/usr/local/lib -lcerf' \

memcpy and other functions are correctly recognized 
and make was went well.
But libcerf was not recognised.
This is gnuplot issue but not the Cygwin.
I will be back gnuplot ML and leave from the Cygwin list on this matter.
Thanks!
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


