Skip site navigation (1) Skip section navigation (2)

Re: Request for supported platforms

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>,Thomas Lockhart <lockhart(at)fourpalms(dot)org>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Request for supported platforms
Date: 2002-10-29 19:33:58
Message-ID: 200210291933.g9TJXw518936@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Attached is a diff to fix the pclose problem.  It turns out there was
code in there to make popen/pclose be _popen/_pclose, but it was only in
common.c, even in 7.2.3 (print.c).  Not sure how it would compile in the
past with that.  Maybe it didn't.  Anyway, this is committed and should
_help_ with the compile.

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

Dave Page wrote:
> 
> 
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us] 
> > Sent: 29 October 2002 04:24
> > To: Dave Page
> > Cc: PostgreSQL-development; Thomas Lockhart; Tom Lane
> > Subject: Re: [HACKERS] Request for supported platforms
> > 
> > 
> > 
> > I have updated CVS and re-added getopt.c, now in /port, and 
> > updated win32.mak.  That should help.
> 
> Thanks. Unfortunately not quite there though:
> 
> print.c(1038) : warning C4013: 'pclose' undefined; assuming extern
> returning int
> 
> describe.c
> tab-complete.c
> describe.c(1462) : warning C4761: integral size mismatch in argument;
> conversion supplied
> mbprint.c
>         link.exe @.\nmc01556.
> print.obj : error LNK2001: unresolved external symbol _pclose
> .\Release\psql.exe : 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\VC98\bin\nmake.exe"' : return code '0x2'
> Stop.
> 
> Any ideas?
> 
> Regards, Dave.
> 

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

In response to

pgsql-hackers by date

Next:From: Vince VielhaberDate: 2002-10-29 19:36:14
Subject: Re: Is regress/report.php in use?
Previous:From: Bruce MomjianDate: 2002-10-29 19:09:03
Subject: Re: [HACKERS] Request for supported platforms

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group