To: hylafax-users@hylafax.org Subject: Re: calling last chance on bug fixes Date: Fri, 26 Jul 1996 18:09:47 CDT From: Bob Jackiewicz 312-413-1258I have the following problem when trying to compile beta018. I'm using AIX 4.2, gcc 2.7.2, and libg++ 2.7.2. in util/InetTransport.c++, I get the following errors: Socket.h: In function `static int Socket::accept(int, void *, int *)': In file included from InetTransport.c++:41: Socket.h:52: passing `int *' as argument 3 of `accept(int, sockaddr *, long unsigned int *)' Socket.h: In function `static int Socket::getpeername(int, void *, int *)': Socket.h:58: passing `int *' as argument 3 of `getpeername(int, sockaddr *, long unsigned int *)' Socket.h: In function `static int Socket::getsockname(int, void *, int *)': Socket.h:60: passing `int *' as argument 3 of `getsockname(int, sockaddr *, long unsigned int *)' Socket.h: In function `static int Socket::getsockopt(int, int, int, void *, int *)': Socket.h:62: passing `int *' as argument 5 of `getsockopt(int, int, int, void *, long unsigned int *)' make[3]: *** [InetTransport.o] Error 1 I also get the same (or similar) errors in hfaxd/Parser.c++. Has anyone successfully compiled beta018 on AIX 4.2? Just to be sure that I got all of the headers fixed, I reinstalled gcc-2.7.2 and libg++-2.7.2. Thanks for any response! This has been discussed previously on this list. Your system include file defines these socket calls with a different API than is expected (I hesitate to say standard). You must either change the include files or alter the code in util/Socket.h. Sam