problems with installing psqlodbc in Tiger

mkwan

Tech
I am having trouble installing psqlodbc-08.00.0101 into Tiger

first I run ./configure --with-iodbc....it seems to go through without any problems

then I run 'make' and I get compiler errors, below is the output of the errors:

mkwan:[psqlodbc-08.00.0101]$ make
make all-am
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF ".deps/info.Tpo" \
-c -o info.lo `test -f 'info.c' || echo './'`info.c; \
then mv -f ".deps/info.Tpo" ".deps/info.Plo"; \
else rm -f ".deps/info.Tpo"; exit 1; \
fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c info.c -fno-common -DPIC -o .libs/info.o
info.c: In function 'PGAPI_Tables':
info.c:1247: warning: pointer targets in assignment differ in signedness
info.c:1275: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness
info.c:1278: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness
info.c:1301: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness
info.c:1374: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c: In function 'PGAPI_Columns':
info.c:1680: warning: pointer targets in assignment differ in signedness
info.c:1707: warning: pointer targets in passing argument 3 of 'my_strcat' differ in signedness
info.c:1709: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:1712: warning: pointer targets in passing argument 3 of 'my_strcat' differ in signedness
info.c:1719: warning: pointer targets in passing argument 1 of 'reallyEscapeCatalogEscapes' differ in signedness
info.c:1722: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness
info.c:1725: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness
info.c:1755: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c: In function 'PGAPI_SpecialColumns':
info.c:2217: warning: pointer targets in assignment differ in signedness
info.c:2236: warning: pointer targets in passing argument 3 of 'my_strcat' differ in signedness
info.c:2239: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:2255: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c: In function 'PGAPI_Statistics':
info.c:2519: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness
info.c:2525: warning: pointer targets in assignment differ in signedness
info.c:2530: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:2554: warning: pointer targets in passing argument 2 of 'PGAPI_Columns' differ in signedness
info.c:2554: warning: pointer targets in passing argument 4 of 'PGAPI_Columns' differ in signedness
info.c:2554: warning: pointer targets in passing argument 6 of 'PGAPI_Columns' differ in signedness
info.c:2554: warning: pointer targets in passing argument 8 of 'PGAPI_Columns' differ in signedness
info.c:2644: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c:2657: warning: passing argument 6 of 'PGAPI_BindCol' from incompatible pointer type
info.c:2667: warning: passing argument 6 of 'PGAPI_BindCol' from incompatible pointer type
info.c: In function 'PGAPI_PrimaryKeys':
info.c:2972: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness
info.c:2978: warning: pointer targets in assignment differ in signedness
info.c:2984: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:2987: warning: passing argument 6 of 'PGAPI_BindCol' from incompatible pointer type
info.c:3070: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c: In function 'getClientColumnName':
info.c:3335: warning: pointer targets in passing argument 1 of 'isMultibyte' differ in signedness
info.c: In function 'PGAPI_ForeignKeys':
info.c:3516: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness
info.c:3517: warning: pointer targets in passing argument 1 of 'make_string' differ in signedness
info.c:3536: warning: pointer targets in passing argument 3 of 'schema_strcat' differ in signedness
info.c:3536: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:3612: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c:3747: warning: pointer targets in passing argument 4 of 'PGAPI_PrimaryKeys' differ in signedness
info.c:3747: warning: pointer targets in passing argument 6 of 'PGAPI_PrimaryKeys' differ in signedness
info.c:3883: warning: pointer targets in passing argument 3 of 'schema_strcat' differ in signedness
info.c:3883: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:3957: warning: pointer targets in passing argument 2 of 'PGAPI_ExecDirect' differ in signedness
info.c: In function 'PGAPI_ProcedureColumns':
info.c:4242: warning: pointer targets in passing argument 4 of 'schema_strcat1' differ in signedness
info.c:4242: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness
info.c:4243: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness
info.c:4251: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness
info.c: In function 'PGAPI_Procedures':
info.c:4425: warning: pointer targets in passing argument 4 of 'schema_strcat1' differ in signedness
info.c:4425: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness
info.c:4426: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness
info.c:4435: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness
info.c: In function 'PGAPI_TablePrivileges':
info.c:4565: warning: pointer targets in assignment differ in signedness
info.c:4580: warning: pointer targets in passing argument 5 of 'schema_strcat' differ in signedness
info.c:4582: warning: pointer targets in passing argument 3 of 'my_strcat' differ in signedness
info.c:4592: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness
info.c:4594: warning: pointer targets in passing argument 1 of 'reallyEscapeCatalogEscapes' differ in signedness
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT bind.lo -MD -MP -MF ".deps/bind.Tpo" \
-c -o bind.lo `test -f 'bind.c' || echo './'`bind.c; \
then mv -f ".deps/bind.Tpo" ".deps/bind.Plo"; \
else rm -f ".deps/bind.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT bind.lo -MD -MP -MF .deps/bind.Tpo -c bind.c -fno-common -DPIC -o .libs/bind.o
bind.c:42: error: conflicting types for 'PGAPI_BindParameter'
pgapifunc.h:263: error: previous declaration of 'PGAPI_BindParameter' was here
bind.c:144: error: conflicting types for 'PGAPI_BindCol'
pgapifunc.h:30: error: previous declaration of 'PGAPI_BindCol' was here
bind.c:285: error: conflicting types for 'PGAPI_DescribeParam'
pgapifunc.h:174: error: previous declaration of 'PGAPI_DescribeParam' was here
bind.c:338: error: conflicting types for 'PGAPI_ParamOptions'
pgapifunc.h:212: error: previous declaration of 'PGAPI_ParamOptions' was here
make[1]: *** [bind.lo] Error 1
make: *** [all] Error 2


thanks
 
Back
Top