Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,159 Members 45,916 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:

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 746
Posts: 1,866
Join Date: Oct 2012
Location: Imagination
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 <-(id like my phone back pls its been 39 days!)

"Music Makes me forget the traumas that plague my mind. Music is the cure to a normaly unfixable problem"
-Nozomi Yamauchi

Its imposible for me to be a "normal person" simply bide the fact that there is no such thing as a normal person anywhere in the world exept a manufactured comunity
Credits to zantekk for the webspacce

cyanogemmod, seek, smartcard, xperia s
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes