Bluehost.com Web Hosting $6.95

[squid-users] compile error on AIX

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....


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-04-2004
Nerijus Baliunas
 
Posts: n/a
Default [squid-users] compile error on AIX

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0