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

Re: New release?

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp>
Cc: <pgsql-odbc(at)postgresql(dot)org>,"Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Subject: Re: New release?
Date: 2006-10-24 14:51:17
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D86A@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgsql-odbc
 

> -----Original Message-----
> From: Hiroshi Inoue [mailto:inoue(at)tpf(dot)co(dot)jp] 
> Sent: 24 October 2006 15:48
> To: Dave Page
> Cc: pgsql-odbc(at)postgresql(dot)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.

In response to

Responses

pgsql-odbc by date

Next:From: Dave PageDate: 2006-10-24 14:53:10
Subject: Re: New release?
Previous:From: Hiroshi InoueDate: 2006-10-24 14:48:14
Subject: Re: New release?

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