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

Building the psqlODBC enhanced branch (Linux)

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp>
Cc: <pgsql-odbc(at)postgresql(dot)org>,"Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp>
Subject: Building the psqlODBC enhanced branch (Linux)
Date: 2006-02-20 10:01:25
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40103E1E9@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgsql-odbc
Hi Hiroshi,

Continuing my earlier testing, I've moved onto Linux. My test machine
has UnixODBC 2.2.11 rather than iODBC installed - unfortunately I get a
compile failure:

if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/local/pgsql/include  -g -O2 -MT convert.lo -MD -MP -MF
".deps/convert.Tpo" -c -o convert.lo convert.c; \
then mv -f ".deps/convert.Tpo" ".deps/convert.Plo"; else rm -f
".deps/convert.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/pgsql/include -g -O2 -MT
convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.c  -fPIC -DPIC -o
convert.lo
convert.c: In function `copy_and_convert_field':
convert.c:1239: error: incompatible types in assignment
convert.c:1241: error: incompatible types in assignment
convert.c:1247: error: incompatible types in assignment
convert.c:1249: error: incompatible types in assignment
make[1]: *** [convert.lo] Error 1
make[1]: Leaving directory `/home/dpage/psqlodbc'
make: *** [all] Error 2

That's with gcc 3.4.5.

:-(

That is actually on developer.pgadmin.org, so you can login and take a
look yourself if you like.

Regards, Dave.

Responses

pgsql-odbc by date

Next:From: Mark Morgan LloydDate: 2006-02-20 10:59:46
Subject: Production version of ODBC drivers
Previous:From: Dave PageDate: 2006-02-20 09:45:54
Subject: Building the psqlODBC enhanced branch (Windows)

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