X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 74DE89DCA21 for ; Mon, 20 Feb 2006 13:10:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40420-01 for ; Mon, 20 Feb 2006 13:10:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (smtp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 74BEE9DCA0D for ; Mon, 20 Feb 2006 13:09:59 -0400 (AST) Received: (qmail 17076 invoked from network); 21 Feb 2006 02:09:58 +0900 X-Authentication: inoue was authenticated by smtp.tpf.co.jp at 21 Feb 2006 02:09:58 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.10) by smtp.tpf.co.jp with SMTP; 21 Feb 2006 02:09:58 +0900 Message-ID: <43F9F7E7.2000009@tpf.co.jp> Date: Tue, 21 Feb 2006 02:09:59 +0900 From: Hiroshi Inoue User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Dave Page CC: Hiroshi Saito , pgsql-odbc@postgresql.org Subject: Re: Building the psqlODBC enhanced branch (Linux) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.06 required=5 tests=[AWL=0.060] X-Spam-Score: 0.06 X-Spam-Level: X-Archive-Number: 200602/105 X-Sequence-Number: 7234 Dave Page wrote: >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 > > How is it defined in config.h, SIZEOF_LONG or HAVE_STRTOLL ? regards, Hiroshi Inoue