[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-odbc
Subject: Re: Still having problems compiling myodbc
From: Nick Gorham <nick () lurcher ! org>
Date: 2000-02-03 20:47:44
[Download RAW message or body]
Angel Behar Rodriguez wrote:
> Thanks again Nick for your answer.
>
> I check the paths an everuthing is fine. What I do its install gmake and
> try to compile and I jump the problem but now I receive the following
> error.
>
> Thanks for your help
>
> mail# gmake
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/usr/local/mysql/include/mysql -I/usr/local/include -g -O2 -c
> catalog.c
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/mysql/include/mysql
> -I/usr/local/include -g -O2 -Wp,-MD,.deps/catalog.pp -c -fPIC -DPIC
> catalog.c -o catalog.lo
> In file included from catalog.c:9:
> myodbc.h:79: redefinition of `BOOL'
> /usr/local/include/sqltypes.h:75: `BOOL' previously declared here
> gmake: *** [catalog.lo] Error 1
>
> if any of you can help me I will appreciate.
>
> Thanks.
Well this is iODBC so I can't offer that much more, but looking at the header that
comes with iODBC you have the following
#ifndef BOOL
typedef int BOOL;
#endif
You could try commenting out the typedef, failing that try asking OpenLink.
--
Nick Gorham, nick@lurcher.org
Found in a sig...
Give a man a match and he'll be warm for an hour...
Set him on fire and he'll be warm for the rest of his life.
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread1171@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail myodbc-unsubscribe@lists.mysql.com instead.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic