도와주세요!!
안녕하세요..
지금 오디오 관련해서 alsa-lib-1.0.26을 다운 받아서 build를 하려고 하는데요.
1. ./configure --host=arm-none-linux-gnueabi --prefix=/usr/local/alsa/
2. ./configure --target=arm-linux --disable-python --host=arm-none-linux-gnueabi --prefix=/usr/local/alsa/
1,2d을 다해봤는데 상황은 똑같은데요. make를 하니 아래와 같은 Error가 발생합니다.
무엇인가 ./configure에서 설정이 잘못 된것 같은데요. 혹시 이런 경우 있으신분
조언을 좀 부탁드리겠습니다.
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] Error 1
make[2]: Leaving directory `/home/hwangroy/project/ER_SPEED_IND/ALSA/alsa-lib-1.0.26/src/pcm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hwangroy/project/ER_SPEED_IND/ALSA/alsa-lib-1.0.26/src'
make: *** [all-recursive] Error 1
[root@localhost alsa-lib-1.0.26]#
CC=/home/hwangroy/project/cross_compile/arm-2007q1/bin/arm-none-linux-gnueabi-gcc ./configure --target=arm-linux --host=arm-linux --prefix=/usr/local/alsa 으로 사용을 하니 되는군요...