I am facing problems while installing MySQL Cluster from source tarball files. The system
I am using is Sun Sparc Solaris 2.8 with 4 processors.
I executed the following commands to build MySQL cluster:
shell > ./configure --prefix=/home/fahmad/mysql --with-ndbcluster
it works fine.
shell > make
with make i get the following errors and it fails to build it.
sql_yacc.o:(.gnu.linkonce.r._ZTI21Item_sum_sum_distinct+0x8): undefined reference to
`typeinfo for Item_sum_distinct'
sql_yacc.o:(.gnu.linkonce.r._ZTI13Item_dec_func+0x8): undefined reference to `typeinfo for
Item_real_func'
sql_yacc.o:(.gnu.linkonce.r._ZTI13Item_func_min+0x8): undefined reference to `typeinfo for
Item_func_min_max'
sql_yacc.o:(.gnu.linkonce.r._ZTI13Item_func_max+0x8): undefined reference to `typeinfo for
Item_func_min_max'
sql_yacc.o:(.gnu.linkonce.r._ZTI13Item_func_bit+0x8): undefined reference to `typeinfo for
Item_int_func'
sql_yacc.o:(.gnu.linkonce.r._ZTI14Item_bool_func+0x8): undefined reference to `typeinfo
for Item_int_func'
sql_yacc.o:(.gnu.linkonce.r._ZTI17Item_func_opt_neg+0x8): undefined reference to `typeinfo
for Item_int_func'
sql_yacc.o:(.gnu.linkonce.r._ZTI14Item_date_func+0x8): undefined reference to `typeinfo
for Item_str_func'
sql_yacc.o:(.gnu.linkonce.r._ZTI24Item_typecast_maybe_null+0x8): undefined reference to
`typeinfo for Item_typecast'
sql_yacc.o:(.gnu.linkonce.r._ZTI22Item_func_unique_users+0x8): undefined reference to
`typeinfo for Item_real_func'
sql_yacc.o:(.gnu.linkonce.r._ZTI25select_result_interceptor+0x8): undefined reference to
`typeinfo for select_result'
sql_yacc.o:(.gnu.linkonce.r._ZTI17sp_instr_opt_meta+0x8): undefined reference to `typeinfo
for sp_instr'
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[4]: Leaving directory `/home/min/a/fahmad/EE666/mysql-5.0.19/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/min/a/fahmad/EE666/mysql-5.0.19/sql'
make[2]: *** [all] Error 2
These errors are not returned while building simple MySQL server. I am using gcc 3.4.4.