[ROOT] problem with mysql-4.0.12 and root_v3.05.03

From: Brian Kurt Fujikawa (BKFujikawa@lbl.gov)
Date: Fri Apr 04 2003 - 21:41:09 MEST


Hello

FYI, there appears to be an incompatibility issue with mysql-4.0.12 and
root_v3.05.03. When building root from source on an i386 running RH8.0, I
get the following error:

g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude  -D_REENTRANT 
-I/usr/local/include/mysql -o mysql/src/TMySQLServer.o -c 
mysql/src/TMySQLServer.cxx
mysql/src/TMySQLServer.cxx: In member function `virtual Int_t
   TMySQLServer::CreateDataBase(const char*)':
mysql/src/TMySQLServer.cxx:201: `mysql_create_db' undeclared (first use 
this
   function)
mysql/src/TMySQLServer.cxx:201: (Each undeclared identifier is reported 
only
   once for each function it appears in.)
mysql/src/TMySQLServer.cxx: In member function `virtual Int_t
   TMySQLServer::DropDataBase(const char*)':
mysql/src/TMySQLServer.cxx:214: `mysql_drop_db' undeclared (first use this
   function)
make: *** [mysql/src/TMySQLServer.o] Error 1

This problem seems to be limited just to the latest versions of MySQL;
mysql-3.23.56 and root_v3.05.03 seem to work fine.

Best Regards

Brian
-- 
Brian Kurt Fujikawa (mailto:bkfujikawa@lbl.gov)
Lawrence Berkeley National Laboratory
1 Cyclotron Road, BLDG 50R5008, Berkeley, CA 94720-8158, USA
http://socrates.berkeley.edu/~fujikawa/
tel: +1-510-486-4398  fax: +1-510-486-6738



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET