Build failure --with-plugins=max
Posted by:
bpisani
Date: January 04, 2007 03:09PM
Downloaded the latest source tarball, 5.1.14 beta. I'm building this on an x86 machine, openSuSE 10.1, linux kernel 2.6.16.13-4-smp...
configure --with-plugins=max
make
Eventually got the following error:
...
g++ -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqld sql_lex.o sql_handler.o sql_partition.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o item_create.o item_subselect.o item_row.o item_geofunc.o item_xmlfunc.o field.o strfunc.o key.o sql_class.o sql_list.o net_serv.o protocol.o sql_state.o lock.o my_lock.o sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o hostname.o set_var.o sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o sql_insert.o sql_prepare.o sql_error.o sql_locale.o sql_update.o sql_delete.o uniques.o sql_do.o procedure.o item_uniq.o sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o des_key_file.o discover.o time.o opt_range.o opt_sum.o records.o filesort.o handler.o ha_partition.o ha_ndbcluster.o ha_ndbcluster_binlog.o sql_db.o sql_table.o sql_rename.o sql_crypt.o sql_load.o mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o sql_cache.o slave.o sql_repl.o rpl_filter.o rpl_tblmap.o rpl_utility.o rpl_injector.o rpl_rli.o rpl_mi.o sql_union.o sql_derived.o client.o sql_client.o mini_client_errors.o pack.o stacktrace.o repl_failsafe.o sql_olap.o sql_view.o gstream.o spatial.o sql_help.o sql_cursor.o tztime.o my_time.o my_user.o my_decimal.o sp_head.o sp_pcontext.o sp_rcontext.o sp.o sp_cache.o parse_file.o sql_trigger.o event_scheduler.o event_data_objects.o event_queue.o event_db_repository.o events.o sql_plugin.o sql_binlog.o sql_builtin.o sql_tablespace.o partition_info.o ../storage/archive/libarchive.a ../storage/blackhole/libblackhole.a ../storage/csv/libcsv.a ../storage/federated/libfederated.a ../storage/heap/libheap.a ../storage/innobase/libinnobase.a ../storage/myisam/libmyisam.a ../storage/myisammrg/libmyisammrg.a ../storage/ndb/src/.libs/libndbclient.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lz -ldl -lpthread -lcrypt -lnsl -lm -lpthread
mysqld.o: In function `clean_up(bool)':
mysqld.cc:(.text+0x770): undefined reference to `ha_binlog_end(THD*)'
mysqld.o: In function `get_one_option(int, my_option const*, char*)':
mysqld.cc:(.text+0x35ce): undefined reference to `ndb_distribution_typelib'
mysqld.cc:(.text+0x35e6): undefined reference to `opt_ndb_distribution_id'
mysqld.cc:(.text+0x3dc2): undefined reference to `ndb_distribution_names'
mysqld.cc:(.text+0x3dd6): undefined reference to `ndb_distribution_names'
mysqld.o:(.data+0x1f6c): undefined reference to `opt_ndb_distribution'
mysqld.o:(.data+0x1f70): undefined reference to `opt_ndb_distribution'
set_var.o: In function `__static_initialization_and_destruction_0(int, int)':
set_var.cc:(.text+0x6d9f): undefined reference to `ndb_cache_check_time'
log.o: In function `MYSQL_BIN_LOG::purge_logs_before_date(long)':
log.cc:(.text+0x4d2c): undefined reference to `ha_binlog_index_purge_file(THD*, char const*)'
log.o: In function `MYSQL_BIN_LOG::purge_logs(char const*, bool, bool, bool, unsigned long long*)':
log.cc:(.text+0x4ea7): undefined reference to `ha_binlog_index_purge_file(THD*, char const*)'
log.o: In function `MYSQL_BIN_LOG::reset_logs(THD*)':
log.cc:(.text+0x8008): undefined reference to `ha_reset_logs(THD*)'
sql_db.o: In function `mysql_alter_db(THD*, char const*, st_ha_create_information*)':
sql_db.cc:(.text+0x16c4): undefined reference to `ha_binlog_log_query(THD*, handlerton*, enum_binlog_command, char const*, unsigned int, char const*, char const*)'
sql_db.o: In function `mysql_create_db(THD*, char*, st_ha_create_information*, bool)':
sql_db.cc:(.text+0x1a9e): undefined reference to `ha_binlog_log_query(THD*, handlerton*, enum_binlog_command, char const*, unsigned int, char const*, char const*)'
sql_table.o: In function `mysql_create_table_internal(THD*, char const*, char const*, st_ha_create_information*, List<create_field>&, List<Key>&, bool, unsigned int, bool)':
sql_table.cc:(.text+0x65df): undefined reference to `get_ha_partition(partition_info*)'
sql_table.o: In function `mysql_alter_table(THD*, char*, char*, st_ha_create_information*, st_table_list*, List<create_field>&, List<Key>&, unsigned int, st_order*, bool, st_alter_info*, bool)':
sql_table.cc:(.text+0xa51e): undefined reference to `ha_binlog_log_query(THD*, handlerton*, enum_binlog_command, char const*, unsigned int, char const*, char const*)'
sql_repl.o: In function `reset_slave(THD*, MASTER_INFO*)':
sql_repl.cc:(.text+0x918): undefined reference to `ha_reset_slave(THD*)'
sql_repl.o: In function `mysql_show_binlog_events(THD*)':
sql_repl.cc:(.text+0x19e7): undefined reference to `ha_binlog_wait(THD*)'
sql_builtin.o:(.data+0x28): undefined reference to `builtin_ndbcluster_plugin'
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[4]: Leaving directory `/opt/bld/mysql-5.1.14-beta/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/bld/mysql-5.1.14-beta/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/bld/mysql-5.1.14-beta/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/bld/mysql-5.1.14-beta'
make: *** [all] Error 2
Please help!!! Thank you.