On Tue, Mar 10, 2009 at 05:10, podila aditya <[email protected]> wrote:

> external/alsa-lib/include/alsa/global.h:137: error: redefinition of 'struct

 For now, go to external/alsa-lib and modify Android.mk like this:

 # libasound must be compiled with -fno-short-enums, as it makes extensive
 # use of enums which are often type casted to unsigned ints.
 LOCAL_CFLAGS := \
-       -fno-short-enums -fPIC \
+       -fPIC -DPIC -D_POSIX_SOURCE \
        -DALSA_CONFIG_DIR=\"/system/usr/share/alsa\" \
        -DALSA_PLUGIN_DIR=\"/system/usr/lib/alsa-lib\" \
        -DALSA_DEVICE_DIRECTORY=\"/dev/snd/\"

 That should get you unstuck.

 Marcelo
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to