[ 78%] Built target slave Linking CXX executable pfs_connect_attr-t ../../../sql/libsql.a(handler.cc.o): In function `get_ha_partition(partition_info*)': /data0/software/MySQL-5.6.21/sql/handler.cc:460: undefined reference to `ha_partition::ha_partition(handlerton*, partition_info*)' /data0/software/mysql-5.6.21/sql/handler.cc:462: undefined reference to `ha_partition::initialize_partition(st_mem_root*)' ../../../sql/libsql.a(sql_partition_admin.cc.o): In function `Sql_cmd_alter_table_truncate_partition::execute(THD*)': /data0/software/mysql-5.6.21/sql/sql_partition_admin.cc:822: undefined reference to `ha_partition::truncate_partition(Alter_info*, bool*)' collect2: ld 返回 1 make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t] 錯(cuò)誤 1 make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] 錯(cuò)誤 2 make: *** [all] 錯(cuò)誤 2
解決方法:
成都創(chuàng)新互聯(lián)公司專注于企業(yè)成都全網(wǎng)營(yíng)銷推廣、網(wǎng)站重做改版、公安網(wǎng)站定制設(shè)計(jì)、自適應(yīng)品牌網(wǎng)站建設(shè)、H5建站、商城網(wǎng)站建設(shè)、集團(tuán)公司官網(wǎng)建設(shè)、成都外貿(mào)網(wǎng)站制作、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁(yè)設(shè)計(jì)等建站業(yè)務(wù),價(jià)格優(yōu)惠性價(jià)比高,為公安等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/software/mysql -DWITHOUT_PARTITION_STORAGE_ENGINE=0 make && make install