Re: Call for port reports (Win32 Client)

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for port reports (Win32 Client)
Date: 2003-10-26 20:18:59
Message-ID: 03AF4E498C591348A42FC93DEA9661B84C5C5F@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> Sent: 26 October 2003 01:35
> To: Dave Page
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] Call for port reports
>
> > NMAKE : fatal error U1077:
> 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> > return co
> > de '0x2'
> > Stop.
>
> I am confused why strings.h is being included because there
> is a test around it:
>
> #ifdef HAVE_STRINGS_H
> #include <strings.h>
> #endif
>
> Any ideas?

Yesh I forgot to remove the cygwin pg_config.h before compiling. Sorry
:-)

Anyway, I now get the error below which is not surprising as Windows
doesn't have pthreads, or pwd.h as standard.

Regards, Dave.

C:\cygwin\usr\local\src\postgresql-7.4beta5\src>nmake /f win32.mak

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. 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 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Building the Win32 static library...

cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nma03408.
getaddrinfo.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmb03408.
inet_aton.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmc03408.
crypt.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmd03408.
path.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nme03408.
dllist.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmf03408.
md5.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmg03408.
ip.c
cl.exe @C:\DOCUME~1\dpage\LOCALS~1\Temp\nmh03408.
thread.c
..\..\include\utils/elog.h(37) : warning C4005: 'ERROR' : macro
redefinition
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\wingdi.h(93) : see previous
definition
of 'ERROR'
..\..\port\thread.c(17) : fatal error C1083: Cannot open include file:
'pthread.
h': No such file or directory
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.

C:\cygwin\usr\local\src\postgresql-7.4beta5\src>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2003-10-26 20:22:07 Re: Call for port reports
Previous Message Anthony W. Youngman 2003-10-26 20:09:19 Re: Dreaming About Redesigning SQL