List:NDB/J« Previous MessageNext Message »
From:Didier Boudigue Date:May 2 2007 2:53pm
Subject:Failure to compile NDB/J
View as plain text  
johan

I have tried to compile ndbj from mysql-ndbj-alfa-0.1.tar.gz on 5.1.17.
using the command ./BUILD/compile-pentium

Any time I 'have got an error :

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/mysql//include/mysql 
-I../../include/ndbapi -I/usr/local/mysql//include/storage/ndb 
-I/usr/local/mysql//include/storage/ndb/ndbapi 
-I/opt/java//include/linux/ -I//opt/java//include/ -DNDB_VERSION51 -MT 
NdbTransaction.lo -MD -MP -MF .deps/NdbTransaction.Tpo -c 
NdbTransaction.cpp  -fPIC -DPIC -o .libs/NdbTransaction.o
NdbTransaction.cpp: In function 'jint 
Java_com_mysql_storage_ndb_ndbapi_NdbTransactionImpl_execute(JNIEnv*, 
_jobject*, jlong, jint, jint, jint)':
NdbTransaction.cpp:220: error: 'AbortOption' is not a member of 
'NdbOperation'


The ndb header files used are those comming in the source tar ball 
(mysql-5.1.17-beta.tar.gz)

OS is :
Linux a4006 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 
i686 i686 i386 GNU/Linux
Fedora Core release 5 (Bordeaux)

Compiler is :
gcc  --version
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)




 Didier
Thread
Failure to compile NDB/JDidier Boudigue2 May
  • Re: Failure to compile NDB/JJim Dowling2 May