Re: New release? - Mailing list pgsql-odbc

From Dave Page
Subject Re: New release?
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D86A@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Re: New release?  (Hiroshi Inoue <inoue@tpf.co.jp>)
Responses Re: New release?
List pgsql-odbc

> -----Original Message-----
> From: Hiroshi Inoue [mailto:inoue@tpf.co.jp]
> Sent: 24 October 2006 15:48
> To: Dave Page
> Cc: pgsql-odbc@postgresql.org; Hiroshi Saito
> Subject: Re: New release?
>
> Oops I forgot to mention I've never compiled it under 64bit mode.
> Could anyone compile it on 64bit *nix machine ?

Seems even 32 bit is broken on my normal build machine:

 gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -I/usr/local/pgsql/include -g -O2 -MT info.lo -MD
-MP -MF .deps/info.Tpo -c info.c  -fPIC -DPIC -o .libs/info.o
In file included from psqlodbc.h:490,
                 from info.c:19:
misc.h:127: error: syntax error before "ssize_t"
misc.h:129: error: syntax error before "ssize_t"
misc.h:130: error: syntax error before "ssize_t"
misc.h:131: error: syntax error before "ssize_t"
misc.h:132: error: syntax error before "ssize_t"
misc.h:134: error: syntax error before "ssize_t"
misc.h:136: error: syntax error before "ssize_t"
misc.h:149: error: syntax error before "my_strcpy"
misc.h:149: error: syntax error before "ssize_t"
misc.h:149: warning: type defaults to `int' in declaration of
`my_strcpy'
misc.h:149: warning: data definition has no type or storage class
info.c: In function `PGAPI_GetInfo':
info.c:827: warning: label `cleanup' defined but not used
info.c: In function `PGAPI_GetTypeInfo':
info.c:972: warning: label `cleanup' defined but not used
info.c: In function `PGAPI_Statistics':
info.c:2866: warning: unused variable `relkind'
info.c: In function `PGAPI_ColumnPrivileges':
info.c:3415: warning: label `cleanup' defined but not used
make[1]: *** [info.lo] Error 1
make[1]: Leaving directory
`/usr/local/src/postgresql-8.1.5/src/interfaces/psqlodbc'
make: *** [all] Error 2

That's on a recent Slackware linux, with gcc (GCC) 3.4.5.

:-(

Regards, Dave.

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: New release?
Next
From: Gary Buckmaster
Date:
Subject: pgODBC on Win2k3 AS with MS SQL 2005