User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nox4developper.blogspot.com/sitemap.xml Nox 4 developper: [Q] Errors building samsung android kernel on ubuntu 14.04 topic

[Q] Errors building samsung android kernel on ubuntu 14.04 topic






I am following this tutorial

http://forum.xda-developers.com/show....php?t=2152819

I get the following when i execute


Code:


$make maker.defconfig

make: Nothing to be done for `maker.defconfig'.

Then i set the CROSS_COMPILER and echo it


Code:


$ echo $CROSS_COMPILE

/usr/bin/arm-none-eabi-

and when i execute


Code:


$make ARCH=arm

i get the following errors

///////////////////////////////////////

CHK include/linux/version.h

CHK include/generated/utsrelease.h

HOSTCC scripts/basic/fixdep

make[1]: `include/generated/mach-types.h' is up to date.

CC kernel/bounds.s

gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’

gcc: note: valid arguments to ‘-mabi=’ are: ms sysv

gcc: error: unrecognized command line option ‘-mlittle-endian’

gcc: error: unrecognized command line option ‘-mapcs’

gcc: error: unrecognized command line option ‘-mno-sched-prolog’

make[1]: *** [kernel/bounds.s] Error 1

make: *** [prepare0] Error 2

////////////////////////////////////////////////////

Any idea how to resolve these

I got the same errors using Android NDK toolchain.

Thanks






Aucun commentaire:

Enregistrer un commentaire