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

Build problems with unixodbc 2.3

From: Kilburn Abrahams <kilburna(at)iservnetworks(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Build problems with unixodbc 2.3
Date: 2010-09-13 04:35:21
Message-ID: 4C8DAA09.7020006@iservnetworks.com (view raw or flat)
Thread:
Lists: pgsql-odbc
  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

pgsql-odbc by date

Next:From: Robert KlausDate: 2010-09-14 01:11:29
Subject: sspi & odbc
Previous:From: Vladimir KokovicDate: 2010-09-12 14:13:00
Subject: PostgreSQL 9.1devel(git 20100910) - ODBC driver 07.03.0100 bytea problem

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