[ 
https://issues.apache.org/jira/browse/LOGCXX-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076567#comment-16076567
 ] 

Thorsten Schöning commented on LOGCXX-489:
------------------------------------------

The project moved the repos to Git, follow the new instructions:

https://logging.apache.org/log4cxx/latest_stable/source-repository.html

Or use the GitHub SVN bridge, if you are more familiar with SVN:

https://help.github.com/articles/support-for-subversion-clients/
https://github.com/apache/logging-log4cxx

> log4cxx-0.10.0 - socketoutputstream.cpp:52: error: 'memcpy' was not declared 
> in this scope
> ------------------------------------------------------------------------------------------
>
>                 Key: LOGCXX-489
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-489
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.10.0
>         Environment: CentOS 6, CentOS 7, Debian 9
>            Reporter: Simon Heath
>             Fix For: 0.11.0
>
>
> Attempting to build log4cxx 0.10.0 from source fails on make with the 
> following error on CentOS 6, CentOS 7, Debian 9:
> ```
>  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" 
> -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 
> -DHAVE_FWIDE=1 -I. -I. -I../../../src/main/include 
> -I../../../src/main/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE 
> -I/usr/include/apr-1 -I/usr/include/apr-1 -g -O2 -MT socketoutputstream.lo 
> -MD -MP -MF .deps/socketoutputstream.Tpo -c socketoutputstream.cpp  -fPIC 
> -DPIC -o .libs/socketoutputstream.o
> socketoutputstream.cpp: In member function 'virtual void 
> log4cxx::helpers::SocketOutputStream::write(log4cxx::helpers::ByteBuffer&, 
> log4cxx::helpers::Pool&)':
> socketoutputstream.cpp:52: error: 'memcpy' was not declared in this scope
> ```
> Adding "#include <string.h>" to the top of src/main/cpp/inputstreamreader.cpp 
> fixes the problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to