Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Mac OS X build problems: msg#00012

db.mdb-tools.devel

Subject: Re: Mac OS X build problems

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 <daniel.junkmail@xxxxxxxxx> wrote:
> Well the CVS version built just fine. Back on track now.
>
> Thanks for the help
>
> -Daniel
>
> On 6/16/06, Daniel Corbe <daniel.junkmail@xxxxxxxxx> 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 <pasamio@xxxxxxxxx> 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 <daniel.junkmail@xxxxxxxxx> 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
> > > > mdbtools-dev@xxxxxxxxxxxxxxxxxxxxx
> > > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev
> > > >
> > >
> >
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation