emerge python * configure has detected that the sem_open function is broken.

emerge python * configure has detected that the sem_open function is broken.,第1张

* ERROR: dev-lang/python-2.7.5-r3::gentoo failed (configure phase):

* Broken sem_open function (bug 496328)

* die "Broken sem_open function (bug 496328)"

以上3条提示错误,你这个应该是应用程序的编程阶段或者测试。错误处修改,或者上下路逻辑检查

简单一点的,r,t分别产生两组随机数,你往后加参数即可:

#include<stdlib.h>

#include<stdio.h>

int main(void){

int r=srandom((int)time(0))

int t=srandom((int)time(0))

printf("%d %d\n",r,t)

return 0

}


欢迎分享,转载请注明来源:夏雨云

原文地址:https://www.xiayuyun.com/zonghe/201999.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-02
下一篇2023-04-02

发表评论

登录后才能评论

评论列表(0条)

    保存