我正在尝试建立卡萨布兰卡,就像他们在自己的页面上所说的那样.因为我已经gcc-4.8.1
安装使用CXX=gcc-4.8
不正常,所以我已经删除它只做:
cmake .. -DCMAKE_BUILD_TYPE=Release
它创建文件,当我这样做时,make
我收到这些错误:
Scanning dependencies of target casablanca [ 1%] Building CXX object src/CMakeFiles/casablanca.dir/streams/linux/fileio_linux.cpp.o /tmp/ccoWLl81.s: Assembler messages: /tmp/ccoWLl81.s:97: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:188: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:298: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:310: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:322: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:334: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:371: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:494: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:508: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:522: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:536: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:550: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:2028: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:2057: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:2086: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:3975: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:6186: Error: expecting string instruction after `rep' /tmp/ccoWLl81.s:10355: Error: expecting string instruction after `rep' make[2]: *** [src/CMakeFiles/casablanca.dir/streams/linux/fileio_linux.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/casablanca.dir/all] Error 2 make: *** [all] Error 2
有人遇到过这个问题吗?是因为gcc4.8.1吗?怎么解决?