Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,816 Members 39,109 Now Online
XDA Developers Android and Mobile Development Forum

[Q] [Xperia S][DEV]Get this error when build my own CyanogenMod to Xperia S

Tip us?
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jun 2012
Question [Q] [Xperia S][DEV]Get this error when build my own CyanogenMod to Xperia S


I want to build my own Cyanogenmod with SEEK Project to My Sony Xperia S. I was building as this link of CyanogenMod: Before I do the "Start the Build" step in the link, I patch Smart Card based PKI of SEEK Project as this link .

I continue to the "Start the Build" step and after wait about 15 mins, I got this error:

Select Code
host C: libhost <= build/libs/host/CopyFile.c
  GEN     /home/jutichai/android/system/out/target/product/nozomi/obj/KERNEL_OBJ/Makefile
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/
host C: mkbootfs <= system/core/cpio/mkbootfs.c
In file included from system/core/cpio/mkbootfs.c:15:0:
system/core/include/private/android_filesystem_config.h:145:20: error: 'AID_SMARTCARD' undeclared here (not in a function)
make: *** [/home/jutichai/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs.o] Error 1
make: *** Waiting for unfinished jobs....
  HOSTLD  scripts/kconfig/conf
arch/arm/mach-msm/Kconfig:2426:warning: defaults for choice values not supported
arch/arm/mach-msm/Kconfig:2432:warning: defaults for choice values not supported
# configuration written to .config
make[1]: Leaving directory `/home/jutichai/android/system/kernel/sony/msm8660'
How can I fix it?
Envious_Data's Avatar
Senior Member
Thanks Meter 670
Posts: 1,638
Join Date: Oct 2012
Location: Yaizu
So the error shows that therr is an error in the files of mkbootfs.c at line 15

Go through and check all arguments and check all grammar
Sony Xperia Z2

Envi-Rom Z2/S
cyanogemmod, seek, smartcard, xperia s
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes