> -----Original Message-----
> From: Bruce Momjian [mailto:[EMAIL PROTECTED] 
> 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>

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to