Finally! Got it built, but now need to figure out how to run flash.sh, getting the following:
$ ./flash.sh < waiting for device > erasing 'cache'... OKAY [ 0.541s] finished. total time: 0.541s erasing 'userdata'... OKAY [ 1.421s] finished. total time: 1.421s sending 'userdata' (67563 KB)... OKAY [ 12.697s] writing 'userdata'... FAILED (status malformed (0 bytes)) finished. total time: 13.058s On Mon, Aug 26, 2013 at 1:34 PM, Kevin Hankens <[email protected]>wrote: > Ok, I started over and building clean seemed to help a bit. I'm using gcc > (Ubuntu/Linaro 4.6.4-1ubuntu1) 4.6.4. The previously broken file is now > reporting: > > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit > LSB relocatable, Intel 80386, version 1 (SYSV), not stripped > > Now, I'm hitting the following: > > (lots of "undefined reference" errors) > ... > B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: > ../libjs_static.a(StubCalls.o): in function > js::mjit::stubs::Trap(js::VMFrame&, unsigned > int):/home/khankens/codes/ffos/B2G/gecko/js/src/methodjit/StubCalls.cpp:862: > error: undefined reference to 'js::Debugger::onTrap(JSContext*, JS::Value*)' > collect2: ld returned 1 exit status > make[7]: *** [js] Error 1 > make[6]: *** [libs] Error 2 > make[5]: *** [libs_tier_js] Error 2 > make[4]: *** [tier_js] Error 2 > make[3]: *** [default] Error 2 > make[2]: *** [realbuild] Error 2 > make[1]: *** [build] Error 2 > make: *** [out/target/product/inari/obj/DATA/gecko_intermediates/gecko] > Error 2 > > real 6m51.288s > user 8m46.420s > sys 3m17.576s > > > Build failed! < > > > > On Mon, Aug 26, 2013 at 12:38 PM, Dave Hylands <[email protected]>wrote: > >> Hi Kevin, >> >> ----- Original Message ----- >> > From: "Kevin Hankens" <[email protected]> >> > To: "Dave Hylands" <[email protected]> >> > Cc: [email protected] >> > Sent: Monday, August 26, 2013 9:29:08 AM >> > Subject: Re: [b2g] Build failed due to aidl.o: file not recognized >> > >> > Thx Dave, I just tried that with no luck. Looks like I have plenty of >> disk >> > space ~66GB. Now I get the following: >> >> So that should be lots of disk space. >> >> > host Executable: aidl >> > (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl) >> > host Executable: acp >> > (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp) >> > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: file not >> > recognized: File truncated >> >> What does "file >> ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o" report? >> >> On my build machine (a 64-bit installation of ubuntu 12.04), I get: >> >> 624 >file ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o >> ./host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl.o: ELF 32-bit >> LSB relocatable, Intel 80386, version 1 (SYSV), not stripped >> >> Perhaps something in the prerequisities hasn't been installed? >> >> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#64_bit_install_examples.3A >> >> Which version of gcc are you using? >> >> Mine reports: >> >> 625 >gcc --version >> gcc-4.6.real (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 >> Copyright (C) 2011 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >> PURPOSE. >> >> Dave Hylands >> > > > > -- > Kevin Hankens > 207.632.9342 > www.kevinhankens.com > [email protected] > -- Kevin Hankens 207.632.9342 www.kevinhankens.com [email protected] _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
