logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Reynolds" <John.Reyno...@flightman.com>
Subject RE: Build problems
Date Tue, 20 Sep 2005 14:50:11 GMT

Thanks Andreas

That was the problem. The cpp :: to fork threw me off abit (I though it
was some apr problem).

Now only make check fails.


-----Original Message-----
From: Andreas Fester [mailto:Andreas.Fester@gmx.de] 
Sent: 20 September 2005 15:03
To: Log4CXX User; John Reynolds
Subject: Re: Build problems


I do not have a RHE available, and I can not reproduce the issue
on Debian GNU/Linux. However, the man page for fork() sais that

#include <sys/types.h>
#include <unistd.h>

is necessary, and maybe it is indirectly included on my system.
execl() and sleep() also need unistd.h, so I would try
to add the above #includes to socketservertestcase.cpp and try again.

Otherwise, these are "only" the unit tests, so the library itself
should already been built.



John Reynolds wrote:
> On RedHat Enterprise Linux 3, I get the following build problem with
> socketservertestcase.cpp:115: `::fork' undeclared (first use here)
> socketservertestcase.cpp:117: `::execl' undeclared (first use here)
> socketservertestcase.cpp:124: `sleep' undeclared (first use this

Andreas Fester
WWW: http://www.littletux.net
ICQ: 326674288

View raw message