Skip to Content.
Sympa Menu

freetds - Re: [freetds] Support for AIX 7.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Support for AIX 7.1
  • Date: Thu, 3 May 2012 10:41:14 -0400

On Thu, 03 May 2012 10:14:37 +0200
Sebastien FLAESCH <sf AT 4js.com> wrote:

> The configure script could run without problem (I will send you the
> config.log, James)
...
> I have no time to fix the issues, but if you provide me diff patches
> I am willing to test the compilation on our AIX 7.1 ...

The config.log you sent me indicates sys/socket.h is found, but the
error messages

> mem.c:1070: warning: implicit declaration of function 'socketpair'
> mem.c:1070: error: 'AF_UNIX' undeclared (first use in this function)

indicate sys/socket.h was not included, and my version of mem.c
doesn't seem to include it. I would add

#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif /* HAVE_SYS_SOCKET_H */

to mem.c and make sure both of these

$ grep SOCKET build/include/config.h
#define HAVE_SOCKETPAIR 1
#define HAVE_SYS_SOCKET_H 1

are defined as 1 in your config.h (as I think they are).

Please let us know if that helps.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page