Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AB8086325EA for ; Mon, 13 Sep 2010 01:36:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 87183-01 for ; Mon, 13 Sep 2010 04:35:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from int-server.iserv.net.au (syd-master.iserv.net.au [122.252.14.65]) by mail.postgresql.org (Postfix) with ESMTP id 529506324FA for ; Mon, 13 Sep 2010 01:35:56 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by int-server.iserv.net.au (Postfix) with ESMTP id A75223F8044E for ; Mon, 13 Sep 2010 14:35:52 +1000 (EST) X-Virus-Scanned: amavisd-new at iserv.net.au Received: from int-server.iserv.net.au ([127.0.0.1]) by localhost (syd-master.iserv.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o1I10IKNwhzS for ; Mon, 13 Sep 2010 14:35:51 +1000 (EST) Received: from [192.168.1.247] (dsl-202-173-132-140.nsw.westnet.com.au [202.173.132.140]) (Authenticated sender: kilburna@iservnetworks.com) by int-server.iserv.net.au (Postfix) with ESMTPA id 78EA03F80447 for ; Mon, 13 Sep 2010 14:35:51 +1000 (EST) Message-ID: <4C8DAA09.7020006@iservnetworks.com> Date: Mon, 13 Sep 2010 14:35:21 +1000 From: Kilburn Abrahams User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.9) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Build problems with unixodbc 2.3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-10 required=5 tests=BAYES_50=0.8 X-Spam-Level: X-Archive-Number: 201009/19 X-Sequence-Number: 10429 Sorry for resending this again, but I lost my emails. I am getting build erros with psqlodbc 08.04.200 and unixodbc 2.3.0 on gentoo 64 bit. My configure is ./configure --with-unixodbc --with-libpq=/usr/include/postgresql --with-gnu-ld The error occurs after this if /bin/sh ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/postgresql/include -I/usr/include/postgresql-8.4 -Wall -g -O2 -MT odbcapi.lo -MD -MP -MF ".deps/odbcapi.Tpo" -c -o odbcapi.lo odbcapi.c; \ then mv -f ".deps/odbcapi.Tpo" ".deps/odbcapi.Plo"; else rm -f ".deps/odbcapi.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/postgresql/include -I/usr/include/postgresql-8.4 -Wall -g -O2 -MT odbcapi.lo -MD -MP -MF .deps/odbcapi.Tpo -c odbcapi.c -fPIC -DPIC -o .libs/odbcapi.o odbcapi.c: In function 'SQLColumns': odbcapi.c:150: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:152: warning: pointer targets in assignment differ in signedness odbcapi.c:155: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:157: warning: pointer targets in assignment differ in signedness odbcapi.c:160: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:162: warning: pointer targets in assignment differ in signedness odbcapi.c:165: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:167: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLFetch': odbcapi.c:397: warning: pointer targets in initialization differ in signedness odbcapi.c:401: warning: pointer targets in passing argument 4 of 'PGAPI_ExtendedFetch' differ in signedness pgapifunc.h:186: note: expected 'SQLULEN *' but argument is of type 'SQLLEN *' odbcapi.c: In function 'SQLSpecialColumns': odbcapi.c:796: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:798: warning: pointer targets in assignment differ in signedness odbcapi.c:801: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:803: warning: pointer targets in assignment differ in signedness odbcapi.c:806: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:808: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLStatistics': odbcapi.c:859: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:861: warning: pointer targets in assignment differ in signedness odbcapi.c:864: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:866: warning: pointer targets in assignment differ in signedness odbcapi.c:869: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:871: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLTables': odbcapi.c:927: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:929: warning: pointer targets in assignment differ in signedness odbcapi.c:932: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:934: warning: pointer targets in assignment differ in signedness odbcapi.c:937: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:939: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLColumnPrivileges': odbcapi.c:1046: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1048: warning: pointer targets in assignment differ in signedness odbcapi.c:1051: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1053: warning: pointer targets in assignment differ in signedness odbcapi.c:1056: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1058: warning: pointer targets in assignment differ in signedness odbcapi.c:1061: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1063: warning: pointer targets in assignment differ in signedness odbcapi.c: At top level: odbcapi.c:1115: error: expected declaration specifiers or '...' before 'SQLROWSETSIZE' odbcapi.c:1110: error: conflicting types for 'SQLExtendedFetch' /usr/include/sqlext.h:1922: note: previous declaration of 'SQLExtendedFetch' was here odbcapi.c: In function 'SQLExtendedFetch': odbcapi.c:1133: error: 'pcrow' undeclared (first use in this function) odbcapi.c:1133: error: (Each undeclared identifier is reported only once odbcapi.c:1133: error: for each function it appears in.) odbcapi.c: In function 'SQLForeignKeys': odbcapi.c:1188: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1190: warning: pointer targets in assignment differ in signedness odbcapi.c:1193: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1195: warning: pointer targets in assignment differ in signedness odbcapi.c:1198: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1200: warning: pointer targets in assignment differ in signedness odbcapi.c:1203: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1205: warning: pointer targets in assignment differ in signedness odbcapi.c:1208: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1210: warning: pointer targets in assignment differ in signedness odbcapi.c:1213: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1215: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLPrimaryKeys': odbcapi.c:1352: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1354: warning: pointer targets in assignment differ in signedness odbcapi.c:1357: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1359: warning: pointer targets in assignment differ in signedness odbcapi.c:1362: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1364: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLProcedureColumns': odbcapi.c:1425: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1427: warning: pointer targets in assignment differ in signedness odbcapi.c:1430: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1432: warning: pointer targets in assignment differ in signedness odbcapi.c:1435: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1437: warning: pointer targets in assignment differ in signedness odbcapi.c:1440: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1442: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLProcedures': odbcapi.c:1504: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1506: warning: pointer targets in assignment differ in signedness odbcapi.c:1509: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1511: warning: pointer targets in assignment differ in signedness odbcapi.c:1514: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1516: warning: pointer targets in assignment differ in signedness odbcapi.c: In function 'SQLTablePrivileges': odbcapi.c:1594: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1596: warning: pointer targets in assignment differ in signedness odbcapi.c:1599: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1601: warning: pointer targets in assignment differ in signedness odbcapi.c:1604: warning: pointer targets in passing argument 2 of 'make_lstring_ifneeded' differ in signedness misc.h:133: note: expected 'const char *' but argument is of type 'SQLCHAR *' odbcapi.c:1606: warning: pointer targets in assignment differ in signedness make[1]: *** [odbcapi.lo] Error 1 make[1]: Leaving directory `/root/psqlodbc-08.04.0200' make: *** [all] Error 2 Thank you Kilburn