problem of win32.mak
Hi Magnus-san and Bruce-san.
I am sorry in a very late reaction...
Is it enough for a 9.1release?
libpq of bcc32 and win32 has a problem.
== error of nmake ==
ライブラリ .\Release\libpqdll.lib とオブジェクト
.\Release\libpqdll.exp を作成中
libpq.lib(fe-connect.obj) : error LNK2019: 未解決の外部シンボル
_inet_net_ntop が関数 _connectFailureMessage で参照されました。
libpq.lib(getaddrinfo.obj) : error LNK2001: 外部シンボル
"_inet_net_ntop" は未解決です。
libpq.lib(fe-connect.obj) : error LNK2019: 未解決の外部シンボル
_pg_get_encoding_from_locale が関数 _PQsetClientEncoding で参照されました。
.\Release\libpq.dll : fatal error LNK1120: 外部参照 2 が未解決です。
== end ==
Please take this into consideration.
Thanks.
Regards,
Hiroshi Saito
Attachments:
win32_patchtext/plain; name=win32_patchDownload
*** src/interfaces/libpq/bcc32.mak.old Fri Aug 19 06:23:13 2011
--- src/interfaces/libpq/bcc32.mak Wed Sep 7 21:50:33 2011
***************
*** 80,85 ****
--- 80,87 ----
-@erase "$(INTDIR)\inet_aton.obj"
-@erase "$(INTDIR)\crypt.obj"
-@erase "$(INTDIR)\noblock.obj"
+ -@erase "$(INTDIR)\chklocale.obj"
+ -@erase "$(INTDIR)\inet_net_ntop.obj"
-@erase "$(INTDIR)\md5.obj"
-@erase "$(INTDIR)\ip.obj"
-@erase "$(INTDIR)\fe-auth.obj"
***************
*** 123,128 ****
--- 125,132 ----
"$(INTDIR)\inet_aton.obj" \
"$(INTDIR)\crypt.obj" \
"$(INTDIR)\noblock.obj" \
+ "$(INTDIR)\chklocale.obj" \
+ "$(INTDIR)\inet_net_ntop.obj" \
"$(INTDIR)\md5.obj" \
"$(INTDIR)\ip.obj" \
"$(INTDIR)\fe-auth.obj" \
***************
*** 220,225 ****
--- 224,239 ----
"$(INTDIR)\noblock.obj" : ..\..\port\noblock.c
$(CPP) @<<
$(CPP_PROJ) ..\..\port\noblock.c
+ <<
+
+ "$(INTDIR)\chklocale.obj" : ..\..\port\chklocale.c
+ $(CPP) @<<
+ $(CPP_PROJ) ..\..\port\chklocale.c
+ <<
+
+ "$(INTDIR)\inet_net_ntop.obj" : ..\..\port\inet_net_ntop.c
+ $(CPP) @<<
+ $(CPP_PROJ) ..\..\port\inet_net_ntop.c
<<
"$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c
*** src/interfaces/libpq/win32.mak.old Fri Aug 19 06:23:13 2011
--- src/interfaces/libpq/win32.mak Wed Sep 7 21:45:22 2011
***************
*** 87,92 ****
--- 87,94 ----
-@erase "$(INTDIR)\inet_aton.obj"
-@erase "$(INTDIR)\crypt.obj"
-@erase "$(INTDIR)\noblock.obj"
+ -@erase "$(INTDIR)\chklocale.obj"
+ -@erase "$(INTDIR)\inet_net_ntop.obj"
-@erase "$(INTDIR)\md5.obj"
-@erase "$(INTDIR)\ip.obj"
-@erase "$(INTDIR)\fe-auth.obj"
***************
*** 132,137 ****
--- 134,141 ----
"$(INTDIR)\inet_aton.obj" \
"$(INTDIR)\crypt.obj" \
"$(INTDIR)\noblock.obj" \
+ "$(INTDIR)\chklocale.obj" \
+ "$(INTDIR)\inet_net_ntop.obj" \
"$(INTDIR)\md5.obj" \
"$(INTDIR)\ip.obj" \
"$(INTDIR)\fe-auth.obj" \
***************
*** 258,263 ****
--- 262,277 ----
"$(INTDIR)\noblock.obj" : ..\..\port\noblock.c
$(CPP) @<<
$(CPP_PROJ) ..\..\port\noblock.c
+ <<
+
+ "$(INTDIR)\chklocale.obj" : ..\..\port\chklocale.c
+ $(CPP) @<<
+ $(CPP_PROJ) ..\..\port\chklocale.c
+ <<
+
+ "$(INTDIR)\inet_net_ntop.obj" : ..\..\port\inet_net_ntop.c
+ $(CPP) @<<
+ $(CPP_PROJ) ..\..\port\inet_net_ntop.c
<<
"$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c
Hiroshi Saito wrote:
Hi Magnus-san and Bruce-san.
I am sorry in a very late reaction...
Is it enough for a 9.1release?
libpq of bcc32 and win32 has a problem.== error of nmake ==
????? .\Release\libpqdll.lib ???????
.\Release\libpqdll.exp ????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_inet_net_ntop ??? _connectFailureMessage ?????????
libpq.lib(getaddrinfo.obj) : error LNK2001: ??????
"_inet_net_ntop" ???????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_pg_get_encoding_from_locale ??? _PQsetClientEncoding ?????????
.\Release\libpq.dll : fatal error LNK1120: ???? 2 ???????
== end ==
Yes, this is a problem. I will apply your patch to 9.1 and head unless
I hear otherwise in a few hours.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
On Wed, Sep 7, 2011 at 16:43, Bruce Momjian <bruce@momjian.us> wrote:
Hiroshi Saito wrote:
Hi Magnus-san and Bruce-san.
I am sorry in a very late reaction...
Is it enough for a 9.1release?
libpq of bcc32 and win32 has a problem.== error of nmake ==
????? .\Release\libpqdll.lib ???????
.\Release\libpqdll.exp ????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_inet_net_ntop ??? _connectFailureMessage ?????????
libpq.lib(getaddrinfo.obj) : error LNK2001: ??????
"_inet_net_ntop" ???????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_pg_get_encoding_from_locale ??? _PQsetClientEncoding ?????????
.\Release\libpq.dll : fatal error LNK1120: ???? 2 ???????
== end ==Yes, this is a problem. I will apply your patch to 9.1 and head unless
I hear otherwise in a few hours.
Looks fine to me, go ahead.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
Hi.
We are looking forward to the great release.
thanks again!!
Regards,
Hiroshi Saito
(2011/09/07 23:46), Magnus Hagander wrote:
Show quoted text
On Wed, Sep 7, 2011 at 16:43, Bruce Momjian<bruce@momjian.us> wrote:
Hiroshi Saito wrote:
Hi Magnus-san and Bruce-san.
I am sorry in a very late reaction...
Is it enough for a 9.1release?
libpq of bcc32 and win32 has a problem.== error of nmake ==
????? .\Release\libpqdll.lib ???????
.\Release\libpqdll.exp ????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_inet_net_ntop ??? _connectFailureMessage ?????????
libpq.lib(getaddrinfo.obj) : error LNK2001: ??????
"_inet_net_ntop" ???????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_pg_get_encoding_from_locale ??? _PQsetClientEncoding ?????????
.\Release\libpq.dll : fatal error LNK1120: ???? 2 ???????
== end ==Yes, this is a problem. I will apply your patch to 9.1 and head unless
I hear otherwise in a few hours.Looks fine to me, go ahead.
Hiroshi Saito wrote:
Hi Magnus-san and Bruce-san.
I am sorry in a very late reaction...
Is it enough for a 9.1release?
libpq of bcc32 and win32 has a problem.== error of nmake ==
????? .\Release\libpqdll.lib ???????
.\Release\libpqdll.exp ????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_inet_net_ntop ??? _connectFailureMessage ?????????
libpq.lib(getaddrinfo.obj) : error LNK2001: ??????
"_inet_net_ntop" ???????
libpq.lib(fe-connect.obj) : error LNK2019: ??????????
_pg_get_encoding_from_locale ??? _PQsetClientEncoding ?????????
.\Release\libpq.dll : fatal error LNK1120: ???? 2 ???????
== end ==Please take this into consideration.
Applied and backpatched to 9.1. Thanks.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +