From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46687 invoked by alias); 11 Apr 2016 08:13:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 46661 invoked by uid 89); 11 Apr 2016 08:13:53 -0000 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 Received: from nh605-vm9.bullet.mail.ssk.yahoo.co.jp (HELO nh605-vm9.bullet.mail.ssk.yahoo.co.jp) (182.22.90.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Apr 2016 08:13:43 +0000 Received: from [182.22.66.106] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 11 Apr 2016 08:13:41 -0000 Received: from [182.22.91.130] by t604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 11 Apr 2016 08:13:41 -0000 Received: from [127.0.0.1] by omp603.mail.ssk.yahoo.co.jp with NNFMP; 11 Apr 2016 08:13:41 -0000 Received: (qmail 29731 invoked by uid 60001); 11 Apr 2016 08:13:40 -0000 Message-ID: <866227.9952.qm@web101108.mail.kks.yahoo.co.jp> Received: from [133.6.57.2] by web101108.mail.kks.yahoo.co.jp via HTTP; Mon, 11 Apr 2016 17:13:40 JST 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> Date: Mon, 11 Apr 2016 08:13:00 -0000 From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin To: Csaba Raduly , matsuoka@nuce.nagoya-u.ac.jp, cygwin@cygwin.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 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00202.txt.bz2 > From: Csaba Raduly=20 > To: Tatsuro MATSUOKA ; cygwin list=A0 > Cc: Marco Atzeri ; Hans-Bernhard Br=F6ker=A0 > Date: 2016/4/11, Mon 16:52 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin >=20 > Hi, >=20 > On Mon, Apr 11, 2016 at 1:20 AM, Tatsuro MATSUOKA=A0 wrote: >=20 >> 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 relat= ed=20 > part. >> I apologize for that. >> configure:9591: result: no >> configure:9591: checking for memcpy >> configure:9591: gcc -o conftest.exe -g -O2=A0 -I/usr/local/include=A0=20 > -L/usr/local/lib -lcerf conftest.c=A0 >&5 >> conftest.c:86:6: warning: conflicting types for built-in function=20 > 'memcpy' >> =A0 char memcpy (); >>=20 >=20 > You forgot to copy the important line from config.log: >=20 > /usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld: > cannot find -lcerf >=20 > Why on earth does a test for memcpy try to link to libcerf? >=20 > Csaba Ah! I configured with=20 LIBCERF_CFLAGS=3D'-I/usr/local/include' \ LIBCERF_LIBS=3D'-L/usr/local/lib -lcerf' \ ../gnuplot/configure --prefix=3D/opt/gp510 --without-qt --with-caca --with-= readline=3Dbuiltin I do not why configure add -lcerf. Without LIBCERF_CFLAGS=3D'-I/usr/local/include' \ LIBCERF_LIBS=3D'-L/usr/local/lib -lcerf' \ memcpy and=A0other functions=A0are correctly recognized=A0 and make was went well. But libcerf was not recognised. This is gnuplot issue but not the Cygwin. I will be=A0back 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