Wednesday, April 27, 2016

Error while compiling kernel from source

Hey xda,
I was trying to compile stock kernel from source for learning how to do so and with an aim to make a custom kernel in future.
I am using uber 4.9 toolchain for aarch64 as our kernel is based on aarch64 architecture.

While compiling it gives foloowing error.Please help me


CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_dev.o
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_fw_update.o
LD drivers/input/touchscreen/synaptics_dsx/built-in.o
CC drivers/input/touchscreen/ftxxxx_ts.o
CC drivers/input/touchscreen/ftxxxx_ex_fun.o
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_fw_upgrade_with_i_file':
drivers/input/touchscreen/ftxxxx_ex_fun.c:423:3: error: label at end of compound statement
default:
^
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_auto_upgrade':
drivers/input/touchscreen/ftxxxx_ex_fun.c:650:3: error: label at end of compound statement
default:
^
scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/ftxxxx_ex_fun.o' failed
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
Makefile:839: recipe for target 'drivers' failed


@LuK1337
@luca020400
@Nachiket.Namjoshi
@eng.stk
@franciscofranco
@jgcaap
@arter97
@DespairFactor
@say99
@BORETS24
@tank0412
@TheSSJ

Sorry for mentioning so many people but you all names came up when I searched for kernel devs..

I beg you to help me.
Thanks


from xda-developers http://ift.tt/1QzPZQA
via IFTTT

No comments:

Post a Comment