This list is closed, nobody may subscribe to it.
| 2000 |
Jan
|
Feb
(1) |
Mar
(53) |
Apr
(28) |
May
(5) |
Jun
(7) |
Jul
(16) |
Aug
(15) |
Sep
(10) |
Oct
(1) |
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(9) |
Feb
(7) |
Mar
(1) |
Apr
(7) |
May
(6) |
Jun
|
Jul
(15) |
Aug
(10) |
Sep
(2) |
Oct
(12) |
Nov
(3) |
Dec
(2) |
| 2002 |
Jan
(2) |
Feb
(12) |
Mar
(33) |
Apr
(30) |
May
(5) |
Jun
(18) |
Jul
(18) |
Aug
(47) |
Sep
(8) |
Oct
(7) |
Nov
(8) |
Dec
(13) |
| 2003 |
Jan
(48) |
Feb
(8) |
Mar
(10) |
Apr
(30) |
May
(6) |
Jun
(8) |
Jul
(19) |
Aug
(36) |
Sep
(19) |
Oct
(16) |
Nov
(11) |
Dec
(17) |
| 2004 |
Jan
(11) |
Feb
(22) |
Mar
(52) |
Apr
(45) |
May
(18) |
Jun
(72) |
Jul
(14) |
Aug
(31) |
Sep
(19) |
Oct
(27) |
Nov
(19) |
Dec
(25) |
| 2005 |
Jan
(16) |
Feb
(46) |
Mar
(50) |
Apr
(3) |
May
(21) |
Jun
(3) |
Jul
(24) |
Aug
(33) |
Sep
(25) |
Oct
(23) |
Nov
(30) |
Dec
(20) |
| 2006 |
Jan
(12) |
Feb
(11) |
Mar
(8) |
Apr
(15) |
May
(27) |
Jun
(15) |
Jul
(19) |
Aug
(5) |
Sep
(9) |
Oct
(1) |
Nov
(2) |
Dec
(3) |
| 2007 |
Jan
|
Feb
(3) |
Mar
(18) |
Apr
(5) |
May
(9) |
Jun
|
Jul
(10) |
Aug
(3) |
Sep
(8) |
Oct
(1) |
Nov
(7) |
Dec
(9) |
| 2008 |
Jan
(2) |
Feb
|
Mar
(10) |
Apr
(4) |
May
|
Jun
(5) |
Jul
(9) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(8) |
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(1) |
Dec
(20) |
| 2010 |
Jan
|
Feb
(2) |
Mar
|
Apr
(7) |
May
|
Jun
(23) |
Jul
(3) |
Aug
(6) |
Sep
(1) |
Oct
(4) |
Nov
(1) |
Dec
|
| 2011 |
Jan
(1) |
Feb
(26) |
Mar
(25) |
Apr
(11) |
May
(5) |
Jun
(5) |
Jul
(2) |
Aug
(39) |
Sep
(12) |
Oct
(6) |
Nov
|
Dec
|
| 2012 |
Jan
(19) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
(8) |
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(3) |
| 2013 |
Jan
(6) |
Feb
|
Mar
(1) |
Apr
|
May
(7) |
Jun
(5) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
| 2014 |
Jan
(4) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2016 |
Jan
(5) |
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
|
From: Krause, L. <Lew...@ec...> - 2006-07-19 19:21:48
|
Can't you set up an odbc from access to mysql link to the db, make a select query and select all data, convert it to a make table query and make an access table. Do for each linked table. Lewie -----Original Message----- From: mdb...@li... [mailto:mdb...@li...] On Behalf Of mdb...@li... Sent: Wednesday, July 19, 2006 1:12 PM To: mdb...@li... Subject: mdbtools-dev Digest, Vol 2, Issue 5 Send mdbtools-dev mailing list submissions to mdb...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/mdbtools-dev or, via email, send a message with subject or body 'help' to mdb...@li... You can reach the person managing the list at mdb...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of mdbtools-dev digest..." Today's Topics: 1. From MySql to ACCESS (Michele Monaco) ---------------------------------------------------------------------- Message: 1 Date: Wed, 19 Jul 2006 18:37:53 +0200 From: "Michele Monaco" <mic...@gm...> Subject: [mdb-dev] From MySql to ACCESS To: mdb...@li... Message-ID: <382...@ma...> Content-Type: text/plain; charset=3D"iso-8859-1" I have a MySql database, I need to convert in an Access format. May MdbTools help me? Many thanks, Michele -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=3Dmdbtools-dev/attachm= e nts/20060719/6960ce39/attachment.html=20 ------------------------------ ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V ------------------------------ _______________________________________________ mdbtools-dev mailing list mdb...@li... https://lists.sourceforge.net/lists/listinfo/mdbtools-dev End of mdbtools-dev Digest, Vol 2, Issue 5 ****************************************** |
|
From: Michele M. <mic...@gm...> - 2006-07-19 16:38:02
|
I have a MySql database, I need to convert in an Access format. May MdbTools help me? Many thanks, Michele |
|
From: Lorenzo N. <l.n...@ci...> - 2006-07-18 15:32:17
|
I have the same problem. Anyone can help me? Thanks, Lorenzo puma ha scritto: > Hey Calvin, here's another one finding your java port very usefull. > > So big thanks to you for making this one possible! > > > I got a little problem and hope you will be able to help. > I use mdbtools to query a mediamonkey (www.mediamonkey.com) database. > Everything worked fine till I upgraded to their new version. From then > on, some of the entries queried from "text fields" where truncated > at varying points. > > Then I found out that they changed the field size of the textfields from > 254 chars to 255. Resetting the field size to 254 chars by hand in access > solved the problem with the truncated strings queried from those textfields. > > Is there anything I can do to read the new database version without > having to manually change the length in access? > > Sorry if this is an obvious issue, I'm very new to programming and > databases. > > Thanks in advance for your time > Achim > > > > PS: I'm sorry, I just realized I send this email some minutes ago from another > account, which is not subscribed to the list. So whoever gets bothered with that > other mail, please excuse and delete it. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > mdbtools-dev mailing list > mdb...@li... > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > |
|
From: Jon S. <jes...@ho...> - 2006-07-17 04:05:32
|
Hi all,
Trying to compile on Mac OS X from CVS, as checked out July 16, 2006.
Following the advice posted by Sam Moffat in January, I overrode the libtool
check in autogen.sh (after using fink to ensure I had the latest version
installed), but I am still running into errors further down the line. Any
help would be appreciated. The errors autogen.sh throws are as follows
(I've cut out a long list of stuff in the middle that went just fine):
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Running aclocal ...
aclocal:configure.in:106: warning: macro `AM_PATH_GLIB_2_0' not found in
library
Running libtoolize...
Running autoheader...
Running automake --gnu ...
Running autoconf ...
Running ./configure ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
.
.
.
checking for size_t... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking Are we using flex ... yes
./configure: line 20354: syntax error near unexpected token `2.0.0'
./configure: line 20354: `AM_PATH_GLIB_2_0(2.0.0)'
|
|
From: Jon S. <jes...@ho...> - 2006-07-16 17:35:07
|
Hi all,
Trying to compile on Mac OS X from CVS, as checked out July 16, 2006.
Following the advice posted by Sam Moffat in January, I overrode the libtool
check in autogen.sh (after using fink to ensure I had the latest version
installed), but I am still running into errors further down the line. Any
help would be appreciated. The errors autogen.sh throws are as follows
(I've cut out a long list of stuff in the middle that went just fine):
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Running aclocal ...
aclocal:configure.in:106: warning: macro `AM_PATH_GLIB_2_0' not found in
library
Running libtoolize...
Running autoheader...
Running automake --gnu ...
Running autoconf ...
Running ./configure ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for size_t... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking Are we using flex ... yes
/configure: line 20354: syntax error near unexpected token `2.0.0'
/configure: line 20354: `AM_PATH_GLIB_2_0(2.0.0)'
|
|
From: Igor K. <ik...@ea...> - 2006-07-11 22:47:31
|
Hi, Kritan, Did you try to run the script without the browser? Just from the command line... When do this try to put some debugging satements... Thank you. -----Original Message----- >From: Hartmut Holzgraefe <ha...@my...> >Sent: Jul 11, 2006 5:33 PM >To: Kritan <st...@sp...> >Cc: mdb...@li... >Subject: Re: [mdb-dev] MDBTools and PHP > >Kritan wrote: > >> I have a client who needs to access a Microsoft Access DB across the >> network, thus MDBTools to the rescue. >[...] >> My problem comes when I use PHP. I created a simple page just to test the >> connection. But I get nothing, not even an error message. Can anyone help >> me? > >i can't help you with the PHP/ODBC connectvity issue >but i've created a PHP/mdbtools extension a while ago > > http://pecl.php.net/package/mdbtools > >If "across the network" does include network file systems >then this might be an option? > >-- >Hartmut Holzgraefe, Senior Support Engineer . >MySQL AB, www.mysql.com > > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >mdbtools-dev mailing list >mdb...@li... >https://lists.sourceforge.net/lists/listinfo/mdbtools-dev |
|
From: Hartmut H. <ha...@my...> - 2006-07-11 21:33:42
|
Kritan wrote: > I have a client who needs to access a Microsoft Access DB across the > network, thus MDBTools to the rescue. [...] > My problem comes when I use PHP. I created a simple page just to test the > connection. But I get nothing, not even an error message. Can anyone help > me? i can't help you with the PHP/ODBC connectvity issue but i've created a PHP/mdbtools extension a while ago http://pecl.php.net/package/mdbtools If "across the network" does include network file systems then this might be an option? -- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com |
|
From: Kritan <st...@sp...> - 2006-07-11 20:50:21
|
I'm new to the list and have been out of Linux for quite a while so any help
will be appreciated. I couldn't find anything that referenced my issue, so
if this is the wrong forum, I apologize. If you can direct me to the
correct one, I would be most appreciative. I found a similar question
posted before, but no one answered it.
I have a client who needs to access a Microsoft Access DB across the
network, thus MDBTools to the rescue. My test system has Fedora 5, and I
have installed the following:
Unix ODBC 2.2.11
MDBTools 0.5.1
MDBTools ODBC 0.5.1
I created a share to the Windows system and made the DSN entries in the
ODBC.ini file. I am able to access the DB at the command line using
mdb-sql, so I think I have it all set up correctly.
My problem comes when I use PHP. I created a simple page just to test the
connection. But I get nothing, not even an error message. Can anyone help
me?
Thanks,
Steve
The code is as follows (just the PHP, no tags):
$data_source='database';
$user='';
$password='';
# Connect to the data source and get a handle for that connection.
$conn=odbc_connect($data_source,$user,$password);
if (!$conn){
if (phpversion() < '4.0'){
exit("Connection Failed: . $php_errormsg" );
}
else{
exit("Connection Failed:" . odbc_errormsg() );
}
}else{
exit("Connection Failed:' . odbc_errormsg() );
}
# This query generates a result set with one record in it.
$sql="SELECT 1 AS test_col";
# Execute the statement.
$rs=odbc_exec($conn,$sql);
# Fetch and display the result set value.
if (!$rs){
exit("Error in SQL");
}
while (odbc_fetch_row($rs)){
$col1=odbc_result($rs, "test_col");
echo "$col1";
}
# Disconnect the database from the database handle.
odbc_close($conn);
--
View this message in context: http://www.nabble.com/MDBTools-and-PHP-tf1927103.html#a5277529
Sent from the MDB Tools - Dev forum at Nabble.com.
|
|
From: SourceForge.net <no...@so...> - 2006-07-06 15:48:31
|
Bugs item #1518232, was opened at 2006-07-06 10:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102294&aid=1518232&group_id=2294 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Trevor Cordes (tcordes) Assigned to: Nobody/Anonymous (nobody) Summary: segfault workaround Initial Comment: I was getting lots of intermittent segfaults using mdb-sql. Weird, it worked great for the longest time then started segfaulting intermittently, then all the time. I tried 0.6pre1 and cvs (2006-07-06). 0.6pre1 had major compile issues. cvs was better but installs the .so's wrong (without the .so extension!). Manual cleanup fixed it. Anyhow, the solution I found (for now) to the segfaults is to rm -f .mdbhistory in your home dir before every run. Do that and it works again. Must be a bug in the history parsing code. Explains why when it segfaults it's before any data is output. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102294&aid=1518232&group_id=2294 |
|
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 > > > > > > > > > > > > > > > > > > > > > |
|
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-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: Simon N. <sna...@gm...> - 2006-06-17 12:37:44
|
This patch will allow you to build 0.6pre1 ON FC4 http://gdivelog.sourceforge.net/mdbtools-0.6pre1-build.patch On 6/17/06, Sam Moffatt <pa...@gm...> wrote: > On 16/06/06, Martin Ellis <m.a...@nc...> wrote a reply to the email > > On Thursday 15 June 2006 17:10, Moloko Vellocet said stuff in. > ... > > Looks like that compiler jsn't able to deal with a variable declared > > using 'extern', later being defined in the same compilation unit. I > > reiterate, the compiler you are using is known to be very buggy. That's not > > surprising really, x.0.0 releases of a lot of software tends to have the most > > glaring bugs. > > > > You still haven't said what error you get. I suggest you both a more recent > > compiler and a more recent version of mdbtools - particularly, mdbtools has > > improved a lot since 0.6pre1, which was released two years ago. > > I would like to reiterate what Martin is saying. GCC 4.0.0 is known to > cause a few interesting bugs and as such QEMU refuses to compile under > it (GCC 4.x entirely I believe). I would suggest that if you can't go > forwards, go back to GCC 3.3 - but I know personally I'm on 4.1.2 so > 4.0.0 is rather far behind. > > Try upgrading to Fedora Core 5 and recompiling to see if you have the > same difficulties. > > Sam > > > > > Martin > > > > > > _______________________________________________ > > mdbtools-dev mailing list > > mdb...@li... > > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > > > > > _______________________________________________ > 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: Sam M. <pa...@gm...> - 2006-06-16 20:01:43
|
On 16/06/06, Martin Ellis <m.a...@nc...> wrote a reply to the email > On Thursday 15 June 2006 17:10, Moloko Vellocet said stuff in. ... > Looks like that compiler jsn't able to deal with a variable declared > using 'extern', later being defined in the same compilation unit. I > reiterate, the compiler you are using is known to be very buggy. That's not > surprising really, x.0.0 releases of a lot of software tends to have the most > glaring bugs. > > You still haven't said what error you get. I suggest you both a more recent > compiler and a more recent version of mdbtools - particularly, mdbtools has > improved a lot since 0.6pre1, which was released two years ago. I would like to reiterate what Martin is saying. GCC 4.0.0 is known to cause a few interesting bugs and as such QEMU refuses to compile under it (GCC 4.x entirely I believe). I would suggest that if you can't go forwards, go back to GCC 3.3 - but I know personally I'm on 4.1.2 so 4.0.0 is rather far behind. Try upgrading to Fedora Core 5 and recompiling to see if you have the same difficulties. Sam > > Martin > > > _______________________________________________ > 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-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: 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: Martin E. <m.a...@nc...> - 2006-06-15 20:04:35
|
On Thursday 15 June 2006 17:10, Moloko Vellocet wrote: > The problem is that the static variable `mdb_backends' will be declared > only in the backend.c file, but the mdbtools.h header calls the variable > (like extern) before the compilation of the backend.c file. I have no idea what you mean by "calls the variable". Functions are called, not variables. Perhaps you mean "declares" or "defines" but - looking at the code - neither of those make sense either. > The common action to the gcc compiler is to declare the variable (called as > "extern") if the variable isn't currently declared, so gcc, will present a > compilation error. That's what happens on line 150 of mdbtools.h in pre1: /* hash to store registered backends */ extern GHashTable *mdb_backends; > The solution for this is to declare a header that will contain the globals > to the backend.c implementation or That's a really ugly solution. > , more commonly, declare the variable > mdb_backends as "extern" in each source where it will be used. That's what happens on line 150, as above. Looks like that compiler jsn't able to deal with a variable declared using 'extern', later being defined in the same compilation unit. I reiterate, the compiler you are using is known to be very buggy. That's not surprising really, x.0.0 releases of a lot of software tends to have the most glaring bugs. You still haven't said what error you get. I suggest you both a more recent compiler and a more recent version of mdbtools - particularly, mdbtools has improved a lot since 0.6pre1, which was released two years ago. Martin |
|
From: Moloko V. <all...@gm...> - 2006-06-15 16:10:49
|
The problem is that the static variable `mdb_backends' will be declared only in the backend.c file, but the mdbtools.h header calls the variable (like extern) before the compilation of the backend.c file. So, if the version of the compiler used doesn't offer this flexibilization to search later the declaration of the variable, so there will be a error. This isn't a compiler error, only a "flexibilization" that should be present or not. The common action to the gcc compiler is to declare the variable (called as "extern") if the variable isn't currently declared, so gcc, will present a compilation error. The solution for this is to declare a header that will contain the globals to the backend.c implementation or, more commonly, declare the variable mdb_backends as "extern" in each source where it will be used. > > > The problem is with the static variable "GHashTable *mdb_backends' > > found in the files: > > - include/mdbtools.h > > - src/libmdb/backend.c > > I've ported this static variable to the header mdbtools.h and > > declared it as extern in backend.c. > > Declaring this in a header doesn't seem like the right thing to do, > to me at least. What's the error you get? > > Hmm, in fact, wasn't gcc 4.0.0 blacklisted in many toolchains for > being buggy? I'm pretty sure it was in KDE. > And I particularly remember Fedora shipping buggy compilers (and > patched with unofficial patches) on more than one occasion. :o( > > Perhaps it's a better idea to try a different compiler version? > > Martin > -- _______________________________ Allann J. O. Silva "I received the fundamentals of my education in school, but that was not enough. My real education, the superstructure, the details, the true architecture, I got out of the public library. For an impoverished child whose family could not afford to buy books, the library was the open door to wonder and achievement, and I can never be sufficiently grateful that I had the wit to charge through that door and make the most of it." (from I. Asimov, 1994) |
|
From: Pete Y. <pm...@vi...> - 2006-06-12 21:01:54
|
Hi,
I'm running mdbtools-0.6pre1. I have a Jet4 MDB file that mdb-export was
having some trouble reading. It would get about halfway through the
rows, then die with a segfault. Using gdb, I traced the problem to line
1062 in src/libmdb/data.c. The segfault was in a call to strncpy().
Specifically,
if (mdb->pg_buf[start]==0xff &&
mdb->pg_buf[start+1]==0xfe) {
strncpy(text, &mdb->pg_buf[start+2], size-2);
text[size-2]='\0';
At the top of the containing routine, "text" is declared:
static char text[MDB_BIND_SIZE];
It occurred to me that "size-2" might be evaluating to something greater
than MDB_BIND_SIZE for whatever reason, so I injected a little code
before the strncpy() call to limit the size parameter to MDB_BIND_SIZE.
The segfault went away and mdb-export ran successfully. In doing this, I
may be truncating a chunk of incoming MDB data, but I'll worry about
that later. Just thought someone might want to know about this, if it's
not already known.
--
Pete Yadlowsky
ITC Unix Systems Support
University of Virginia
|
|
From: SourceForge.net <no...@so...> - 2006-06-06 02:36:13
|
Bugs item #1501025, was opened at 2006-06-05 07:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102294&aid=1501025&group_id=2294 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: libmdb Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: numerical negative numbers Initial Comment: Hi, using mdb-export with a table, numerical negative numbers appears like 65538, etc... and isn't shortint value.... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102294&aid=1501025&group_id=2294 |
|
From: Mateusz L. <ma...@lo...> - 2006-06-06 02:31:11
|
Jeff Smith wrote: > --- Mateusz Loskot <ma...@lo...> wrote: > >>As you can see, MDB Tools libraries have invalid soname. >>Accordint to odbcinst.ini definition of MDB driver, I had to create symlink: >> >>$ ln -s /usr/local/lib/libmdbodbc.0.0.0 /usr/local/lib/libmdbodbc.so.0 >> >>Is this known issue or I did something wrong? > > > Yes, this is a known issue with 0.6pre1, which shipped with a bad ltmain.sh. > Option 1: go to source directory, run 'libtoolize -f -c', then rerun > configure/make/make install. Option 2: use mdbtools from CVS. Jeff, Thank you for your explanation. It's clear. Cheers -- Mateusz Loskot http://mateusz.loskot.net |
|
From: Jeff S. <why...@ya...> - 2006-06-06 01:40:32
|
--- Mateusz Loskot <ma...@lo...> wrote: > As you can see, MDB Tools libraries have invalid soname. > Accordint to odbcinst.ini definition of MDB driver, I had to create symlink: > > $ ln -s /usr/local/lib/libmdbodbc.0.0.0 /usr/local/lib/libmdbodbc.so.0 > > Is this known issue or I did something wrong? Yes, this is a known issue with 0.6pre1, which shipped with a bad ltmain.sh. Option 1: go to source directory, run 'libtoolize -f -c', then rerun configure/make/make install. Option 2: use mdbtools from CVS. -- Jeff Smith __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Jeff S. <why...@ya...> - 2006-05-27 13:31:40
|
--- Szilagyi Szilveszter <szi...@in...> wrote: > ---unixODBC& MDBTOOLS--- > isql -v Cats myuser mypassword > [...] > SQL> help > Error at Line : syntax error near exec > [08001][unixODBC]Couldn't parse SQL > > [ISQL]ERROR: Could not SQLTables mdbtools' ODBC implementation finally got proper SQLTables support about 20 months ago. Unfortunately, 0.6pre1 is about 23 months old. If you want SQLTables to work, you will need to get mdbtools from CVS. BTW, in isql you can use 'list tables' to get a list, since this is passed on to mdbtools' SQL parser, but this won't help in an application that _requires_ SQLTables, such as a graphical ODBC tool. -- Jeff Smith __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |