[Nook Color Android Development] anapospastos:
I 've built a rom today and then I tried to implement screen record from this thread. I cherry picked the first two commits, downloaded and copied manually the code for the screen recorder app into android/system/packages/apps/ScreenRecorder and added the product_packages to vendor/cm/config/common.mk but I'm getting this error and building stops

CHK include/generated/utsrelease.h

Using /home/anapospastos/android/system/kernel/bn/encore as source for kernel

make[3]: `include/generated/mach-types.h' is up to date.

CALL /home/anapospastos/android/system/kernel/bn/encore/scripts/checksyscalls.sh

CHK include/generated/compile.h

GZIP kernel/config_data.gz

IKCFG kernel/config_data.h

CC kernel/configs.o

aapt: warning: string 'media_route_chooser_grouping_done' has no default translation in frameworks/base/core/res/res; found: az az_AZ et hy ka km lo mn ms ne ne_NP si si_LK

aapt: warning: string 'permdesc_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da el es fi fr hu ja nl pl pt_PT ru sk sv zh_CN zh_TW

aapt: warning: string 'permlab_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da el es fi fr hu ja nl pl pt_PT ru sk sv zh_CN zh_TW

aapt: warning: string 'policydesc_enforceMmac' has no default translation in frameworks/base/core/res/res; found: el es ru zh_TW

aapt: warning: string 'policydesc_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: el es ru zh_TW

aapt: warning: string 'policylab_enforceMmac' has no default translation in frameworks/base/core/res/res; found: el es ru zh_TW

aapt: warning: string 'policylab_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: el es ru zh_TW

aapt: warning: string 'wifi_display_notification_message' has no default translation in frameworks/base/core/res/res; found: az az_AZ et hy ka km lo mn ms ne ne_NP si si_LK

aapt: warning: string 'wifi_display_notification_title' has no default translation in frameworks/base/core/res/res; found: az az_AZ et hy ka km lo mn ms ne ne_NP si si_LK

frameworks/base/core/res/res/values/vendor_strings.xml:22: error: Resource entry profileNameDefault is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:19: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:23: error: Resource entry profileNameWork is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:20: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:24: error: Resource entry profileNameHome is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:21: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:25: error: Resource entry profileNameSilent is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:22: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:26: error: Resource entry profileNameNight is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:23: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:29: error: Resource entry profileGroupPhone is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:26: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:30: error: Resource entry profileGroupCalendar is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:27: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:31: error: Resource entry profileGroupGmail is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:28: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:32: error: Resource entry profileGroupEmail is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:29: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:33: error: Resource entry profileGroupSMS is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:30: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:36: error: Resource entry wildcardProfile is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:33: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:39: error: Resource entry reboot_system is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:36: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:44: error: Resource entry global_action_screenshot is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:41: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:54: error: Resource entry reboot_reboot is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:51: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:56: error: Resource entry reboot_recovery is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:53: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:58: error: Resource entry reboot_bootloader is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:55: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:60: error: Resource entry reboot_bootmenu is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:57: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:62: error: Resource entry reboot_fastboot is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:59: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:64: error: Resource entry reboot_download is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:61: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:67: error: Resource entry reboot_progress is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:64: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:69: error: Resource entry reboot_confirm is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:66: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:73: error: Resource entry permlab_preventpower is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:70: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:75: error: Resource entry permdesc_preventpower is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:72: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:94: error: Resource entry lockscreen_discharging is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:91: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:116: error: Resource entry storage_sd_dock_card is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:94: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:119: error: Resource entry app_killed_message is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:97: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:136: error: Resource entry global_action_reboot is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:100: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:139: error: Resource entry global_action_choose_profile is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:103: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:142: error: Resource entry toast_rotation_unlocked is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:106: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:143: error: Resource entry toast_rotation_locked is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:107: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:147: error: Resource entry stylus_app_not_installed is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:110: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:150: error: Resource entry permlab_interceptSmsSent is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:185: Originally defined here.

frameworks/base/core/res/res/values/vendor_strings.xml:154: error: Resource entry permdesc_interceptSmsSent is already defined.

frameworks/base/core/res/res/values/cm_strings.xml:189: Originally defined here.

make: *** [/home/anapospastos/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

make: *** Deleting file `/home/anapospastos/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'

make: *** Waiting for unfinished jobs....

LD kernel/built-in.o

LD vmlinux.o

MODPOST vmlinux.o

GEN .version

CHK include/generated/compile.h

UPD include/generated/compile.h

CC init/version.o

LD init/built-in.o

LD .tmp_vmlinux1

KSYM .tmp_kallsyms1.S

AS .tmp_kallsyms1.o

LD .tmp_vmlinux2

KSYM .tmp_kallsyms2.S

AS .tmp_kallsyms2.o

LD vmlinux

SYSMAP System.map

SYSMAP .tmp_System.map

OBJCOPY arch/arm/boot/Image

Kernel: arch/arm/boot/Image is ready

GZIP arch/arm/boot/compressed/piggy.gzip

SHIPPED arch/arm/boot/compressed/lib1funcs.S

SHIPPED arch/arm/boot/compressed/ashldi3.S

AS arch/arm/boot/compressed/ashldi3.o

AS arch/arm/boot/compressed/lib1funcs.o

AS arch/arm/boot/compressed/piggy.gzip.o

LD arch/arm/boot/compressed/vmlinux

OBJCOPY arch/arm/boot/zImage

Kernel: arch/arm/boot/zImage is ready

UIMAGE arch/arm/boot/uImage

Image Name: Linux-3.0.101-gae15456

Created: Mon Dec 23 19:23:10 2013

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 3914812 Bytes = 3823.06 kB = 3.73 MB

Load Address: 0x80008000

Entry Point: 0x80008000

Image arch/arm/boot/uImage is ready

make[1]: Leaving directory `/home/anapospastos/android/system/kernel/bn/encore'

make -C kernel/bn/encore O=/home/anapospastos/android/system/out/target/product/encore/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/anapospastos/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules

make[1]: Entering directory `/home/anapospastos/android/system/kernel/bn/encore'

CHK include/linux/version.h

GEN /home/anapospastos/android/system/out/target/product/encore/obj/KERNEL_OBJ/Makefile

Using /home/anapospastos/android/system/kernel/bn/encore as source for kernel

CHK include/generated/utsrelease.h

make[3]: `include/generated/mach-types.h' is up to date.

CALL /home/anapospastos/android/system/kernel/bn/encore/scripts/checksyscalls.sh

Building modules, stage 2.

MODPOST 8 modules

make[1]: Leaving directory `/home/anapospastos/android/system/kernel/bn/encore'

make -C kernel/bn/encore O=/home/anapospastos/android/system/out/target/product/encore/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/anapospastos/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install

make[1]: Entering directory `/home/anapospastos/android/system/kernel/bn/encore'

INSTALL drivers/net/wireless/wl12xx/wl12xx.ko

INSTALL drivers/net/wireless/wl12xx/wl12xx_sdio.ko

INSTALL drivers/net/wireless/wl12xx/wl12xx_sdio_test.ko

INSTALL drivers/net/wireless/wl12xx/wl12xx_spi.ko

INSTALL drivers/scsi/scsi_wait_scan.ko

INSTALL lib/crc7.ko

INSTALL net/mac80211/mac80211.ko

INSTALL net/wireless/cfg80211.ko

DEPMOD 3.0.101-gae15456

make[1]: Leaving directory `/home/anapospastos/android/system/kernel/bn/encore'

mdpath=`find /home/anapospastos/android/system/out/target/product/encore/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/anapospastos/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/anapospastos/android/system/out/target/product/encore/system/lib/modules/; done; fi

mdpath=`find /home/anapospastos/android/system/out/target/product/encore/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

Any help or a hint to go on is appreciated:).