Rumah > Soal Jawab > teks badan
cmake -DCMAKE_INSTALL_PREFIX=/application/mysql-5.5.32 \
-DMYSQL_DATADIR=/application/mysql-5.5.32/data \
-DMYSQL_UNIX_ADDR=/application/mysql-5.5.32/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DEXTRA_CHARSETS=gbk,gb2312,utf8,ascii \
-DENABLED_LOCAL_INFILE=ON \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_FEDERATED_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
-DWITH_FAST_MUTEXES=1 \
-DWITH_ZLIB=bundled \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_READLINE=1 \
-DWITH_EMBEDDED_SERVER=1 \
-DWITH_DEBUG=0 \
-DWITHOUT_PARTITION_STORAGE_ENGINE=1 \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DEXTRA_CHARSETS=all
Linking CXX static library libsql.a
[ 84%] Built target sql
Scanning dependencies of target explain_filename-t
[ 84%] Building CXX object unittest/mysys/CMakeFiles/explain_filename-t.dir/explain_filename-t.cc.o
Linking CXX executable explain_filename-t
../../sql/libsql.a(handler.cc.o): In function `get_ha_partition(partition_info*)':
/root/download/mysql-5.5.32/sql/handler.cc:347: undefined reference to `ha_partition::ha_partition(handlerton*, partition_info*)'
/root/download/mysql-5.5.32/sql/handler.cc:349: undefined reference to `ha_partition::initialize_partition(st_mem_root*)'
../../sql/libsql.a(sql_partition_admin.cc.o): In function `Alter_table_truncate_partition_statement::execute(THD*)':
/root/download/mysql-5.5.32/sql/sql_partition_admin.cc:167: undefined reference to `ha_partition::truncate_partition(Alter_info*, bool*)'
collect2: ld returned 1 exit status
make[2]: *** [unittest/mysys/explain_filename-t] Error 1
make[1]: *** [unittest/mysys/CMakeFiles/explain_filename-t.dir/all] Error 2
make: *** [all] Error 2