This is a discussion on [squid-users] compile error on AIX within the Squid Users forums, part of the Web Server and Related Forums category; Hello, I am trying to compile latest squid 2.5.STABLE4 daily snapshot on AIX 5.1 with gcc 2....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |