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  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Building under Visual Studio 2008 - pqcomm.c compile error  ("Dave Page" <dpage@pgadmin.org>)
List pgsql-hackers
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">All,</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">I am attempting to build postgres 8.3.3 under Visual Studio 2008, and I get the following error in
thebuild:</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">.\src\backend\libpq\pqcomm.c(389): error C2065: ‘IPPROTO_IPV6’ : undeclared
identifier</span></font><pclass="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Our IT department has asked us to upgrade all our systems from VS2005 to 2008. Though currently I
don’tneed to fully build postgres 8.3.3 via source (we use the binaries), we do have a custom module in contrib which
weneed to build a dll from. It seems the above error prevents the building of postgres.lib, which is needed to complete
thebuild of our custom module. Has anyone tried successfully to build postgres under VS2008?</span></font><p
class="MsoNormal"><fontface="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Doug Knight</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial">WSI Corp</span></font></div>

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