logo       

Re: [HACKERS] Compiling Postgres 8.3.7 MSVC 2005: msg#01965

pgsql-hackers

Subject: Re: [HACKERS] Compiling Postgres 8.3.7 MSVC 2005

On Thu, Jul 30, 2009 at 12:17, Santosh Ahuja<codesifu@xxxxxxxxx> wrote:
> Compilation fails with the following errors.
>
>
>        C:\Program Files\Microsoft Visual Studio 8\VC\include\sys/types.h(23):
> fatal error C1189: #error :  ERROR: Only Win32 target supported!
>
> This seems something very trivial but I have'nt been able to figure it out yet

How exactly did you run the build? Just ran build.bat, or do something else?


> I use MSVC 2005 M$ Plaform SDK v6.0 ... I have updated the LIB, PATH and
> INCLUDE . echo'ing from the VC command prompt shows that its in the path.
> Bison version 2.1 and Flex 2.5.4

It doesn't look like this should be the error - possibly that it's
including something else (non-pg and non-platformsdk) *before* it
reaches the proper files.

--
Magnus Hagander
Self: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

--
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise