Mac OS X build problems

"Daniel Corbe" <[email protected]>
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
First of all I think you guys are doing a great job.  I've been
looking for an alternative to Easysoft's uber expensive solution for a
while now.

I'm having build problems on Mac OS X.  I trield building from CVS and
autoconf takes a dump on me, so I backed down to 0.6pre1 and the build
fails:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I ../../include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-Iyes/include -g -O2 -DSQL -DIODBC -MT odbc.lo -MD -MP -MF
.deps/odbc.Tpo -c odbc.c  -fno-common -DPIC -o .libs/odbc.o
odbc.c:84: warning: pointer targets in initialization differ in signedness
odbc.c:85: warning: pointer targets in initialization differ in signedness
odbc.c:86: warning: pointer targets in initialization differ in signedness
odbc.c:87: warning: pointer targets in initialization differ in signedness
odbc.c:88: warning: pointer targets in initialization differ in signedness
odbc.c:89: warning: pointer targets in initialization differ in signedness
odbc.c:90: warning: pointer targets in initialization differ in signedness
odbc.c:91: warning: pointer targets in initialization differ in signedness
odbc.c:92: warning: pointer targets in initialization differ in signedness
odbc.c:93: warning: pointer targets in initialization differ in signedness
odbc.c:94: warning: pointer targets in initialization differ in signedness
odbc.c: In function 'do_connect':
odbc.c:131: warning: pointer targets in passing argument 2 of
'mdb_sql_open' differ in signedness
odbc.c: In function 'SQLDriverConnect':
odbc.c:159: warning: pointer targets in passing argument 2 of
'ExtractDSN' differ in signedness
odbc.c:159: warning: pointer targets in assignment differ in signedness
odbc.c:164: warning: pointer targets in passing argument 2 of
'LookupDSN' differ in signedness
odbc.c:171: warning: pointer targets in passing argument 2 of
'SetConnectString' differ in signedness
odbc.c:173: warning: pointer targets in assignment differ in signedness
odbc.c: At top level:
odbc.c:217: error: conflicting types for 'SQLDescribeParam'
/usr/include/sqlext.h:2405: error: previous declaration of
'SQLDescribeParam' was here
odbc.c:228: error: conflicting types for 'SQLExtendedFetch'
/usr/include/sqlext.h:2412: error: previous declaration of
'SQLExtendedFetch' was here
odbc.c:303: error: conflicting types for 'SQLParamOptions'
/usr/include/sqlext.h:2447: error: previous declaration of
'SQLParamOptions' was here
odbc.c:407: error: conflicting types for 'SQLBindParameter'
/usr/include/sqlext.h:2513: error: previous declaration of
'SQLBindParameter' was here
odbc.c:508: error: conflicting types for 'SQLBindCol'
/usr/include/sql.h:807: error: previous declaration of 'SQLBindCol' was here
odbc.c: In function 'SQLConnect':
odbc.c:574: warning: pointer targets in passing argument 2 of
'LookupDSN' differ in signedness
odbc.c:579: warning: pointer targets in assignment differ in signedness
odbc.c: At top level:
odbc.c:599: error: conflicting types for 'SQLDescribeCol'
/usr/include/sql.h:888: error: previous declaration of 'SQLDescribeCol' was here
odbc.c: In function 'SQLDescribeCol':
odbc.c:624: warning: pointer targets in passing argument 1 of
'strncpy' differ in signedness
odbc.c: At top level:
odbc.c:652: error: conflicting types for 'SQLColAttributes'
/usr/include/sqlext.h:2386: error: previous declaration of
'SQLColAttributes' was here
odbc.c: In function 'SQLError':
odbc.c:750: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
odbc.c:751: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
odbc.c: In function 'SQLExecDirect':
odbc.c:800: warning: pointer targets in passing argument 2 of 'strcpy'
differ in signedness
odbc.c: In function 'SQLPrepare':
odbc.c:979: warning: pointer targets in passing argument 2 of
'_odbc_get_string_size' differ in signedness
odbc.c:983: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
odbc.c: At top level:
odbc.c:992: error: conflicting types for 'SQLRowCount'
/usr/include/sql.h:1071: error: previous declaration of 'SQLRowCount' was here
odbc.c:1028: error: conflicting types for 'SQLSetParam'
/usr/include/sql.h:1183: error: previous declaration of 'SQLSetParam' was here
odbc.c:1064: error: conflicting types for 'SQLGetData'
/usr/include/sql.h:970: error: previous declaration of 'SQLGetData' was here
odbc.c: In function 'SQLGetTypeInfo':
odbc.c:1303: warning: pointer targets in passing argument 5 of
'mdb_ascii2unicode' differ in signedness
odbc.c:1307: warning: pointer targets in passing argument 5 of
'mdb_ascii2unicode' differ in signedness
odbc.c:1309: warning: pointer targets in passing argument 5 of
'mdb_ascii2unicode' differ in signedness
odbc.c:1311: warning: pointer targets in passing argument 5 of
'mdb_ascii2unicode' differ in signedness
odbc.c:1319: warning: pointer targets in passing argument 5 of
'mdb_ascii2unicode' differ in signedness
odbc.c: At top level:
odbc.c:1352: error: conflicting types for 'SQLPutData'
/usr/include/sql.h:1067: error: previous declaration of 'SQLPutData' was here
odbc.c:1361: error: conflicting types for 'SQLSetConnectOption'
/usr/include/sql.h:1084: error: previous declaration of
'SQLSetConnectOption' was here
odbc.c:1370: error: conflicting types for 'SQLSetStmtOption'
/usr/include/sql.h:1130: error: previous declaration of
'SQLSetStmtOption' was here
odbc.c: In function 'SQLTables':
odbc.c:1426: warning: pointer targets in passing argument 2 of
'_odbc_get_string_size' differ in signedness
odbc.c:1427: warning: pointer targets in passing argument 2 of
'_odbc_get_string_size' differ in signedness
odbc.c:1428: warning: pointer targets in passing argument 2 of
'_odbc_get_string_size' differ in signedness
odbc.c:1429: warning: pointer targets in passing argument 2 of
'_odbc_get_string_size' differ in signedness
odbc.c:1440: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
odbc.c:1447: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
odbc.c:1454: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
odbc.c:1461: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
make[2]: *** [odbc.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Any help is appriciated.  Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.