I'm building the recent Android release - JB422_100 - for SabreSD platform on Ubuntu 12.04.
The build fails with:
/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_init:external/wpa_supplicant_6/wpa_supplicant/src/drivers/driver_nl80211.c:1510: error: undefined reference to 'nl_handle_destroy'
collect2: ld returned 1 exit status
make: *** [out/target/product/sabresd_6dq/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1
If I totally delete external/wpa_supplicant_6, this error disappears, but this one emerges:
make: *** No rule to make target `out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by `out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/import_includes'. Stop.
There are additional problems that I have, somehow, figured out the solution.
Previously I have successfully built Android 4.0.4 and I did not have half these problems.
Any help will be greatly appreciated !