WIN32 Build?

From: "DEV" <dev(at)umpa-us(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: WIN32 Build?
Date: 2006-08-09 16:59:15
Message-ID: 00cb01c6bbd5$25863b60$c801a8c0@LT003
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hello all.

I am trying to build postgres from the source on a WINXP system. I am
using MSVC++.Net and I use the link with it to get to the command prompt.
After I do that I run vcvars32.bat and the nmake /f win32.mak and I get:

C:\Dev\postgresql-8.1.4\src>nmake /f win32.mak

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.

cd include

if not exist pg_config.h copy pg_config.h.win32 pg_config.h

cd ..

cd interfaces\libpq

nmake /f win32.mak

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.

Building the Win32 static library...

cl.exe @C:\DOCUME~1\doyleb\LOCALS~1\Temp\nm313.tmp

cl : Command line warning D4029 : optimization is not available in the
standard

edition compiler

wchar.c

..\..\backend\utils\mb\wchar.c(100) : error C2054: expected '(' to follow
'inlin

e'

..\..\backend\utils\mb\wchar.c(101) : error C2085: 'pg_euc_mblen' : not in
forma

l parameter list

..\..\backend\utils\mb\wchar.c(101) : error C2143: syntax error : missing
';' be

fore '{'

..\..\backend\utils\mb\wchar.c(116) : error C2054: expected '(' to follow
'inlin

e'

..\..\backend\utils\mb\wchar.c(117) : error C2085: 'pg_euc_dsplen' : not in
form

al parameter list

..\..\backend\utils\mb\wchar.c(117) : error C2143: syntax error : missing
';' be

fore '{'

..\..\backend\utils\mb\wchar.c(143) : warning C4013: 'pg_euc_mblen'
undefined; a

ssuming extern returning int

..\..\backend\utils\mb\wchar.c(180) : warning C4013: 'pg_euc_dsplen'
undefined;

assuming extern returning int

NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\

VC7\BIN\nmake.exe"' : return code '0x2'

Stop.

What do you I need to change to make this work?

Brian Doyle

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2006-08-09 17:31:35 Re: psql/readline clears screen
Previous Message Reece Hart 2006-08-09 16:51:38 Re: psql/readline clears screen

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-09 17:03:57 Re: 8.2 features status
Previous Message Pavel Stehule 2006-08-09 16:47:13 Re: proposal for PL packages for 8.3.