主题 : alsa-lib编译出问题了 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 68070
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2012-04-18
最后登录: 2012-05-15
楼主  发表于: 2012-05-08 20:44

 alsa-lib编译出问题了

CC     atomic.lo
In file included from atomic.c:24:0:
../../include/iatomic.h:927:42: error: conflicting types for 'atomic_t'
../../include/iatomic.h:18:42: note: previous declaration of 'atomic_t' was here
../../include/iatomic.h:934:24: error: conflicting types for 'atomic_add'
../../include/iatomic.h:49:24: note: previous definition of 'atomic_add' was here
../../include/iatomic.h:943:24: error: conflicting types for 'atomic_sub'
../../include/iatomic.h:65:24: note: previous definition of 'atomic_sub' was here
../../include/iatomic.h:952:24: error: conflicting types for 'atomic_inc'
../../include/iatomic.h:101:24: note: previous definition of 'atomic_inc' was here
../../include/iatomic.h:961:24: error: conflicting types for 'atomic_dec'
../../include/iatomic.h:116:24: note: previous definition of 'atomic_dec' was here
../../include/iatomic.h:970:23: error: conflicting types for 'atomic_dec_and_test'
../../include/iatomic.h:133:23: note: previous definition of 'atomic_dec_and_test' was here
../../include/iatomic.h:983:19: error: conflicting types for 'atomic_add_negative'
../../include/iatomic.h:174:23: note: previous definition of 'atomic_add_negative' was here
../../include/iatomic.h:996:24: error: expected identifier or '(' before '__asm__'
../../include/iatomic.h:1005:0: warning: "mb" redefined [enabled by default]
../../include/iatomic.h:210:0: note: this is the location of the previous definition
../../include/iatomic.h:1007:0: warning: "wmb" redefined [enabled by default]
../../include/iatomic.h:212:0: note: this is the location of the previous definition
make[2]: *** [atomic.lo] 错误 1
级别: 新手上路
UID: 94788
精华: 0
发帖: 7
金钱: 35 两
威望: 7 点
综合积分: 14 分
注册时间: 2013-07-24
最后登录: 2018-02-08
1楼  发表于: 2013-07-25 13:12
请问楼主,这个问题怎么解决的、??