求助:Ubuntu14下cocos2dx3.17 cmake后的make步骤中出现未识别的重定向

root@liang-X550WE:/home/cocos2d/buildi# make -j4
[ 1%] Built target ext_xxhash
[ 1%] Built target ext_unzip
[ 1%] Built target ext_tinyxml2
[ 3%] Built target ext_recast
[ 3%] Built target ext_xxtea
[ 3%] Built target ext_clipper
[ 3%] Built target ext_edtaa3func
[ 3%] Built target ext_convertUTF
[ 4%] Built target ext_md5
[ 4%] Built target ext_poly2tri
[ 5%] Built target ext_tolua
[ 7%] Built target ext_luasocket
[ 7%] Built target external
[ 72%] Built target cocos2d
[ 72%] Linking CXX executable …/…/…/bin/Debug/cpp-empty-test/cpp-empty-test
[ 79%] Built target luacocos2d
[ 80%] Linking CXX executable …/…/…/bin/Debug/lua-empty-test/lua-empty-test
[ 84%] Built target jscocos2d
[ 84%] Linking CXX executable …/…/…/bin/Debug/lua-tests/lua-tests
[ 84%] Linking CXX executable …/…/…/bin/Debug/cpp-tests/cpp-tests
/usr/bin/ld: …/…/…/…/external/bullet/prebuilt/linux/64-bit/libBulletDynamics.a(btConeTwistConstraint.o): 未识别的重定向 (0x2a),位于 .text' 区 /usr/bin/ld: 最后的链结失败: 错误的值 collect2: error: ld returned 1 exit status make[2]: *** [bin/Debug/cpp-empty-test/cpp-empty-test] 错误 1 make[1]: *** [engine/tests/cpp-empty-test/CMakeFiles/cpp-empty-test.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... /usr/bin/ld: ../../../../external/lua/luajit/prebuilt/linux/64-bit/libluajit.a(lj_load.o): 未识别的重定向 (0x2a),位于 .text’ 区
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
make[2]: *** [bin/Debug/lua-empty-test/lua-empty-test] 错误 1
make[1]: *** [engine/tests/lua-empty-test/CMakeFiles/lua-empty-test.dir/all] 错误 2
/usr/bin/ld: …/…/…/…/external/lua/luajit/prebuilt/linux/64-bit/libluajit.a(lj_load.o): 未识别的重定向 (0x2a),位于 .text' 区 /usr/bin/ld: 最后的链结失败: 错误的值 collect2: error: ld returned 1 exit status make[2]: *** [bin/Debug/lua-tests/lua-tests] 错误 1 make[1]: *** [engine/tests/lua-test/CMakeFiles/lua-tests.dir/all] 错误 2 /usr/bin/ld: ../../../../external/Box2D/prebuilt/linux/64-bit/libbox2d.a(b2Math.cpp.o): 未识别的重定向 (0x2a),位于 .text.startup’ 区
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
make[2]: *** [bin/Debug/cpp-tests/cpp-tests] 错误 1
make[1]: *** [engine/tests/cpp-tests/CMakeFiles/cpp-tests.dir/all] 错误 2
make: *** [all] 错误 2
root@liang-X550WE:/home/cocos2d/buildi# make -j4 -fPIC
make: PIC: 没有那个文件或目录
make: *** 没有规则可以创建目标“PIC”。 停止。

gcc/g++版本是4.9.4
gcc (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4
Copyright © 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.