|
From: Daniel C. <dan...@gm...> - 2006-06-16 16:18:49
|
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. |
|
From: Daniel C. <dan...@gm...> - 2006-06-16 18:05:31
|
I'd rather not use fink if I can avoid it. If there's no official package management system for OS X I'd rather not use one that's (in my opinion) broken. Th I prefer to build things I need by hand. I know that It sounds insane and its a concept that I had to struggle with at first; however I have control over what's installed and how it interacts with other things on the system. Now I love it. If you have enough patience it beats the shit out of using a ports tree, fink, portage and any binary package management systems such as apt, RPM. I'm trying to avoid having to upgrade Apple's ancient installations of libtool, autoconf and automake; however, if CVS is the recommended route then I suppose that I have little other choice in the matter. I'll try and run from CVS and get back to you about my results. Regards, Daniel On 6/16/06, Sam Moffatt <pa...@gm...> wrote: > Hi Daniel, > > First of all have a read through a thread a few months ago where I > helped someone else out in getting it up and running on Mac OS X > 10.4.x (what ever release it was back then) using Fink. I recently > wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I > only installed it to help that user out too) and my Fink install is > rather limited. If you encounter issues, I can have a look at it and > see what I can make from it. > > And the usual advice from this list is use the CVS version ;) > > Sam > > On 17/06/06, Daniel Corbe <dan...@gm...> wrote: > > 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. > > > > > > _______________________________________________ > > mdbtools-dev mailing list > > mdb...@li... > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > > |
|
From: Sam M. <pa...@gm...> - 2006-06-16 19:02:29
|
Hi Daniel, First of all have a read through a thread a few months ago where I helped someone else out in getting it up and running on Mac OS X 10.4.x (what ever release it was back then) using Fink. I recently wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I only installed it to help that user out too) and my Fink install is rather limited. If you encounter issues, I can have a look at it and see what I can make from it. And the usual advice from this list is use the CVS version ;) Sam On 17/06/06, Daniel Corbe <dan...@gm...> wrote: > 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. > > > _______________________________________________ > mdbtools-dev mailing list > mdb...@li... > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > |
|
From: Daniel C. <dan...@gm...> - 2006-06-17 00:10:50
|
Well the CVS version built just fine. Back on track now. Thanks for the help -Daniel On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > I'd rather not use fink if I can avoid it. If there's no official > package management system for OS X I'd rather not use one that's (in > my opinion) broken. Th > > I prefer to build things I need by hand. I know that It sounds insane > and its a concept that I had to struggle with at first; however I have > control over what's installed and how it interacts with other things > on the system. Now I love it. If you have enough patience it beats > the shit out of using a ports tree, fink, portage and any binary > package management systems such as apt, RPM. > > I'm trying to avoid having to upgrade Apple's ancient installations of > libtool, autoconf and automake; however, if CVS is the recommended > route then I suppose that I have little other choice in the matter. > > I'll try and run from CVS and get back to you about my results. > > Regards, > Daniel > > On 6/16/06, Sam Moffatt <pa...@gm...> wrote: > > Hi Daniel, > > > > First of all have a read through a thread a few months ago where I > > helped someone else out in getting it up and running on Mac OS X > > 10.4.x (what ever release it was back then) using Fink. I recently > > wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I > > only installed it to help that user out too) and my Fink install is > > rather limited. If you encounter issues, I can have a look at it and > > see what I can make from it. > > > > And the usual advice from this list is use the CVS version ;) > > > > Sam > > > > On 17/06/06, Daniel Corbe <dan...@gm...> wrote: > > > 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. > > > > > > > > > _______________________________________________ > > > mdbtools-dev mailing list > > > mdb...@li... > > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > > > > > |
|
From: Daniel C. <dan...@gm...> - 2006-06-19 18:13:20
|
Sam, On Mac OS X mdbtools builds just fine without ODBC support. I'm linking against the Mac OS X installed version of iODBC and I get the following compile-time errors. Any suggestions? Would you still be willing to "take a look" if I can provide you ssh access to my machine? Thank you for your assistance. -Daniel 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 -I/usr/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:82: warning: pointer targets in initialization differ in signedness odbc.c:83: warning: pointer targets in initialization differ in signedness 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: In function 'do_connect': odbc.c:129: warning: pointer targets in passing argument 2 of 'mdb_sql_open' differ in signedness odbc.c: In function 'SQLDriverConnect': odbc.c:157: warning: pointer targets in passing argument 2 of 'ExtractDSN' differ in signedness odbc.c:157: warning: pointer targets in assignment differ in signedness odbc.c:162: warning: pointer targets in passing argument 2 of 'LookupDSN' differ in signedness odbc.c:169: warning: pointer targets in passing argument 2 of 'SetConnectString' differ in signedness odbc.c:171: warning: pointer targets in assignment differ in signedness odbc.c: At top level: odbc.c:215: error: conflicting types for 'SQLDescribeParam' /usr/include/sqlext.h:2405: error: previous declaration of 'SQLDescribeParam' was here odbc.c:226: error: conflicting types for 'SQLExtendedFetch' /usr/include/sqlext.h:2412: error: previous declaration of 'SQLExtendedFetch' was here odbc.c:301: error: conflicting types for 'SQLParamOptions' /usr/include/sqlext.h:2447: error: previous declaration of 'SQLParamOptions' was here odbc.c:405: error: conflicting types for 'SQLBindParameter' /usr/include/sqlext.h:2513: error: previous declaration of 'SQLBindParameter' was here odbc.c:506: error: conflicting types for 'SQLBindCol' /usr/include/sql.h:807: error: previous declaration of 'SQLBindCol' was here odbc.c: In function 'SQLConnect': odbc.c:572: warning: pointer targets in passing argument 2 of 'g_string_assign' differ in signednessodbc.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:733: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness odbc.c:734: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness odbc.c: In function 'SQLExecDirect': odbc.c:783: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness odbc.c: In function 'SQLPrepare': odbc.c:959: warning: pointer targets in passing argument 2 of '_odbc_get_string_size' differ in signedness odbc.c:963: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness odbc.c: At top level: odbc.c:972: error: conflicting types for 'SQLRowCount' /usr/include/sql.h:1071: error: previous declaration of 'SQLRowCount' was here odbc.c:1008: error: conflicting types for 'SQLSetParam' /usr/include/sql.h:1183: error: previous declaration of 'SQLSetParam' was here odbc.c: In function 'SQLColumns': odbc.c:1074: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness odbc.c:1081: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1082: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1083: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c: At top level: odbc.c:1129: error: conflicting types for 'SQLGetData' /usr/include/sql.h:970: error: previous declaration of 'SQLGetData' was here odbc.c: In function 'SQLGetTypeInfo': odbc.c:1385: warning: pointer targets in passing argument 2 of 'mdb_ascii2unicode' differ in signedness odbc.c:1385: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1386: warning: pointer targets in passing argument 2 of 'mdb_ascii2unicode' differ in signedness odbc.c:1386: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1387: warning: pointer targets in passing argument 2 of 'mdb_ascii2unicode' differ in signedness odbc.c:1387: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1388: warning: pointer targets in passing argument 2 of 'mdb_ascii2unicode' differ in signedness odbc.c:1388: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1389: warning: pointer targets in passing argument 2 of 'mdb_ascii2unicode' differ in signedness odbc.c:1389: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c: At top level: odbc.c:1433: error: conflicting types for 'SQLPutData' /usr/include/sql.h:1067: error: previous declaration of 'SQLPutData' was here odbc.c:1442: error: conflicting types for 'SQLSetConnectOption' /usr/include/sql.h:1084: error: previous declaration of 'SQLSetConnectOption' was here odbc.c:1451: error: conflicting types for 'SQLSetStmtOption' /usr/include/sql.h:1130: error: previous declaration of 'SQLSetStmtOption' was here odbc.c: In function 'SQLTables': odbc.c:1507: warning: pointer targets in initialization differ in signedness odbc.c:1507: warning: pointer targets in initialization differ in signedness odbc.c:1507: warning: pointer targets in initialization differ in signedness odbc.c:1543: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness odbc.c:1544: warning: pointer targets in passing argument 2 of 'mdb_ascii2unicode' differ in signedness odbc.c:1544: warning: pointer targets in passing argument 4 of 'mdb_ascii2unicode' differ in signedness make[2]: *** [odbc.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > Well the CVS version built just fine. Back on track now. > > Thanks for the help > > -Daniel > > On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > > I'd rather not use fink if I can avoid it. If there's no official > > package management system for OS X I'd rather not use one that's (in > > my opinion) broken. Th > > > > I prefer to build things I need by hand. I know that It sounds insane > > and its a concept that I had to struggle with at first; however I have > > control over what's installed and how it interacts with other things > > on the system. Now I love it. If you have enough patience it beats > > the shit out of using a ports tree, fink, portage and any binary > > package management systems such as apt, RPM. > > > > I'm trying to avoid having to upgrade Apple's ancient installations of > > libtool, autoconf and automake; however, if CVS is the recommended > > route then I suppose that I have little other choice in the matter. > > > > I'll try and run from CVS and get back to you about my results. > > > > Regards, > > Daniel > > > > On 6/16/06, Sam Moffatt <pa...@gm...> wrote: > > > Hi Daniel, > > > > > > First of all have a read through a thread a few months ago where I > > > helped someone else out in getting it up and running on Mac OS X > > > 10.4.x (what ever release it was back then) using Fink. I recently > > > wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I > > > only installed it to help that user out too) and my Fink install is > > > rather limited. If you encounter issues, I can have a look at it and > > > see what I can make from it. > > > > > > And the usual advice from this list is use the CVS version ;) > > > > > > Sam > > > > > > On 17/06/06, Daniel Corbe <dan...@gm...> wrote: > > > > 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. > > > > > > > > > > > > _______________________________________________ > > > > mdbtools-dev mailing list > > > > mdb...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > > > > > > > > > |
|
From: Daniel C. <dan...@gm...> - 2006-06-22 02:37:33
|
:) On 6/19/06, Daniel Corbe <dan...@gm...> wrote: > Sam, > > On Mac OS X mdbtools builds just fine without ODBC support. I'm > linking against the Mac OS X installed version of iODBC and I get the > following compile-time errors. Any suggestions? Would you still be > willing to "take a look" if I can provide you ssh access to my > machine? > > Thank you for your assistance. > > -Daniel > > 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 > -I/usr/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:82: warning: pointer targets in initialization differ in signedness > odbc.c:83: warning: pointer targets in initialization differ in signedness > 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: In function 'do_connect': > odbc.c:129: warning: pointer targets in passing argument 2 of > 'mdb_sql_open' differ in signedness > odbc.c: In function 'SQLDriverConnect': > odbc.c:157: warning: pointer targets in passing argument 2 of > 'ExtractDSN' differ in signedness > odbc.c:157: warning: pointer targets in assignment differ in signedness > odbc.c:162: warning: pointer targets in passing argument 2 of > 'LookupDSN' differ in signedness > odbc.c:169: warning: pointer targets in passing argument 2 of > 'SetConnectString' differ in signedness > odbc.c:171: warning: pointer targets in assignment differ in signedness > odbc.c: At top level: > odbc.c:215: error: conflicting types for 'SQLDescribeParam' > /usr/include/sqlext.h:2405: error: previous declaration of > 'SQLDescribeParam' was here > odbc.c:226: error: conflicting types for 'SQLExtendedFetch' > /usr/include/sqlext.h:2412: error: previous declaration of > 'SQLExtendedFetch' was here > odbc.c:301: error: conflicting types for 'SQLParamOptions' > /usr/include/sqlext.h:2447: error: previous declaration of > 'SQLParamOptions' was here > odbc.c:405: error: conflicting types for 'SQLBindParameter' > /usr/include/sqlext.h:2513: error: previous declaration of > 'SQLBindParameter' was here > odbc.c:506: error: conflicting types for 'SQLBindCol' > /usr/include/sql.h:807: error: previous declaration of 'SQLBindCol' was here > odbc.c: In function 'SQLConnect': > odbc.c:572: warning: pointer targets in passing argument 2 of > 'g_string_assign' differ in signednessodbc.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:733: warning: pointer targets in passing argument 1 of 'strcpy' > differ in signedness > odbc.c:734: warning: pointer targets in passing argument 1 of 'strcpy' > differ in signedness > odbc.c: In function 'SQLExecDirect': > odbc.c:783: warning: pointer targets in passing argument 2 of 'strcpy' > differ in signedness > odbc.c: In function 'SQLPrepare': > odbc.c:959: warning: pointer targets in passing argument 2 of > '_odbc_get_string_size' differ in signedness > odbc.c:963: warning: pointer targets in passing argument 2 of > 'strncpy' differ in signedness > odbc.c: At top level: > odbc.c:972: error: conflicting types for 'SQLRowCount' > /usr/include/sql.h:1071: error: previous declaration of 'SQLRowCount' was here > odbc.c:1008: error: conflicting types for 'SQLSetParam' > /usr/include/sql.h:1183: error: previous declaration of 'SQLSetParam' was here > odbc.c: In function 'SQLColumns': > odbc.c:1074: warning: pointer targets in passing argument 1 of > 'strcasecmp' differ in signedness > odbc.c:1081: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1082: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1083: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c: At top level: > odbc.c:1129: error: conflicting types for 'SQLGetData' > /usr/include/sql.h:970: error: previous declaration of 'SQLGetData' was here > odbc.c: In function 'SQLGetTypeInfo': > odbc.c:1385: warning: pointer targets in passing argument 2 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1385: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1386: warning: pointer targets in passing argument 2 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1386: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1387: warning: pointer targets in passing argument 2 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1387: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1388: warning: pointer targets in passing argument 2 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1388: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1389: warning: pointer targets in passing argument 2 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1389: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c: At top level: > odbc.c:1433: error: conflicting types for 'SQLPutData' > /usr/include/sql.h:1067: error: previous declaration of 'SQLPutData' was here > odbc.c:1442: error: conflicting types for 'SQLSetConnectOption' > /usr/include/sql.h:1084: error: previous declaration of > 'SQLSetConnectOption' was here > odbc.c:1451: error: conflicting types for 'SQLSetStmtOption' > /usr/include/sql.h:1130: error: previous declaration of > 'SQLSetStmtOption' was here > odbc.c: In function 'SQLTables': > odbc.c:1507: warning: pointer targets in initialization differ in signedness > odbc.c:1507: warning: pointer targets in initialization differ in signedness > odbc.c:1507: warning: pointer targets in initialization differ in signedness > odbc.c:1543: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1544: warning: pointer targets in passing argument 2 of > 'mdb_ascii2unicode' differ in signedness > odbc.c:1544: warning: pointer targets in passing argument 4 of > 'mdb_ascii2unicode' differ in signedness > make[2]: *** [odbc.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > > > On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > > Well the CVS version built just fine. Back on track now. > > > > Thanks for the help > > > > -Daniel > > > > On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > > > I'd rather not use fink if I can avoid it. If there's no official > > > package management system for OS X I'd rather not use one that's (in > > > my opinion) broken. Th > > > > > > I prefer to build things I need by hand. I know that It sounds insane > > > and its a concept that I had to struggle with at first; however I have > > > control over what's installed and how it interacts with other things > > > on the system. Now I love it. If you have enough patience it beats > > > the shit out of using a ports tree, fink, portage and any binary > > > package management systems such as apt, RPM. > > > > > > I'm trying to avoid having to upgrade Apple's ancient installations of > > > libtool, autoconf and automake; however, if CVS is the recommended > > > route then I suppose that I have little other choice in the matter. > > > > > > I'll try and run from CVS and get back to you about my results. > > > > > > Regards, > > > Daniel > > > > > > On 6/16/06, Sam Moffatt <pa...@gm...> wrote: > > > > Hi Daniel, > > > > > > > > First of all have a read through a thread a few months ago where I > > > > helped someone else out in getting it up and running on Mac OS X > > > > 10.4.x (what ever release it was back then) using Fink. I recently > > > > wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I > > > > only installed it to help that user out too) and my Fink install is > > > > rather limited. If you encounter issues, I can have a look at it and > > > > see what I can make from it. > > > > > > > > And the usual advice from this list is use the CVS version ;) > > > > > > > > Sam > > > > > > > > On 17/06/06, Daniel Corbe <dan...@gm...> wrote: > > > > > 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. > > > > > > > > > > > > > > > _______________________________________________ > > > > > mdbtools-dev mailing list > > > > > mdb...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > > > > > > > > > > > > > > |
|
From: Daniel C. <dan...@gm...> - 2006-06-29 02:31:03
|
Sam, I believe I have found the answer I am looking for. This may be beneficial to you and other Mac users in the future. http://www.iodbc.org/index.php?page=docs/macosx-driver-writing#mxdw89122366 -Daniel On 6/21/06, Daniel Corbe <dan...@gm...> wrote: > :) > On 6/19/06, Daniel Corbe <dan...@gm...> wrote: > > Sam, > > > > On Mac OS X mdbtools builds just fine without ODBC support. I'm > > linking against the Mac OS X installed version of iODBC and I get the > > following compile-time errors. Any suggestions? Would you still be > > willing to "take a look" if I can provide you ssh access to my > > machine? > > > > Thank you for your assistance. > > > > -Daniel > > > > 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 > > -I/usr/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:82: warning: pointer targets in initialization differ in signedness > > odbc.c:83: warning: pointer targets in initialization differ in signedness > > 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: In function 'do_connect': > > odbc.c:129: warning: pointer targets in passing argument 2 of > > 'mdb_sql_open' differ in signedness > > odbc.c: In function 'SQLDriverConnect': > > odbc.c:157: warning: pointer targets in passing argument 2 of > > 'ExtractDSN' differ in signedness > > odbc.c:157: warning: pointer targets in assignment differ in signedness > > odbc.c:162: warning: pointer targets in passing argument 2 of > > 'LookupDSN' differ in signedness > > odbc.c:169: warning: pointer targets in passing argument 2 of > > 'SetConnectString' differ in signedness > > odbc.c:171: warning: pointer targets in assignment differ in signedness > > odbc.c: At top level: > > odbc.c:215: error: conflicting types for 'SQLDescribeParam' > > /usr/include/sqlext.h:2405: error: previous declaration of > > 'SQLDescribeParam' was here > > odbc.c:226: error: conflicting types for 'SQLExtendedFetch' > > /usr/include/sqlext.h:2412: error: previous declaration of > > 'SQLExtendedFetch' was here > > odbc.c:301: error: conflicting types for 'SQLParamOptions' > > /usr/include/sqlext.h:2447: error: previous declaration of > > 'SQLParamOptions' was here > > odbc.c:405: error: conflicting types for 'SQLBindParameter' > > /usr/include/sqlext.h:2513: error: previous declaration of > > 'SQLBindParameter' was here > > odbc.c:506: error: conflicting types for 'SQLBindCol' > > /usr/include/sql.h:807: error: previous declaration of 'SQLBindCol' was here > > odbc.c: In function 'SQLConnect': > > odbc.c:572: warning: pointer targets in passing argument 2 of > > 'g_string_assign' differ in signednessodbc.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:733: warning: pointer targets in passing argument 1 of 'strcpy' > > differ in signedness > > odbc.c:734: warning: pointer targets in passing argument 1 of 'strcpy' > > differ in signedness > > odbc.c: In function 'SQLExecDirect': > > odbc.c:783: warning: pointer targets in passing argument 2 of 'strcpy' > > differ in signedness > > odbc.c: In function 'SQLPrepare': > > odbc.c:959: warning: pointer targets in passing argument 2 of > > '_odbc_get_string_size' differ in signedness > > odbc.c:963: warning: pointer targets in passing argument 2 of > > 'strncpy' differ in signedness > > odbc.c: At top level: > > odbc.c:972: error: conflicting types for 'SQLRowCount' > > /usr/include/sql.h:1071: error: previous declaration of 'SQLRowCount' was here > > odbc.c:1008: error: conflicting types for 'SQLSetParam' > > /usr/include/sql.h:1183: error: previous declaration of 'SQLSetParam' was here > > odbc.c: In function 'SQLColumns': > > odbc.c:1074: warning: pointer targets in passing argument 1 of > > 'strcasecmp' differ in signedness > > odbc.c:1081: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1082: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1083: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c: At top level: > > odbc.c:1129: error: conflicting types for 'SQLGetData' > > /usr/include/sql.h:970: error: previous declaration of 'SQLGetData' was here > > odbc.c: In function 'SQLGetTypeInfo': > > odbc.c:1385: warning: pointer targets in passing argument 2 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1385: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1386: warning: pointer targets in passing argument 2 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1386: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1387: warning: pointer targets in passing argument 2 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1387: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1388: warning: pointer targets in passing argument 2 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1388: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1389: warning: pointer targets in passing argument 2 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1389: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c: At top level: > > odbc.c:1433: error: conflicting types for 'SQLPutData' > > /usr/include/sql.h:1067: error: previous declaration of 'SQLPutData' was here > > odbc.c:1442: error: conflicting types for 'SQLSetConnectOption' > > /usr/include/sql.h:1084: error: previous declaration of > > 'SQLSetConnectOption' was here > > odbc.c:1451: error: conflicting types for 'SQLSetStmtOption' > > /usr/include/sql.h:1130: error: previous declaration of > > 'SQLSetStmtOption' was here > > odbc.c: In function 'SQLTables': > > odbc.c:1507: warning: pointer targets in initialization differ in signedness > > odbc.c:1507: warning: pointer targets in initialization differ in signedness > > odbc.c:1507: warning: pointer targets in initialization differ in signedness > > odbc.c:1543: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1544: warning: pointer targets in passing argument 2 of > > 'mdb_ascii2unicode' differ in signedness > > odbc.c:1544: warning: pointer targets in passing argument 4 of > > 'mdb_ascii2unicode' differ in signedness > > make[2]: *** [odbc.lo] Error 1 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all-recursive] Error 1 > > > > > > On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > > > Well the CVS version built just fine. Back on track now. > > > > > > Thanks for the help > > > > > > -Daniel > > > > > > On 6/16/06, Daniel Corbe <dan...@gm...> wrote: > > > > I'd rather not use fink if I can avoid it. If there's no official > > > > package management system for OS X I'd rather not use one that's (in > > > > my opinion) broken. Th > > > > > > > > I prefer to build things I need by hand. I know that It sounds insane > > > > and its a concept that I had to struggle with at first; however I have > > > > control over what's installed and how it interacts with other things > > > > on the system. Now I love it. If you have enough patience it beats > > > > the shit out of using a ports tree, fink, portage and any binary > > > > package management systems such as apt, RPM. > > > > > > > > I'm trying to avoid having to upgrade Apple's ancient installations of > > > > libtool, autoconf and automake; however, if CVS is the recommended > > > > route then I suppose that I have little other choice in the matter. > > > > > > > > I'll try and run from CVS and get back to you about my results. > > > > > > > > Regards, > > > > Daniel > > > > > > > > On 6/16/06, Sam Moffatt <pa...@gm...> wrote: > > > > > Hi Daniel, > > > > > > > > > > First of all have a read through a thread a few months ago where I > > > > > helped someone else out in getting it up and running on Mac OS X > > > > > 10.4.x (what ever release it was back then) using Fink. I recently > > > > > wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I > > > > > only installed it to help that user out too) and my Fink install is > > > > > rather limited. If you encounter issues, I can have a look at it and > > > > > see what I can make from it. > > > > > > > > > > And the usual advice from this list is use the CVS version ;) > > > > > > > > > > Sam > > > > > > > > > > On 17/06/06, Daniel Corbe <dan...@gm...> wrote: > > > > > > 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. > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > mdbtools-dev mailing list > > > > > > mdb...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > > > > > > > > > > > > > > > > > > > > |