Re: Building under Visual Studio 2008 - pqcomm.c compile error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Knight, Doug" <dknight(at)wsi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Building under Visual Studio 2008 - pqcomm.c compile error
Date: 2008-07-14 15:43:25
Message-ID: 9100.1216050205@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Knight, Doug" <dknight(at)wsi(dot)com> writes:
> I am attempting to build postgres 8.3.3 under Visual Studio 2008, and I
> get the following error in the build:

> .\src\backend\libpq\pqcomm.c(389): error C2065: 'IPPROTO_IPV6' :
> undeclared identifier

[ squint... ] They define IPV6_V6ONLY and AF_INET6 but not
IPPROTO_IPV6? That's pretty bizarre. You might want to hunt around in
the system header files for those symbols and see if there's some
feature macro or something we need to set to get IPPROTO_IPV6 to be
defined. Or maybe it's in some other header file that we're not
including.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2008-07-14 15:51:22 Re: Building under Visual Studio 2008 - pqcomm.c compile error
Previous Message Markus Wanner 2008-07-14 15:42:21 Postgres-R source code release