Re: MSVC 2003 compile error with pg8.3.3

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>, "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: MSVC 2003 compile error with pg8.3.3
Date: 2008-06-25 00:31:11
Message-ID: 016001c8d65b$3c242970$4e086cdb@IBMC9A0F63B40D
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

It is strange...
Problem is not reproduced although I use VC2005.

The result of my nmake -f win32.mak is this.
...
Microsoft (R) Manifest Tool version 5.2.3790.2014
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
cd ..\..
echo All Win32 parts have been built!
All Win32 parts have been built!

C:\MinGW\home\HIROSHI\postgresql-8.3.3\src>

It may be necessary to investigate the reference relation of VC2003.
Does someone notice some?

Regards,
Hiroshi Saito
----- Original Message -----
From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>

> Hello,
>
> I am trying to compile libpq.dll with MSVC 2003 on windows, using
> postgresql-8.3.3, but I get the following compile error:
>
> Creating library .\Release\libpqdll.lib and object .\Release
> \libpqdll.exp
> libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol
> __dosmaperr r
> ferenced in function _pgwin32_safestat
> libpq.lib(dirent.obj) : error LNK2001: unresolved external symbol
> __dosmaperr
> .\Release\libpq.dll : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio .NET 2003
> VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
> Does anyone have any ideas how to solve this??
>
> thanks.
>
> -jeff
>
>
>
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-06-25 02:41:07 Re: [HACKERS] Patch for Prevent pg_dump/pg_restore from being affected by statement_timeout
Previous Message Jaime Casanova 2008-06-25 00:17:58 Re: proposal for smaller indexes on index-ordered tables