[Desire HD Android Development] twistedumbrella:
It builds ALMOST everything...

target thumb C: audio <= external/bluetooth/bluez/audio/liba2dp.c
external/bluetooth/bluez/audio/liba2dp.c:46:17: error: sbc.h: No such file or directory
external/bluetooth/bluez/audio/liba2dp.c:135: error: expected specifier-qualifier-list before 'sbc_t'
external/bluetooth/bluez/audio/liba2dp.c: In function 'bluetooth_start':
external/bluetooth/bluez/audio/liba2dp.c:262: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:263: error: 'struct bluetooth_data' has no member named 'frame_count'
external/bluetooth/bluez/audio/liba2dp.c:264: error: 'struct bluetooth_data' has no member named 'samples'
external/bluetooth/bluez/audio/liba2dp.c:265: error: 'struct bluetooth_data' has no member named 'nsamples'
external/bluetooth/bluez/audio/liba2dp.c:266: error: 'struct bluetooth_data' has no member named 'seq_num'
external/bluetooth/bluez/audio/liba2dp.c:267: error: 'struct bluetooth_data' has no member named 'frame_count'
external/bluetooth/bluez/audio/liba2dp.c:268: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c: In function 'bluetooth_a2dp_init':
external/bluetooth/bluez/audio/liba2dp.c:362: error: 'struct bluetooth_data' has no member named 'rate'
external/bluetooth/bluez/audio/liba2dp.c:376: error: 'struct bluetooth_data' has no member named 'rate'
external/bluetooth/bluez/audio/liba2dp.c:380: error: 'struct bluetooth_data' has no member named 'channels'
external/bluetooth/bluez/audio/liba2dp.c: In function 'bluetooth_a2dp_setup':
external/bluetooth/bluez/audio/liba2dp.c:439: warning: implicit declaration of function 'sbc_reinit'
external/bluetooth/bluez/audio/liba2dp.c:439: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:442: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:442: error: 'SBC_FREQ_16000' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:442: error: (Each undeclared identifier is reported only once
external/bluetooth/bluez/audio/liba2dp.c:442: error: for each function it appears in.)
external/bluetooth/bluez/audio/liba2dp.c:445: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:445: error: 'SBC_FREQ_32000' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:448: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:448: error: 'SBC_FREQ_44100' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:451: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:451: error: 'SBC_FREQ_48000' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:454: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:454: error: 'SBC_MODE_MONO' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:457: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:457: error: 'SBC_MODE_DUAL_CHANNEL' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:460: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:460: error: 'SBC_MODE_STEREO' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:463: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:463: error: 'SBC_MODE_JOINT_STEREO' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:465: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:466: error: 'SBC_AM_SNR' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:467: error: 'SBC_AM_LOUDNESS' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:471: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:471: error: 'SBC_SB_4' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:474: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:474: error: 'SBC_SB_8' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:480: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:480: error: 'SBC_BLK_4' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:483: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:483: error: 'SBC_BLK_8' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:486: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:486: error: 'SBC_BLK_12' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:489: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:489: error: 'SBC_BLK_16' undeclared (first use in this function)
external/bluetooth/bluez/audio/liba2dp.c:493: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:494: error: 'struct bluetooth_data' has no member named 'codesize'
external/bluetooth/bluez/audio/liba2dp.c:494: warning: implicit declaration of function 'sbc_get_codesize'
external/bluetooth/bluez/audio/liba2dp.c:494: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:495: error: 'struct bluetooth_data' has no member named 'frame_duration'
external/bluetooth/bluez/audio/liba2dp.c:495: warning: implicit declaration of function 'sbc_get_frame_duration'
external/bluetooth/bluez/audio/liba2dp.c:495: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:496: error: 'struct bluetooth_data' has no member named 'frame_duration'
external/bluetooth/bluez/audio/liba2dp.c: In function 'bluetooth_a2dp_hw_params':
external/bluetooth/bluez/audio/liba2dp.c:512: error: 'struct bluetooth_data' has no member named 'address'
external/bluetooth/bluez/audio/liba2dp.c:632: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:632: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:632: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:632: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c: In function 'avdtp_write':
external/bluetooth/bluez/audio/liba2dp.c:646: error: 'struct bluetooth_data' has no member named 'frame_duration'
external/bluetooth/bluez/audio/liba2dp.c:646: error: 'struct bluetooth_data' has no member named 'frame_count'
external/bluetooth/bluez/audio/liba2dp.c:652: error: 'struct bluetooth_data' has no member named 'buffer'
external/bluetooth/bluez/audio/liba2dp.c:653: error: 'struct bluetooth_data' has no member named 'buffer'
external/bluetooth/bluez/audio/liba2dp.c:655: error: 'struct bluetooth_data' has no member named 'buffer'
external/bluetooth/bluez/audio/liba2dp.c:657: error: 'struct bluetooth_data' has no member named 'frame_count'
external/bluetooth/bluez/audio/liba2dp.c:660: error: 'struct bluetooth_data' has no member named 'seq_num'
external/bluetooth/bluez/audio/liba2dp.c:660: error: 'struct bluetooth_data' has no member named 'seq_num'
external/bluetooth/bluez/audio/liba2dp.c:661: error: 'struct bluetooth_data' has no member named 'nsamples'
external/bluetooth/bluez/audio/liba2dp.c:661: error: 'struct bluetooth_data' has no member named 'nsamples'
external/bluetooth/bluez/audio/liba2dp.c:677: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c:678: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c:687: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c:692: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c:694: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c:700: error: 'struct bluetooth_data' has no member named 'buffer'
external/bluetooth/bluez/audio/liba2dp.c:700: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:716: error: 'struct bluetooth_data' has no member named 'next_write'
external/bluetooth/bluez/audio/liba2dp.c:720: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:721: error: 'struct bluetooth_data' has no member named 'frame_count'
external/bluetooth/bluez/audio/liba2dp.c:722: error: 'struct bluetooth_data' has no member named 'samples'
external/bluetooth/bluez/audio/liba2dp.c:723: error: 'struct bluetooth_data' has no member named 'seq_num'
external/bluetooth/bluez/audio/liba2dp.c: In function 'bluetooth_configure':
external/bluetooth/bluez/audio/liba2dp.c:899: error: 'struct bluetooth_data' has no member named 'address'
external/bluetooth/bluez/audio/liba2dp.c: In function 'a2dp_thread':
external/bluetooth/bluez/audio/liba2dp.c:1086: warning: implicit declaration of function 'sbc_finish'
external/bluetooth/bluez/audio/liba2dp.c:1086: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c: In function 'a2dp_init':
external/bluetooth/bluez/audio/liba2dp.c:1126: error: 'struct bluetooth_data' has no member named 'address'
external/bluetooth/bluez/audio/liba2dp.c:1127: error: 'struct bluetooth_data' has no member named 'rate'
external/bluetooth/bluez/audio/liba2dp.c:1128: error: 'struct bluetooth_data' has no member named 'channels'
external/bluetooth/bluez/audio/liba2dp.c:1130: warning: implicit declaration of function 'sbc_init'
external/bluetooth/bluez/audio/liba2dp.c:1130: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:1166: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c: In function 'a2dp_set_sink':
external/bluetooth/bluez/audio/liba2dp.c:1176: error: 'struct bluetooth_data' has no member named 'address'
external/bluetooth/bluez/audio/liba2dp.c:1177: error: 'struct bluetooth_data' has no member named 'address'
external/bluetooth/bluez/audio/liba2dp.c: In function 'a2dp_write':
external/bluetooth/bluez/audio/liba2dp.c:1203: error: 'struct bluetooth_data' has no member named 'codesize'
external/bluetooth/bluez/audio/liba2dp.c:1207: warning: implicit declaration of function 'sbc_encode'
external/bluetooth/bluez/audio/liba2dp.c:1207: error: 'struct bluetooth_data' has no member named 'sbc'
external/bluetooth/bluez/audio/liba2dp.c:1208: error: 'struct bluetooth_data' has no member named 'buffer'
external/bluetooth/bluez/audio/liba2dp.c:1208: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:1209: error: 'struct bluetooth_data' has no member named 'buffer'
external/bluetooth/bluez/audio/liba2dp.c:1209: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:1219: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:1220: error: 'struct bluetooth_data' has no member named 'frame_count'
external/bluetooth/bluez/audio/liba2dp.c:1221: error: 'struct bluetooth_data' has no member named 'samples'
external/bluetooth/bluez/audio/liba2dp.c:1222: error: 'struct bluetooth_data' has no member named 'nsamples'
external/bluetooth/bluez/audio/liba2dp.c:1225: error: 'struct bluetooth_data' has no member named 'count'
external/bluetooth/bluez/audio/liba2dp.c:1226: error: 'struct bluetooth_data' has no member named 'count'
make: *** [out/target/product/mecha/obj/SHARED_LIBRARIES/audio_intermediates/liba2dp.o] Error 1