Thread: can't link the libpq.dll for bcc32.mak

can't link the libpq.dll for bcc32.mak

From
"Ping-Hua Shao"
Date:
Dear:
I try to compile the libpq library (in 7.3.4 & 7.4 beta1 src folder) with bcc32.mak under bcc55 and bcb6, but have some problems when linked.
The problems are about :
1._pqGethostbyname
2._pqStrerror
can't referenced.
 
I think these 2 functions were new, maybe  we have to patch the makefile and .def files.
 
Best Regards
 

Re: can't link the libpq.dll for bcc32.mak

From
Bruce Momjian
Date:
Ping-Hua Shao wrote:
> Dear:
> I try to compile the libpq library (in 7.3.4 & 7.4 beta1 src folder) with bcc32.mak under bcc55 and bcb6, but have
someproblems when linked. 
> The problems are about :
> 1._pqGethostbyname
> 2._pqStrerror
> can't referenced.
>
> I think these 2 functions were new, maybe  we have to patch the makefile and .def files.

This is fixed in current CVS and will be in beta3.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: can't link the libpq.dll for bcc32.mak

From
"Relaxin"
Date:
I downloaded the latest source and this problem still exist.

"Bruce Momjian" <pgman@candle.pha.pa.us> wrote in message
news:200309050308.h85386V22849@candle.pha.pa.us...
> Ping-Hua Shao wrote:
> > Dear:
> > I try to compile the libpq library (in 7.3.4 & 7.4 beta1 src folder)
with bcc32.mak under bcc55 and bcb6, but have some problems when linked.
> > The problems are about :
> > 1._pqGethostbyname
> > 2._pqStrerror
> > can't referenced.
> >
> > I think these 2 functions were new, maybe  we have to patch the makefile
and .def files.
>
> This is fixed in current CVS and will be in beta3.
>
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>



Re: can't link the libpq.dll for bcc32.mak

From
Bruce Momjian
Date:
Would you send over a patch of the changes you used to fix it?  You
downloaded the snapshot or CVS HEAD, right?  beta2 doesn't have the fix.

---------------------------------------------------------------------------

Relaxin wrote:
> I downloaded the latest source and this problem still exist.
>
> "Bruce Momjian" <pgman@candle.pha.pa.us> wrote in message
> news:200309050308.h85386V22849@candle.pha.pa.us...
> > Ping-Hua Shao wrote:
> > > Dear:
> > > I try to compile the libpq library (in 7.3.4 & 7.4 beta1 src folder)
> with bcc32.mak under bcc55 and bcb6, but have some problems when linked.
> > > The problems are about :
> > > 1._pqGethostbyname
> > > 2._pqStrerror
> > > can't referenced.
> > >
> > > I think these 2 functions were new, maybe  we have to patch the makefile
> and .def files.
> >
> > This is fixed in current CVS and will be in beta3.
> >
> > --
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.us               |  (610) 359-1001
> >   +  If your life is a hard drive,     |  13 Roberts Road
> >   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
> 19073
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 8: explain analyze is your friend
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073