You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Jing Zheng <ji...@inbox.com> on 2006/10/24 16:58:53 UTC

socketservertestcase.cpp fails to compile for RHEL 3 gcc-3.2.2

fork(), sleep(),execl() are not regconized. added "#include <unistd.h>", not
sure what is the portable way to add the include. 
-- 
View this message in context: http://www.nabble.com/socketservertestcase.cpp-fails-to-compile-for-RHEL-3-gcc-3.2.2-tf2501895.html#a6974564
Sent from the Log4cxx - Users mailing list archive at Nabble.com.


Re: socketservertestcase.cpp fails to compile for RHEL 3 gcc-3.2.2

Posted by Curt Arnold <ca...@apache.org>.
Already reported as https://issues.apache.org/jira/browse/ 
LOGCXX-142.  The best solution would be to rewrite the code to not  
use the native platform forks, but to use apr_proc_create.  Might try  
after lunch.


On Oct 24, 2006, at 9:58 AM, Jing Zheng wrote:

>
> fork(), sleep(),execl() are not regconized. added "#include  
> <unistd.h>", not
> sure what is the portable way to add the include.
> -- 
> View this message in context: http://www.nabble.com/ 
> socketservertestcase.cpp-fails-to-compile-for-RHEL-3-gcc-3.2.2- 
> tf2501895.html#a6974564
> Sent from the Log4cxx - Users mailing list archive at Nabble.com.