On Mon, May 31, 2010 at 8:00 PM, Jerry Jeremiah
<Jerry.Jeremiah@telecom.co.nz> wrote:
> When I try to compile APR for AIX I see no errors from make and make returns successfully.
When I run make test it appears to compile successfully but the tests fail (shown below)
Does anyone know why?
> testsock 9 1 11.11%
> make: 1254-004 The error code from the last command is 1.
Yes,
The IN6_IS_ADDR_V4MAPPED macro on AIX evaluates to false when passed
::ffff:0.0.0.0, the v4mapped form of INADDR_ANY. This seems to be very
different than other platforms.
#define IS_IPV4ADDR6(a) \
(((a).s6_addr32[0] == 0) && \
((a).s6_addr32[1] == 0) && \
((a).s6_addr32[2] == 0x0000ffff) && \
((a).s6_addr32[3] != 0))
APR could replace the macro, or the test suite could use a loopback
address instead of INADDR_ANY.
--
Eric Covener
covener@gmail.com
|