From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, "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:53:10 |
Message-ID: | E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D86B@ratbert.vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Dave Page
> Sent: 24 October 2006 15:51
> To: Hiroshi Inoue
> Cc: pgsql-odbc(at)postgresql(dot)org; Hiroshi Saito
> Subject: Re: [ODBC] New release?
>
>
>
> > -----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.
And including unistd.h in mish.h seems to solve it.
Regards, Dave.
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Morgan Lloyd | 2006-10-25 11:02:32 | Re: New release? |
Previous Message | Dave Page | 2006-10-24 14:51:17 | Re: New release? |