Hello. I am trying to build B2G for the Flame device I have. I would like to 
build using the Mac, but that seems to be tough. Here is the error I am running 
into:

  HOSTCC  scripts/mod/mk_elfconfig
/Volumes/firefoxos/B2G/kernel/scripts/mod/mk_elfconfig.c:4:10: fatal error: 
      'elf.h' file not found
#include <elf.h>
         ^
1 error generated.
make[4]: *** [scripts/mod/mk_elfconfig] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[1]: *** [sub-make] Error 2
make: *** [out/target/product/flame/obj/KERNEL_OBJ/arch/arm/boot/zImage] Error 2

I see that this seems to be a common issue building Android from the Mac; was 
wondering if anybody had a better workaround than copying one of the elf.h 
files from the source tree to /usr/local/include or not.

Syd Polk
[email protected]
+1-512-905-9904



_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to