返回列表 发帖

[安装] 求助,使用icc编译mysql5.1报错

使用icc编译mysql5.1报错
make时提示
compilation aborted for ndbfs/AsyncFile.cpp (code 2)
make[6]: *** [AsyncFile.o] Error 2
make[6]: Leaving directory `/root/mysql-5.1.38/storage/ndb/src/kernel/blocks'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/mysql-5.1.38/storage/ndb/src/kernel/blocks'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/mysql-5.1.38/storage/ndb/src/kernel'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/mysql-5.1.38/storage/ndb/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mysql-5.1.38/storage/ndb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-5.1.38/storage'
make: *** [all-recursive] Error 1

在mysql5.0下使用icc编译正常


编译configure如下
CC=icc CXX=icpc CFLAGS="-O3 -unroll2 -ip -mp -no-gcc -restrict" CXXFLAGS="-O3 -在unroll2 -ip -mp -no-gcc -restrict"  ./configure --prefix=/opt/mysql5.1\
--without-debug \
--with-extra-charsets=gb2312,gbk \
--enable-assembler \
--with-plugins=all \
--with-pthread \
--enable-thread-safe-client \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static

求高手帮忙解决问题

TOP

返回列表