免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2146 | 回复: 3
打印 上一主题 下一主题

MySQL configure成功了,make的时候过不去 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-23 00:13 |只看该作者 |倒序浏览
make的时候出现:

then mv -f ".deps/my_new.Tpo" ".deps/my_new.Po"; else rm -f ".deps/my_new.Tpo"; exit 1; fi
/usr/include/asm/atomic.h: In function ‘void atomic_add(int, volatile atomic_t*)’:
/usr/include/asm/atomic.h:37: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:38: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘void atomic_sub(int, volatile atomic_t*)’:
/usr/include/asm/atomic.h:45: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:46: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘void atomic_inc(volatile atomic_t*)’:
/usr/include/asm/atomic.h:53: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:54: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘void atomic_dec(volatile atomic_t*)’:
/usr/include/asm/atomic.h:61: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:62: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘int atomic_dec_and_test(volatile atomic_t*)’:
/usr/include/asm/atomic.h:71: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:72: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘int atomic_inc_and_test_greater_zero(volatile atomic_t*)’:
/usr/include/asm/atomic.h:82: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:83: 错误:types may not be defined in casts
make[2]: *** [my_new.o] 错误 1

请问是怎么回事?

论坛徽章:
0
2 [报告]
发表于 2006-10-23 08:40 |只看该作者

请问如何处理configure过程中的atomic问题

我在linux下使用arm-linux-gcc进行交叉编译mysql,报如下错误:
checking for the  atomic operations,.....error: cannot run test program while cross compiling
你有遇到吗,如何解决的,能告知你的configure选项吗?

论坛徽章:
0
3 [报告]
发表于 2006-10-23 10:30 |只看该作者
我已经很久不自己编译mysql了,建议采用预编译好的安装包吧

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2016-03-12 06:20:00
4 [报告]
发表于 2006-10-23 14:54 |只看该作者
ARM平台的你是?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP