Toybrick

rk3399pro buildroot numpy选择之后编译失败

xinzhiling111

中级会员

积分
403
楼主
发表于 2020-11-15 00:19:40    查看: 16336|回复: 1 | [复制链接]    打印 | 只看该作者
在buildroot上配置选择numpy之后,编译失败,log如下:
make: Leaving directory '/home/zl/workspace-rk/rk3399pro/buildroot'
2020-11-04T15:07:09 >>> python-numpy 1.13.3 Extracting
2020-11-04T15:07:10 >>> python-numpy 1.13.3 Patching
2020-11-04T15:07:10 >>> python-numpy 1.13.3 Configuring
2020-11-04T15:07:10 >>> python-numpy 1.13.3 Building
Done in 4min 16s  (error code: 2)
log saved on /home/zl/workspace-rk/rk3399pro/br.log
2020-11-04T15:11:14 tstate->exc_value = value;
2020-11-04T15:11:14 ^~~~~~~~~
2020-11-04T15:11:14 curexc_value
2020-11-04T15:11:14 numpy/random/mtrand/mtrand.c:45222:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
2020-11-04T15:11:14 tstate->exc_traceback = tb;
2020-11-04T15:11:14 ^~~~~~~~~~~~~
2020-11-04T15:11:14 curexc_traceback
2020-11-04T15:11:14 numpy/random/mtrand/mtrand.c: In function '__Pyx__GetException':
2020-11-04T15:11:14 numpy/random/mtrand/mtrand.c:45277:24: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
2020-11-04T15:11:14 tmp_type = tstate->exc_type;
2020-11-04T15:11:14 ^~~~~~~~
2020-11-04T15:11:14 curexc_type
2020-11-04T15:11:14 numpy/random/mtrand/mtrand.c:45278:25: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_value'; did you mean 'curexc_value'?
2020-11-04T15:11:14 tmp_value = tstate->exc_value;
2020-11-04T15:11:14 ^~~~~~~~~
2020-11-04T15:11:14 curexc_value
2020-11-04T15:11:14 numpy/random/mtrand/mtrand.c:45279:22: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
2020-11-04T15:11:14 tmp_tb = tstate->exc_traceback;
2020-11-04T15:11:14 ^~~~~~~~~~~~~
2020-11-04T15:11:14 curexc_traceback
2020-11-04T15:11:14 numpy/random/mtrand/mtrand.c:45280:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
2020-11-04T15:11:14 tstate->exc_type = local_type;
2020-11-04T15:11:14 ^~~~~~~~
2020-11-04T15:11:14 curexc_type

麻烦了解的朋友帮忙分析下,谢谢!
回复

使用道具 举报

Gang

注册会员

积分
91
沙发
发表于 2021-1-21 14:51:10 | 只看该作者
你用的是buildroot里的哪个配置?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表