This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Query of type of memcpy (and sys_errlist) on Cygwin
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: Tatsuro MATSUOKA <matsuoka at nuce dot nagoya-u dot ac dot jp>, cygwin list <cygwin at cygwin dot com>
- Cc: Marco Atzeri <marco dot atzeri at gmail dot com>, Hans-Bernhard BrÃker <HBBroeker at t-online dot de>
- Date: Mon, 11 Apr 2016 09:52:08 +0200
- Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin
- Authentication-results: sourceware.org; auth=none
- 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>
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