Lists: | pgsql-hackers |
---|
From: | Jeff McKenna <jmckenna(at)gatewaygeomatics(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | MSVC 2003 compile error with pg8.3.3 |
Date: | 2008-06-24 18:36:39 |
Message-ID: | 9EFF9424-20C5-409E-AE29-033D16003086@gatewaygeomatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
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/
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 |
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
From: | Jeff McKenna <jmckenna(at)gatewaygeomatics(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MSVC 2003 compile error with pg8.3.3 |
Date: | 2008-06-26 13:04:44 |
Message-ID: | 2EDA0B78-42EA-46BA-AFD9-670D3F58E56D@gatewaygeomatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Thanks Hiroshi. Unfortunately libpq.dll does not compile with MSVC
2003. Has anyone successfully compiled libpq for 8.3.3 (or CVS head)
with MSVC 2003??
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
> 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
>
> --
> 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
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-26 16:42:29 |
Message-ID: | 018101c8d7ab$9f8c9870$0c01a8c0@IBMC9A0F63B40D |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi.
Um, Please try this.
#include<windows.h>
extern void __cdecl _dosmaperr( unsigned long oserrno );
int main(int argc, char *argv[])
{
_dosmaperr(GetLastError());
return(0);
}
Can errorless compile be performed?
Regards,
Hiroshi Saito
----- Original Message -----
From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>
To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Sent: Thursday, June 26, 2008 10:04 PM
Subject: Re: [HACKERS] MSVC 2003 compile error with pg8.3.3
> Thanks Hiroshi. Unfortunately libpq.dll does not compile with MSVC
> 2003. Has anyone successfully compiled libpq for 8.3.3 (or CVS head)
> with MSVC 2003??
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
>
>> 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
>>
>> --
>> 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
>
>
> --
> 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
From: | Jeff McKenna <jmckenna(at)gatewaygeomatics(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MSVC 2003 compile error with pg8.3.3 |
Date: | 2008-06-26 19:12:03 |
Message-ID: | 18B1DE8B-A873-4A33-A267-5C4F6201DDC6@gatewaygeomatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi Hiroshi. What exact file am I to place your test in? win32.h on
line#290 ?
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 26-Jun-08, at 12:42 PM, Hiroshi Saito wrote:
> Hi.
>
> Um, Please try this.
>
> #include<windows.h>
> extern void __cdecl _dosmaperr( unsigned long oserrno );
> int main(int argc, char *argv[])
> {
> _dosmaperr(GetLastError());
> return(0);
> }
>
> Can errorless compile be performed?
> Regards,
> Hiroshi Saito
>
> ----- Original Message ----- From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com
> >
> To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
> Sent: Thursday, June 26, 2008 10:04 PM
> Subject: Re: [HACKERS] MSVC 2003 compile error with pg8.3.3
>
>
>> Thanks Hiroshi. Unfortunately libpq.dll does not compile with
>> MSVC 2003. Has anyone successfully compiled libpq for 8.3.3 (or
>> CVS head) with MSVC 2003??
>> ---
>> Jeff McKenna
>> FOSS4G Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>> On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
>>> 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
>>>
>>> --
>>> 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
>> --
>> 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
>
> --
> 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
From: | Jeff McKenna <jmckenna(at)gatewaygeomatics(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MSVC 2003 compile error with pg8.3.3 |
Date: | 2008-06-26 20:50:16 |
Message-ID: | 92083199-5F75-4607-927F-BF412483772E@gatewaygeomatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
For the record, I just compiled libpq.dll successfully with pg8.2.3
and MSVC 2003...so something is causing troubles in pg8.3.3 with this
compiler version. Hiroshi let me know where to place that test code,
thanks.
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 26-Jun-08, at 3:12 PM, Jeff McKenna wrote:
> Hi Hiroshi. What exact file am I to place your test in? win32.h on
> line#290 ?
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 26-Jun-08, at 12:42 PM, Hiroshi Saito wrote:
>
>> Hi.
>>
>> Um, Please try this.
>>
>> #include<windows.h>
>> extern void __cdecl _dosmaperr( unsigned long oserrno );
>> int main(int argc, char *argv[])
>> {
>> _dosmaperr(GetLastError());
>> return(0);
>> }
>>
>> Can errorless compile be performed?
>> Regards,
>> Hiroshi Saito
>>
>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com
>> >
>> To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
>> Sent: Thursday, June 26, 2008 10:04 PM
>> Subject: Re: [HACKERS] MSVC 2003 compile error with pg8.3.3
>>
>>
>>> Thanks Hiroshi. Unfortunately libpq.dll does not compile with
>>> MSVC 2003. Has anyone successfully compiled libpq for 8.3.3 (or
>>> CVS head) with MSVC 2003??
>>> ---
>>> Jeff McKenna
>>> FOSS4G Consulting and Training Services
>>> http://www.gatewaygeomatics.com/
>>> On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
>>>> 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
>>>>
>>>> --
>>>> 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
>>> --
>>> 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
>>
>> --
>> 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
>
>
> --
> 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
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-27 03:28:24 |
Message-ID: | 00c901c8d805$dd2a6b80$07096cdb@IBMC9A0F63B40D |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi Jeff-san.
Would you replace this with src/interfaces/libpq/win32.mak and try it?
I checked that there was no problem in construction of VC2005 by this
change. Then, I think if you solve a problem and it should apply.
Regards,
Hiroshi Saito
----- Original Message -----
From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>
> For the record, I just compiled libpq.dll successfully with pg8.2.3
> and MSVC 2003...so something is causing troubles in pg8.3.3 with this
> compiler version. Hiroshi let me know where to place that test code,
> thanks.
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 26-Jun-08, at 3:12 PM, Jeff McKenna wrote:
>
>> Hi Hiroshi. What exact file am I to place your test in? win32.h on
>> line#290 ?
>>
>>
>> ---
>> Jeff McKenna
>> FOSS4G Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>>
>>
>>
>>
>>
>> On 26-Jun-08, at 12:42 PM, Hiroshi Saito wrote:
>>
>>> Hi.
>>>
>>> Um, Please try this.
>>>
>>> #include<windows.h>
>>> extern void __cdecl _dosmaperr( unsigned long oserrno );
>>> int main(int argc, char *argv[])
>>> {
>>> _dosmaperr(GetLastError());
>>> return(0);
>>> }
>>>
>>> Can errorless compile be performed?
>>> Regards,
>>> Hiroshi Saito
>>>
>>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com
>>> >
>>> To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
>>> Sent: Thursday, June 26, 2008 10:04 PM
>>> Subject: Re: [HACKERS] MSVC 2003 compile error with pg8.3.3
>>>
>>>
>>>> Thanks Hiroshi. Unfortunately libpq.dll does not compile with
>>>> MSVC 2003. Has anyone successfully compiled libpq for 8.3.3 (or
>>>> CVS head) with MSVC 2003??
>>>> ---
>>>> Jeff McKenna
>>>> FOSS4G Consulting and Training Services
>>>> http://www.gatewaygeomatics.com/
>>>> On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
>>>>> 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
>>>>>
>>>>> --
>>>>> 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
>>>> --
>>>> 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
>>>
>>> --
>>> 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
>>
>>
>> --
>> 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
>
>
> --
> 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
Attachment | Content-Type | Size |
---|---|---|
win32.mak | text/plain | 7.9 KB |
From: | Jeff McKenna <jmckenna(at)gatewaygeomatics(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MSVC 2003 compile error with pg8.3.3 |
Date: | 2008-06-27 14:53:09 |
Message-ID: | 145F0CFC-F5CC-4554-81C3-02A42DC99490@gatewaygeomatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hello Hiroshi-san,
Your new win32.mak causes the following error with MSVC 2003:
Creating library .\Release\libpqdll.lib and object .\Release
\libpqdll.exp
mt -manifest .\Release\libpq.dll.manifest -outputresource:.
\Release\libp
q.dll;2
Microsoft (R) Manifest Tool version 6.0.4071.0
Copyright (c) Microsoft Corporation 2004.
All rights reserved.
.\Release\libpq.dll.manifest:general error c1010070:Failed to load and
parse the
manifest. The system cannot find the file specified.
NMAKE : fatal error U1077: 'mt' : return code '0x1f'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 26-Jun-08, at 11:28 PM, Hiroshi Saito wrote:
> Hi Jeff-san.
>
> Would you replace this with src/interfaces/libpq/win32.mak and try
> it? I checked that there was no problem in construction of VC2005 by
> this change. Then, I think if you solve a problem and it should apply.
> Regards,
> Hiroshi Saito
>
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-27 15:16:30 |
Message-ID: | 000901c8d868$c75da2a0$0b01a8c0@IBMC9A0F63B40D |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi Jeff-san.
Uga,,, Ok.
Please try this.
Thanks your perseverance. !!
Regards,
Hiroshi Saito
----- Original Message -----
From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>
> Hello Hiroshi-san,
>
> Your new win32.mak causes the following error with MSVC 2003:
>
> Creating library .\Release\libpqdll.lib and object .\Release
> \libpqdll.exp
> mt -manifest .\Release\libpq.dll.manifest -outputresource:.
> \Release\libp
> q.dll;2
> Microsoft (R) Manifest Tool version 6.0.4071.0
> Copyright (c) Microsoft Corporation 2004.
> All rights reserved.
>
> .\Release\libpq.dll.manifest:general error c1010070:Failed to load and
> parse the
> manifest. The system cannot find the file specified.
> NMAKE : fatal error U1077: 'mt' : return code '0x1f'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio .NET 2003\
> VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 26-Jun-08, at 11:28 PM, Hiroshi Saito wrote:
>
>> Hi Jeff-san.
>>
>> Would you replace this with src/interfaces/libpq/win32.mak and try
>> it? I checked that there was no problem in construction of VC2005 by
>> this change. Then, I think if you solve a problem and it should apply.
>> Regards,
>> Hiroshi Saito
>>
>
> --
> 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
Attachment | Content-Type | Size |
---|---|---|
win32.mak | text/plain | 7.9 KB |
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-27 15:55:54 |
Message-ID: | 00b701c8d86e$4835d9b0$0b01a8c0@IBMC9A0F63B40D |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Ooops, I am sorry so that it may be spam. ...
I have noticed, although there were few conditions.
pass the VC6,VC7,VC71
Regards,
Hiroshi Saito
----- Original Message -----
From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
> Hi Jeff-san.
>
> Uga,,, Ok.
>
> Please try this.
> Thanks your perseverance. !!
>
> Regards,
> Hiroshi Saito
>
> ----- Original Message -----
> From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>
>
>
>> Hello Hiroshi-san,
>>
>> Your new win32.mak causes the following error with MSVC 2003:
>>
>> Creating library .\Release\libpqdll.lib and object .\Release
>> \libpqdll.exp
>> mt -manifest .\Release\libpq.dll.manifest -outputresource:.
>> \Release\libp
>> q.dll;2
>> Microsoft (R) Manifest Tool version 6.0.4071.0
>> Copyright (c) Microsoft Corporation 2004.
>> All rights reserved.
>>
>> .\Release\libpq.dll.manifest:general error c1010070:Failed to load and
>> parse the
>> manifest. The system cannot find the file specified.
>> NMAKE : fatal error U1077: 'mt' : return code '0x1f'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
>> Studio .NET 2003\
>> VC7\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>>
>>
>>
>> ---
>> Jeff McKenna
>> FOSS4G Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>>
>>
>>
>>
>>
>> On 26-Jun-08, at 11:28 PM, Hiroshi Saito wrote:
>>
>>> Hi Jeff-san.
>>>
>>> Would you replace this with src/interfaces/libpq/win32.mak and try
>>> it? I checked that there was no problem in construction of VC2005 by
>>> this change. Then, I think if you solve a problem and it should apply.
>>> Regards,
>>> Hiroshi Saito
>>>
>>
>> --
>> 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
--------------------------------------------------------------------------------
>
> --
> 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
>
Attachment | Content-Type | Size |
---|---|---|
win32.mak | text/plain | 8.0 KB |
From: | Jeff McKenna <jmckenna(at)gatewaygeomatics(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MSVC 2003 compile error with pg8.3.3 |
Date: | 2008-06-27 16:07:16 |
Message-ID: | B691CC22-EA08-480E-A2ED-6A2B417FC849@gatewaygeomatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hiroshi-san,
"All win32 parts have been built!"
That last file that you sent worked with MSVC 2003, and libpq.dll was
successfully built. Thank you very much for fixing this for me. Will
this be committed to CVS head for others?
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 27-Jun-08, at 11:55 AM, Hiroshi Saito wrote:
> Ooops, I am sorry so that it may be spam. ...
> I have noticed, although there were few conditions.
> pass the VC6,VC7,VC71
>
> Regards,
> Hiroshi Saito
>
> ----- Original Message ----- From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp
> >
>
>
>> Hi Jeff-san.
>> Uga,,, Ok.
>> Please try this.
>> Thanks your perseverance. !!
>> Regards,
>> Hiroshi Saito
>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com
>> >
>>> Hello Hiroshi-san,
>>> Your new win32.mak causes the following error with MSVC 2003:
>>> Creating library .\Release\libpqdll.lib and object .\Release
>>> \libpqdll.exp
>>> mt -manifest .\Release\libpq.dll.manifest -outputresource:.
>>> \Release\libp
>>> q.dll;2
>>> Microsoft (R) Manifest Tool version 6.0.4071.0
>>> Copyright (c) Microsoft Corporation 2004.
>>> All rights reserved.
>>> .\Release\libpq.dll.manifest:general error c1010070:Failed to load
>>> and parse the
>>> manifest. The system cannot find the file specified.
>>> NMAKE : fatal error U1077: 'mt' : return code '0x1f'
>>> Stop.
>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
>>> Studio .NET 2003\
>>> VC7\BIN\nmake.exe"' : return code '0x2'
>>> Stop.
>>> ---
>>> Jeff McKenna
>>> FOSS4G Consulting and Training Services
>>> http://www.gatewaygeomatics.com/
>>> On 26-Jun-08, at 11:28 PM, Hiroshi Saito wrote:
>>>> Hi Jeff-san.
>>>>
>>>> Would you replace this with src/interfaces/libpq/win32.mak and
>>>> try it? I checked that there was no problem in construction of
>>>> VC2005 by this change. Then, I think if you solve a problem and
>>>> it should apply.
>>>> Regards,
>>>> Hiroshi Saito
>>>>
>>> --
>>> 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
>
>
> --------------------------------------------------------------------------------
>
>
>> --
>> 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
> <win32.mak>
> --
> 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
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-27 16:33:03 |
Message-ID: | 011e01c8d873$78bf49e0$0b01a8c0@IBMC9A0F63B40D |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi Jeff-san.
Thanks!!
The version which you use is supported officially.
http://www.postgresql.org/docs/8.3/static/install-win32-libpq.html
To build the libpq client library using Visual Studio 7.1 or later.
However, adjustment may be necessity.
I will propose patch.!
Regards,
Hiroshi Saito
----- Original Message -----
From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com>
> Hiroshi-san,
>
> "All win32 parts have been built!"
>
> That last file that you sent worked with MSVC 2003, and libpq.dll was
> successfully built. Thank you very much for fixing this for me. Will
> this be committed to CVS head for others?
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 27-Jun-08, at 11:55 AM, Hiroshi Saito wrote:
>
>> Ooops, I am sorry so that it may be spam. ...
>> I have noticed, although there were few conditions.
>> pass the VC6,VC7,VC71
>>
>> Regards,
>> Hiroshi Saito
>>
>> ----- Original Message ----- From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp
>> >
>>
>>
>>> Hi Jeff-san.
>>> Uga,,, Ok.
>>> Please try this.
>>> Thanks your perseverance. !!
>>> Regards,
>>> Hiroshi Saito
>>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna(at)gatewaygeomatics(dot)com
>>> >
>>>> Hello Hiroshi-san,
>>>> Your new win32.mak causes the following error with MSVC 2003:
>>>> Creating library .\Release\libpqdll.lib and object .\Release
>>>> \libpqdll.exp
>>>> mt -manifest .\Release\libpq.dll.manifest -outputresource:.
>>>> \Release\libp
>>>> q.dll;2
>>>> Microsoft (R) Manifest Tool version 6.0.4071.0
>>>> Copyright (c) Microsoft Corporation 2004.
>>>> All rights reserved.
>>>> .\Release\libpq.dll.manifest:general error c1010070:Failed to load
>>>> and parse the
>>>> manifest. The system cannot find the file specified.
>>>> NMAKE : fatal error U1077: 'mt' : return code '0x1f'
>>>> Stop.
>>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
>>>> Studio .NET 2003\
>>>> VC7\BIN\nmake.exe"' : return code '0x2'
>>>> Stop.
>>>> ---
>>>> Jeff McKenna
>>>> FOSS4G Consulting and Training Services
>>>> http://www.gatewaygeomatics.com/
>>>> On 26-Jun-08, at 11:28 PM, Hiroshi Saito wrote:
>>>>> Hi Jeff-san.
>>>>>
>>>>> Would you replace this with src/interfaces/libpq/win32.mak and
>>>>> try it? I checked that there was no problem in construction of
>>>>> VC2005 by this change. Then, I think if you solve a problem and
>>>>> it should apply.
>>>>> Regards,
>>>>> Hiroshi Saito
>>>>>
>>>> --
>>>> 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
>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>> --
>>> 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
>> <win32.mak>
>> --
>> 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
>
>
> --
> 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