[Droid Incredible Android Development] tiny4579:
I didn't get any libaudio errors after following the recommendations above with liba2dp.so.

However, I'm stuck here. I think this part will be tricky.

frameworks/base/services/sensorservice/SensorDevice.cpp: In constructor 'android::SensorDevice::SensorDevice()':
frameworks/base/services/sensorservice/SensorDevice.cpp:176: error: invalid use of incomplete type 'struct android::sensors_data_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:39: error: forward declaration of 'struct android::sensors_data_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp:177: error: invalid use of incomplete type 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:40: error: forward declaration of 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp:185: error: invalid use of incomplete type 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:40: error: forward declaration of 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp: In member function 'ssize_t android::SensorDevice::poll(sensors_event_t*, size_t)':
frameworks/base/services/sensorservice/SensorDevice.cpp:245: error: 'sensors_data_t' was not declared in this scope
frameworks/base/services/sensorservice/SensorDevice.cpp:245: error: expected ';' before 'oldBuffer'
frameworks/base/services/sensorservice/SensorDevice.cpp:246: error: invalid use of incomplete type 'struct android::sensors_data_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:39: error: forward declaration of 'struct android::sensors_data_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp:246: error: 'oldBuffer' was not declared in this scope
frameworks/base/services/sensorservice/SensorDevice.cpp: In member function 'android::status_t android::SensorDevice::activate(void*, int, int)':
frameworks/base/services/sensorservice/SensorDevice.cpp:393: error: invalid use of incomplete type 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:40: error: forward declaration of 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp:395: error: invalid use of incomplete type 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:40: error: forward declaration of 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp:416: error: invalid use of incomplete type 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:40: error: forward declaration of 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.cpp: In member function 'android::status_t android::SensorDevice::setDelay(void*, int, int64_t)':
frameworks/base/services/sensorservice/SensorDevice.cpp:434: error: invalid use of incomplete type 'struct android::sensors_control_device_t'
frameworks/base/services/sensorservice/SensorDevice.h:40: error: forward declaration of 'struct android::sensors_control_device_t'
make: *** [out/target/product/inc/obj/SHARED_LIBRARIES/libsensorservice_intermediates/SensorDevice.o] Error 1

I think this is all errors based on some device stuff based on incompatibilities with ICS. I know people said they had issues with GCC 4.6 but I have 4.5. Could that be causing it?