首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
请问哪位大佬知道我这是什么原因?
### 问题描述 在Mac studio M1中安装swoole报错[thirdparty/boost/asm/make_arm_aapcs_macho_gas.lo] Error 1 ### Swoole版本,PHP版本,以及操作系统版本信息 php版本7.4.21 swoole4.6.0 Mac studio M1 Max ### 相关代码 ```php 请将代码粘贴至此处(请勿用截图) ``` /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:45:5: error: unexpected token at start of statement @ shift address in A1 to lower 16 byte boundary ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:46:9: error: invalid operand for instruction bic a1, a1, #15 ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:48:5: error: unexpected token at start of statement @ reserve space for context-data on context-stack ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:49:9: error: invalid operand for instruction sub a1, a1, #108 ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:51:5: error: unexpected token at start of statement @ third arg of make_fcontext() == address of context-function ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:52:9: error: invalid operand for instruction str a3, [a1,#104] ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:54:5: error: unexpected token at start of statement @ compute abs address of label finish ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:55:9: error: invalid operand for instruction adr a2, finish ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:56:5: error: unexpected token at start of statement @ save address of finish as return-address for context-function ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:57:5: error: unexpected token at start of statement @ will be entered after context-function returns ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:58:9: error: invalid operand for instruction str a2, [a1,#100] ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:60:11: error: unexpected token in argument list bx lr @ return pointer to context-data ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:63:5: error: unexpected token at start of statement @ exit code is zero ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:64:9: error: invalid operand for instruction mov a1, #0 ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:65:5: error: unexpected token at start of statement @ exit application ^ make: *** [thirdparty/boost/asm/make_arm_aapcs_macho_gas.lo] Error 1 ### 你期待的结果是什么?实际看到的错误信息又是什么? 请问大佬们如何解决?谢谢
发布于2年前 · 25 次浏览 · 来自
提问
php-python
### 问题描述 在Mac studio M1中安装swoole报错[thirdparty/boost/asm/make_arm_aapcs_macho_gas.lo] Error 1 ### Swoole版本,PHP版本,以及操作系统版本信息 php版本7.4.21 swoole4.6.0 Mac studio M1 Max ### 相关代码 ```php 请将代码粘贴至此处(请勿用截图) ``` /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:45:5: error: unexpected token at start of statement @ shift address in A1 to lower 16 byte boundary ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:46:9: error: invalid operand for instruction bic a1, a1, #15 ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:48:5: error: unexpected token at start of statement @ reserve space for context-data on context-stack ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:49:9: error: invalid operand for instruction sub a1, a1, #108 ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:51:5: error: unexpected token at start of statement @ third arg of make_fcontext() == address of context-function ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:52:9: error: invalid operand for instruction str a3, [a1,#104] ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:54:5: error: unexpected token at start of statement @ compute abs address of label finish ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:55:9: error: invalid operand for instruction adr a2, finish ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:56:5: error: unexpected token at start of statement @ save address of finish as return-address for context-function ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:57:5: error: unexpected token at start of statement @ will be entered after context-function returns ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:58:9: error: invalid operand for instruction str a2, [a1,#100] ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:60:11: error: unexpected token in argument list bx lr @ return pointer to context-data ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:63:5: error: unexpected token at start of statement @ exit code is zero ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:64:9: error: invalid operand for instruction mov a1, #0 ^ /Applications/MAMP/bin/php/php7.4.21/bin/swoole-src-4.6.0/thirdparty/boost/asm/make_arm_aapcs_macho_gas.S:65:5: error: unexpected token at start of statement @ exit application ^ make: *** [thirdparty/boost/asm/make_arm_aapcs_macho_gas.lo] Error 1 ### 你期待的结果是什么?实际看到的错误信息又是什么? 请问大佬们如何解决?谢谢
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2022-06-30
Rango
请使用`4.8.10`版本。
赞
0
回复
微信公众号
热门内容
作者其它话题
- Mac m1 编译swoole失败
- Mac中安装swoole请问如何解决?错误如下
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。