On Tuesday, June 4, 2013 3:37:39 PM UTC+2, [email protected] wrote:
> On Tuesday, April 16, 2013 11:12:40 AM UTC+1, Carlos Martínez Lozano wrote:
> 
> > El lunes, 15 de abril de 2013 11:06:32 UTC+2, Jan Jongboom  escribió:
> 
> > 
> 
> > > So I wanted to flash a custom B2G build to the Keon, so I did:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > ./config.sh keon
> 
> > 
> 
> > > 
> 
> > 
> 
> > > ./build.sh
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > And then I got:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > make -C kernel O=../out/target/product/keon/obj/KERNEL_OBJ ARCH=arm 
> > > CROSS_COMPILE=arm-eabi- headers_install
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   CHK     include/linux/version.h
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   INSTALL include/linux/netfilter (69 files)
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   INSTALL include/linux/netfilter_ipv4 (14 files)
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   INSTALL include/linux/netfilter_ipv6 (11 files)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > make -C kernel O=../out/target/product/keon/obj/KERNEL_OBJ ARCH=arm 
> > > CROSS_COMPILE=arm-eabi-
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   GEN     
> > > /Users/janjongboom/repos/B2G/out/target/product/keon/obj/KERNEL_OBJ/Makefile
> 
> > 
> 
> > > 
> 
> > 
> 
> > > scripts/kconfig/conf --silentoldconfig Kconfig
> 
> > 
> 
> > > 
> 
> > 
> 
> > > warning: (ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS 
> > > which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > warning: (ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS 
> > > which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
> 
> > 
> 
> > > 
> 
> > 
> 
> > > include/config/auto.conf: line 473: KERNEL_LOCAL_VERSION: command not 
> > > found
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   Using /Users/janjongboom/repos/B2G/kernel as source for kernel
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   GEN     
> > > /Users/janjongboom/repos/B2G/out/target/product/keon/obj/KERNEL_OBJ/Makefile
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   CHK     include/linux/version.h
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   CHK     include/generated/utsrelease.h
> 
> > 
> 
> > > 
> 
> > 
> 
> > > make[3]: `include/generated/mach-types.h' is up to date.
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   CC      kernel/bounds.s
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   GEN     include/generated/bounds.h
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   CC      arch/arm/kernel/asm-offsets.s
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   GEN     include/generated/asm-offsets.h
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   CALL    /Users/janjongboom/repos/B2G/kernel/scripts/checksyscalls.sh
> 
> > 
> 
> > > 
> 
> > 
> 
> > >   HOSTCC  scripts/mod/mk_elfconfig
> 
> > 
> 
> > > 
> 
> > 
> 
> > > /Users/janjongboom/repos/B2G/kernel/scripts/mod/mk_elfconfig.c:4:17: 
> > > error: elf.h: No such file or directory
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Am I missing some stuff here?
> 
> > 
> 
> > 
> 
> > 
> 
> > Hi I'm Carlos from Geeksphone,
> 
> > 
> 
> > 
> 
> > 
> 
> > are you using Mac OS or Linux?
> 
> > 
> 
> > 
> 
> > 
> 
> > We known that this issue exists on Mac OS that can't compile kernel 
> > correctly.
> 
> > 
> 
> > On Linux the problem not exist.
> 
> > 
> 
> > For official builds we use Linux environment (Ubuntu).
> 
> > 
> 
> > 
> 
> > 
> 
> > A "fast" solution is to use a precompiled kernel instead of source 
> > (modifying BoardConfig to use kernel binary instead of source), but we 
> > think that use source code for the build is the better way.
> 
> > 
> 
> > 
> 
> > 
> 
> > Regards.
> 
> 
> 
> So there can be no solution to this for OSX ?

You can't build kernel on OSX, but most of the times you don't care about that 
anyway. So just do

./build.sh gecko
./flash.sh gecko

to update Gecko and then flash Gaia manually.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to