[squid-users] compile error on AIX

From: Nerijus Baliunas <nerijus@dont-contact.us>
Date: Wed, 4 Feb 2004 01:27:46 +0200 (EET)

Hello,

I am trying to compile latest squid 2.5.STABLE4 daily snapshot on AIX 5.1
with gcc 2.9-aix51-020209. It fails while compiling coss/async_io.c:

In file included from ../../src/squid.h:203,
                 from coss/async_io.c:17:
/usr/include/sys/select.h:33: warning: empty declaration
coss/async_io.c: In function `a_file_read':
coss/async_io.c:84: structure has no member named `aio_fildes'
coss/async_io.c:96: warning: passing arg 1 of `aio_read' makes integer from pointer without a cast
coss/async_io.c:96: too few arguments to function `aio_read'
coss/async_io.c: In function `a_file_write':
coss/async_io.c:132: structure has no member named `aio_fildes'
coss/async_io.c:144: warning: passing arg 1 of `aio_write' makes integer from pointer without a cast
coss/async_io.c:144: too few arguments to function `aio_write'

I have in /usr/include/aio.h:

#ifdef _NO_PROTO
int aio_read();
...
#else
int aio_read(int, struct aiocb *);

Any ideas?

Regards,
Nerijus
Received on Tue Feb 03 2004 - 16:30:03 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:01 MST