Обсуждение: Re: [INTERFACES] bcc32 libpq compile problem

Поиск
Список
Период
Сортировка

Re: [INTERFACES] bcc32 libpq compile problem

От
"f.guidi@libero.it"
Дата:
There where an extra character in the .mak file, and then i try to rebuild and now i obtain these errors ...

at the and a file called blibpq.lib was built but it don't seem valid.



> Fabio Guidi wrote:
> > the compiler build correctly the package without error message ?
> >
> > Bruce Momjian ha scritto:
> >
> > >I downloaded the Borland compiler and am running build tests now.
>
> I finally got it working.  I had to make major changes to the build
> file.  The new attached bcc32.mak should build on your 8.0.X system, and
> this file will be in 8.0.3.
> 
> --
>   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
>



____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it

Вложения

Re: [INTERFACES] bcc32 libpq compile problem

От
Bruce Momjian
Дата:
f.guidi@libero.it wrote:
> There where an extra character in the .mak file, and then i try to rebuild and now i obtain these errors ...
>
> at the and a file called blibpq.lib was built but it don't seem valid.
>

Here is a fix I forgot to send you that will allow libpq to compile.
This patch will be in 8.0.X too.

--
  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
Index: src/interfaces/libpq/pthread-win32.c
===================================================================
RCS file: /cvsroot/pgsql/src/interfaces/libpq/pthread-win32.c,v
retrieving revision 1.4
diff -c -c -r1.4 pthread-win32.c
*** src/interfaces/libpq/pthread-win32.c    1 Jan 2005 20:44:31 -0000    1.4
--- src/interfaces/libpq/pthread-win32.c    29 Apr 2005 13:40:34 -0000
***************
*** 12,18 ****


  #include <windows.h>
! #include <pthread.h>

  HANDLE
  pthread_self()
--- 12,18 ----


  #include <windows.h>
! #include "pthread.h"

  HANDLE
  pthread_self()