Hello, I have followed all the steps from the wiki but unable to compile Android successfully. I am attaching a log below. Please guide me through the error. Do I have to edit ping.c?
target thumb C++: omx_tests <= frameworks/base/media/libstagefright/omx/tests/OMXHarness.cpp target Executable: omx_tests (out/target/product/pandaboard/obj/EXECUTABLES/omx_tests_intermediates/LINKED/omx_tests) target Symbolic: omx_tests (out/target/product/pandaboard/symbols/system/bin/omx_tests) target Strip: omx_tests (out/target/product/pandaboard/obj/EXECUTABLES/omx_tests_intermediates/omx_tests) Install: out/target/product/pandaboard/system/bin/omx_tests target thumb C: pand <= external/bluetooth/bluez/compat/pand.c target thumb C: pand <= external/bluetooth/bluez/compat/bnep.c target thumb C: pand <= external/bluetooth/bluez/compat/sdp.c target Executable: pand (out/target/product/pandaboard/obj/EXECUTABLES/pand_intermediates/LINKED/pand) target Symbolic: pand (out/target/product/pandaboard/symbols/system/bin/pand) target Strip: pand (out/target/product/pandaboard/obj/EXECUTABLES/pand_intermediates/pand) Notice file: external/bluetooth/bluez/compat/NOTICE -- out/target/product/pandaboard/obj/NOTICE_FILES/src//system/bin/pand.txt Install: out/target/product/pandaboard/system/bin/pand target thumb C: ping <= external/ping/ping.c external/ping/ping.c: In function 'fill': external/ping/ping.c:138:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] external/ping/ping.c: In function '__schedule_exit': external/ping/ping.c:317:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c:322:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c: In function 'setup': external/ping/ping.c:535:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] external/ping/ping.c: In function 'gather_statistics': external/ping/ping.c:727:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c: In function 'receive_error_msg': external/ping/ping.c:1019:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c: In function 'parse_reply': external/ping/ping.c:1181:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c:1185:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c: In function 'main': external/ping/ping.c:2018:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] external/ping/ping.c:2038:4: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] external/ping/ping.c:2084:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] external/ping/ping.c:2092:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cc1: some warnings being treated as errors make: *** [out/target/product/pandaboard/obj/EXECUTABLES/ping_intermediates/ping.o] Error 1
Thanks & Regards, Mihir Chitnis --- SmartPath LLC | C: +404.932.0487 | mihir@smartpathfinancial.com | http://www.smartpathfinancial.com |
Thanks & Regards, Mihir Chitnis --- SmartPath LLC | C: +404.932.0487 | mihir@smartpathfinancial.com | http://www.smartpathfinancial.com |
On 5 May 2012 22:59, Mihir Chitnis mihir.chitnis@gmail.com wrote:
Hello, I have followed all the steps from the wiki but unable to compile Android successfully. I am attaching a log below. Please guide me through the error. Do I have to edit ping.c?
Hi, I'm working on fixing all the strict-aliasing violations in the code - so some breakage there is expected. I fixed this particular breakage on Friday, so chances are "repo sync" will fix you up.
ttyl bero
linaro-android@lists.linaro.org