[prev in list] [next in list] [prev in thread] [next in thread]
List: log4cxx-user
Subject: RE: Build problems
From: "John Reynolds" <John.Reynolds () flightman ! com>
Date: 2005-09-20 14:50:11
Message-ID: E8AA9CEB3AF2F44C917F2F86405AFE8159634B () amt-server ! airmantech ! com
[Download RAW message or body]
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.
John
-----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
Hi,
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.
Regards,
Andreas
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
mailto:andreas@littletux.net
WWW: http://www.littletux.net
ICQ: 326674288
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic