Hello everyone,

I bricked my awesome Geeksphone Peak some days ago (it is stuck at boot loop). Since then I'm trying to compile B2G source myself in order to bake a update.zip to flash using fastboot.

I have faced lots of make errors by now, and figured how to solve them all.
But I'm not able to solve the issue I'm having at the moment.

Running "./build.sh -j1" ends with hundreds of warning lines related to "elfhack.cpp" and "host_elfhack.o" telling there are undefined references to lots of C++ variables and functions.
At last, following lines are printed:

collect2: ld returned 1 exit status

make[8]: *** [elfhack] Error 1

make[7]: *** [libs] Error 2

make[6]: *** [libs] Error 2

make[5]: *** [libs_tier_base] Error 2

make[4]: *** [tier_base] Error 2

make[3]: *** [default] Error 2

make[2]: *** [realbuild] Error 2

make[1]: *** [build] Error 2

make: *** [out/target/product/peak/obj/DATA/gecko_intermediates/gecko] Error 2


"ld" returning 1 obviously means that something was not linked properly, but it's not specified anywhere.

I've read somewhere that "elfhack" has something to do with optimization, so I have tried to build with and without "export B2G_NOOPT=1" in .userconfig without any luck.

What am I doing wrong?
Thanks in advance!

------------------------------------------------------------------------

Uname -srio:
Linux 3.5.0-17-generic x86_64 GNU/Linux
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to