Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,428 Members 46,911 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?
 
thsecmaniac
Old
#1  
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

Hello

I want to build my own Cyanogenmod with SEEK Project to My Sony Xperia S. I was building as this link of CyanogenMod: http://wiki.cyanogenmod.org/w/Build_for_nozomi. Before I do the "Start the Build" step in the link, I patch Smart Card based PKI of SEEK Project as this link http://code.google.com/p/seek-for-an...i/SmartCardPKI .


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

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/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
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
Old
#2  
Envious_Data's Avatar
Senior Member
Thanks Meter 667
Posts: 1,625
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
Devices:
Sony Xperia Z2

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

Advanced Search
Display Modes