Home >php教程 >php手册 >php5.3.x 编译出错”my_global.h:361:24: error: asm/atomi

php5.3.x 编译出错”my_global.h:361:24: error: asm/atomi

WBOY
WBOYOriginal
2016-06-06 20:09:421947browse

编译php5.3.x时候出现错误 /usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory . 这里备忘一下, 网上找到一个没办法的办法: 用 Perl 正则注释掉:( $ perl -pi -e 's#\#include #//\#include #' /usr/include/mysql/my_

编译php5.3.x时候出现错误/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory. 这里备忘一下, 网上找到一个没办法的办法:

Perl正则注释掉:(

 $ perl -pi -e 's#\#include #//\#include #' /usr/include/mysql/my_global.h

@SEE: http://help.directadmin.com/item.php?id=333

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn