pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kilburn Abrahams <kilburna@iservnetworks.com>
To: pgsql-odbc@postgresql.org
Subject: Build problems with unixodbc 2.3
Date: Mon, 13 Sep 2010 14:35:21 +1000
Message-ID: <4C8DAA09.7020006@iservnetworks.com> (raw)

  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



view thread (3+ messages)

Message-ID: <4C8DAA09.7020006@iservnetworks.com>
Permalink:  ../4C8DAA09.7020006@iservnetworks.com/
Also on:    postgresql.org/message-id/4C8DAA09.7020006@iservnetworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: kilburna@iservnetworks.com
  Subject: Re: Build problems with unixodbc 2.3
  In-Reply-To: <4C8DAA09.7020006@iservnetworks.com>
  References: <4C8DAA09.7020006@iservnetworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox