lundi 29 décembre 2014

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

11:24






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






Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 commentaires:

Enregistrer un commentaire

 

© 2013 Mobile Probleme. All rights resevered. Designed by Templateism

Back To Top