Building under Visual Studio 2008 - pqcomm.c compile error

From: "Knight, Doug" <dknight(at)wsi(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Building under Visual Studio 2008 - pqcomm.c compile error
Date: 2008-07-14 15:21:23
Message-ID: 8536F69C1FCC294B859D07B179F069440E8F6AAA@EXCHANGE.ad.wsicorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

All,

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

Our IT department has asked us to upgrade all our systems from VS2005 to
2008. Though currently I don't need to fully build postgres 8.3.3 via
source (we use the binaries), we do have a custom module in contrib
which we need to build a dll from. It seems the above error prevents the
building of postgres.lib, which is needed to complete the build of our
custom module. Has anyone tried successfully to build postgres under
VS2008?

Doug Knight

WSI Corp

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-07-14 15:23:45 Re: [PATCHES] VACUUM Improvements - WIP Patch
Previous Message Decibel! 2008-07-14 15:20:25 Re: 8.1 index corruption woes