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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.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 DOT 9050702 AT gmail DOT com> <5708CDB6 DOT 1040500 AT iki DOT fi> <375427 DOT 72225 DOT qm AT web101113 DOT mail DOT kks DOT yahoo DOT co DOT jp> <5709FCDF DOT 5010107 AT gmail DOT com> <173197 DOT 72557 DOT qm AT web101116 DOT mail DOT kks DOT yahoo DOT co DOT jp> Date: Mon, 11 Apr 2016 17:13:40 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin To: Csaba Raduly , matsuoka AT nuce DOT nagoya-u DOT ac DOT jp, cygwin AT cygwin DOT com Cc: Marco Atzeri , =?iso-8859-1?Q?Hans-Bernhard_Br=F6ker?= , sfeam In-Reply-To: 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