Building under Visual Studio 2008 - pqcomm.c compile error - Mailing list pgsql-hackers

From Knight, Doug
Subject Building under Visual Studio 2008 - pqcomm.c compile error
Date
Msg-id 8536F69C1FCC294B859D07B179F069440E8F6AAA@EXCHANGE.ad.wsicorp.com
Whole thread Raw
Responses Re: Building under Visual Studio 2008 - pqcomm.c compile error
Re: Building under Visual Studio 2008 - pqcomm.c compile error
List 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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] VACUUM Improvements - WIP Patch
Next
From: Tom Lane
Date:
Subject: Re: Building under Visual Studio 2008 - pqcomm.c compile error