1

I just installed MinGW + MSYS in Windows XP using graphical installer. Everything seems fine.

However, when I try to build a C++ application using ./configure, make, make install, it shows error message. The following 2 checkings failed:

AC_CHECK_LIB(m, memcpy, [], [AC_MSG_ERROR([error msg])])

AC_CHECK_FUNC(memcpy, [],[AC_MSG_ERROR([error msg])])

Why my MinGW couldn't find memcpy and its library? Can anyone give me suggestion how to fix this error? Thank you.

4

1 回答 1

0
void * memcpy ( void * destination, const void * source, size_t num );

复制内存块,将 num 个字节的值从源指向的位置直接复制到目标指向的内存块。如需参考,请参阅http://www.cplusplus.com/reference/cstring/memcpy/

于 2014-02-19T01:29:07.790 回答