Skip to Content.
Sympa Menu

freetds - Re: [freetds] Build error on AIX 6/7 with freeTDS 1.00.6 (current stable)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Build error on AIX 6/7 with freeTDS 1.00.6 (current stable)
  • Date: Wed, 22 Jun 2016 15:16:28 +0100

2016-06-22 15:12 GMT+01:00 Fabrice Manfroi <fm AT 4js.com>:
> Hello,
>
> I'm trying to build the last stable freeTDS sources but it fails with
> the following compilation errors:
>
> tls.c:719: error: 'AF_INET6' undeclared (first use in this function)
> tls.c:719: error: (Each undeclared identifier is reported only once
> tls.c:719: error: for each function it appears in.)
> tls.c:722: error: 'AF_INET' undeclared (first use in this function)
>
> It seems that an include of the sys/socket.h header is missing.
>
> I propose the attached patch to fix the problem.
>
> Best Regards.
>

I would prefer the include in the C file. tds.h is included everywhere.

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page