yashsingh1/xdaforums huggingface dataset:
[Android] intruder16:
-------------------------------------strip-------------------------------------------

target thumb C++: libandroid <= frameworks/base/native/android/configuration.cpp

target thumb C++: libandroid <= frameworks/base/native/android/input.cpp

target thumb C++: libandroid <= frameworks/base/native/android/looper.cpp

target thumb C++: libandroid <= frameworks/base/native/android/native_activity.cpp

target thumb C++: libandroid <= frameworks/base/native/android/native_window.cpp

target thumb C++: libandroid <= frameworks/base/native/android/obb.cpp

target thumb C++: libandroid <= frameworks/base/native/android/sensor.cpp

target thumb C++: libandroid <= frameworks/base/native/android/storage_manager.cpp

target StaticLib: libstorage (/media/Misc/SlimBean/out/target/product/coconut/obj/STATIC_LIBRARIES/libstorage_intermediates/libstorage.a)

target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_AlarmManagerService.cpp

target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_BatteryService.cpp

target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_input_InputApplicationHandle.cpp

target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_input_InputManagerService.cpp

target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_input_InputWindowHandle.cpp

target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_LightsService.cpp

frameworks/base/services/jni/com_android_server_LightsService.cpp: In function 'jint android::init_native(JNIEnv*, jobject)':

frameworks/base/services/jni/com_android_server_LightsService.cpp:92:38: error: 'LIGHT_ID_CAPS' was not declared in this scope

frameworks/base/services/jni/com_android_server_LightsService.cpp:94:38: error: 'LIGHT_ID_FUNC' was not declared in this scope

make: *** [/media/Misc/SlimBean/out/target/product/coconut/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/com_android_server_LightsService.o] Error 1

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

Any help? I dont have any idea whats causing it!

Edit : Solved by commenting out offending lines in "com_android_server_LightsService.cpp".
[Android] :
Since SDK now a bundle with Eclipse

Here is a new PATHs

# Android tools
export PATH=${PATH}:~/android-sdk/sdk/tools
export PATH=${PATH}:~/android-sdk/sdk/platform-tools
export PATH=${PATH}:~/bin

PATH="$HOME/android-sdk/tools:$HOME/android-sdk/sdk/platform-tools:$PATH"

Sorry if this posted already, i just want to help n00bs :good:
[Android] arya_ruby:
Thanks Sir... I was update apt... :D

Sorry for my bad english.
[Android] desalesouche:
store it in device/your device/msm7x30-common/include /linux or similar...
[Android] ReznorNInchNails:
I am nearly done with build, and now stuck with this error:

make -j5 otapackage

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.3

TARGET_PRODUCT=full_haida

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.11.0-1-ARCH-x86_64-with-glibc2.2.5

HOST_BUILD_TYPE=release

BUILD_ID=JSS15Q

OUT_DIR=out

============================================

Checking build tools versions...

hardware/ti/wlan/mac80211/wpa_supplicant_lib/Android.mk:15: /android.config: Datei oder Verzeichnis nicht gefunden

No private recovery resources for TARGET_DEVICE haida

No recovery.fstab for TARGET_DEVICE haida

make: *** Keine Regel, um »/android.config« zu erstellen. Schluss.

How can I fix this?
[Android] nded:
i will try it :)
[Android] desalesouche:
you have to include recovery.fstab in your device/haida
[Android] niquelfer:
Thanks!
[Android] vishal_android freak:
I was doing repo sync and I kept my pc on and went for work.. I don't know how but when I came back my pc went into to sleep and my syncing was stuck.. So I closed it and did the repo sync again.. The 2nd time it went all fine.. I just wanted to ask if this interruption will cause any problems in rom compiling? :o
[Android] shiznu:
No should just pick up where it left off.

Everything Zen
[Android] vishal_android freak:
Relieved to hear that.. Thanks mate.. :)
[Android] ktempleton:
Make sure you have your kernel source under kernel/htc
[Android] capleochi:
Heyo, I taught that I wouldn't post in here since I taught I could fix the error, but this one is starting to drive me insane.

In file included from device/samsung/msm7x27a-common/camera/cameraHAL.cpp:30:0:
device/samsung/msm7x27a-common/camera/CameraHardwareInterface.h:22:24: fatal error: ui/Overlay.h: No such file or directory
compilation terminated.
target SharedLib: libsqlite (/home/capleochi/android/AOKP_Jellybean/out/target/product/trebon/obj/SHARED_LIBRARIES/libsqlite_intermediates/LINKED/libsqlite.so)
make: ** [/home/capleochi/android/AOKP_Jellybean/out/target/product/trebon/obj/SHARED_LIBRARIES/camera.msm7x27a_intermediates/cameraHAL.o] Erro 1
make: ** Esperando que outros processos terminem.

Does anyone knows how to fix this, please? I'm still searching but I can't find anything.
[Android] CallMeVentus:
You're missing a Overlay.h, make sure you're fully synced in sources

You wouldn't care where I sent this message from.
[Android] capleochi:
I did sync everything, I don't have any error. I've also compiled the ROM without the camera lib, but after installing it my GT-S7500 gets stuck on the Samsung logo.

My local manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remote name="github"
fetch="https://github.com/" />

<project name="TheWhisp/android_device_samsung_s7500" path="device/samsung/trebon" revision="cm-10.2" remote="github" />
<project name="TheWhisp/android_device_samsung_msm7x27a-common" path="device/samsung/msm7x27a-common" revision="cm-10.2" remote="github" />
<project name="TheWhisp/android_kernel_samsung_msm7x27a" path="kernel/samsung/msm7x27a" revision="jellybean" remote="github" />
<project name="TheWhisp/proprietary_vendor_samsung_msm7x27a" path="vendor/samsung" revision="jellybean" remote="github" />
</manifest>

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- CM replacements -->
<project path="hardware/libhardware_legacy" name="legaCyMod/android_hardware_libhardware_legacy" revision="cm-10.1" remote="github" />

<!-- Local projects -->
<project path="hardware/atheros/ath6kl-compat" name="TheWhisp/android_hardware_atheros_ath6kl-compat" revision="cm-10.1" remote="github" />
<project path="hardware/atheros/wlan" name="TheWhisp/android_hardware_atheros_wlan" revision="cm-10.2" remote="github" />
<project path="hardware/qcom/display-legacy" name="legaCyMod/android_hardware_qcom_display-legacy" revision="cm-10.2" remote="github" />
<project path="hardware/qcom/media-legacy" name="legaCyMod/android_hardware_qcom_media-legacy" revision="cm-10.2" remote="github" />

<!-- FM radio -->
<project path="hardware/qcom/fm" name="legaCyMod/android_hardware_qcom_fm" revision="cm-10.2" remote="github" />
<project path="packages/apps/FM2" name="legaCyMod/android_packages_apps_FM2" revision="cm-10.1" remote="github" />
</manifest>
[Android] CallMeVentus:
The Samsung logo or bootanimation?

If it's the Samsung splash screen it's probably a kernel issue instead

You wouldn't care where I sent this message from.
[Android] capleochi:
It's the kernel, though I don't see any problem while compiling the kernel. I'm going to try to update to another branch otherwise I'll have to wait whe TheWhisp releases CM10.2 for my device.
[Android] patch_Adams:
anybody know how to fix this?? I'm trying to build VanirAOSP....I've added some locals for my device (i717) and the build will not get started.

mka bacon output is:

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.3

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a

TARGET_CPU_VARIANT=

TARGET_ARCH_VARIANT_CPU=

TARGET_GCC_VERSION=4.8

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.5.0-40-lowlatency-x86_64-with-Ubuntu-12.10-quantal

HOST_BUILD_TYPE=release

BUILD_ID=JLS36G

OUT_DIR=/home/patrick/Vanir43/out

============================================

Including ./abi/cpp/Android.mk

Including ./bionic/Android.mk

bionic/libc/Android.mk:430: TARGET_CPU_VARIANT is not defined

bionic/libc/arch-arm/arm.mk:30: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a5, cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait, scorpion. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.

I have dug through goolge searching and many make files today and am right where I started....I see what is missing (cpu and arch variants) but don't know how or where to fix this??

thanks for any help

:)
[Android] CallMeVentus:
Have you defined your TARGET_CPU_VARIANT in your device config's BoardConfig.mk yet?

You wouldn't care where I sent this message from.
[Android] patch_Adams:
I have in ../device a quincyatt, quincy-common, and msm8660-common folders, each has a BoardConfigCommon.mk . The quincyatt inherits quincy-common which inherits msm8660-common mk files. The cpu is defined in the msm8660-common BoardConfigCommon.mk. I'm not sure how this all works together, I'm defiantly still a bit of a rookie here.
[Android] CallMeVentus:
Have you done the lunch command yet?

You wouldn't care where I sent this message from.
[Android] patch_Adams:
Yeah. I do lunch, get the menu of devices, choose my cm_quincyatt, get an error, then run mka bacon...all per the BUILD_COMMAND_README in my top build folder. VanirAOSP source includes a ton of devices but not mine, so I added my locals. I build beanStalk w/o issue so I assume its something in the way Vanir builds?? But I don't know. Been at this for a good part of today :)
[Android] CallMeVentus:
Wait what error was that?

You wouldn't care where I sent this message from.
[Android] patch_Adams:
The error looks like this:

build/core/product_config.mk:224: *** Can not locate config makefile for product "cm_quincyatt". Stop.

** Don't have a product spec for: 'cm_quincyatt'

** Do you have the right repo manifest?

In /device/quincyatt the mk is actually full_quincyatt not cm_quincyatt...I tried to just rename it but that didn't work

So then I mka bacon and get the target_cpu_variant error
[Android] CallMeVentus:
Try not to use cm_quincyatt and use full_quincyatt instead, undo your changes

You wouldn't care where I sent this message from.
[Android] patch_Adams:
If you mean the file name...yeah tried both...

I appreciate your time by the way!
[Android] Roladriz:
Which is the proper way to set paths in .bashrc? I'm finding a few different ways.

export PATH=<directory>:$PATH

or

export PATH=$PATH:<directory>

http://pastebin.com/2McbY6jN
[Android] CallMeVentus:
Which device config are you using?

You wouldn't care where I sent this message from.
[Android] ktempleton:
It looks like you need to add your device to the build itself in vendor/vanir/vendor set up.sh then you need to open vendor/vanir/products add your device to the androidproducts.mk and create a file name it quincyatt.mk copy from a similar devices Mk and then edit it to reflect your device since it's not cm based like bean stalk cm device.Mk won't work

If this doesn't work for the CPU variant error you need to make sure that one of your Mk files has a call to use the msm8660-common boardcommonconfig.Mk or whichever file has that definition in it let me know if you get it building

sent through the worm hole from a galaxy far far away!!!!
[Android] superfrancy97:
target SharedLib: libdvm (/media/francesco/myextdev/francesco/cm10/out/target/product/apollo/obj/SHARED_LIBRARIES/libdvm_intermediates/LINKED/libdvm.so)
/media/francesco/myextdev/francesco/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: warning: shared library text segment is not shareable
/media/francesco/myextdev/francesco/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: treating warnings as errors
collect2: error: ld returned 1 exit status
make: *** [/media/francesco/myextdev/francesco/cm10/out/target/product/apollo/obj/SHARED_LIBRARIES/libdvm_intermediates/LINKED/libdvm.so] Error 1

Hi! I'm trying to compile JB for my Galaxy 3 but i'm stuck here. Someone knows how to fix this? :rolleyes:
[Android] patch_Adams:
I'll give some of this a go later, thanks for the help!! I've also talked with a Vanir member(?) on g+ and submitted a device tree(?). They are going to try to help me get it going that way.

---------- Post added at 02:36 PM ---------- Previous post was at 02:34 PM ----------

I have this at the end of mine

# CCache

export USE_CCACHE=1

export CCACHE_DIR=/home/patrick/ccache

export CCACHE_LOGFILE=/home/patrick/ccache/ccache.log

# Android tools

export PATH=${PATH}:~/android-sdk/android-sdk/tools

export PATH=${PATH}:~/android-sdk/android-sdk/platform-tools

export PATH=${PATH}:~/bin

:)
[Android] patch_Adams:
Build is started.....thanks!! I'll let you know how it turns out!

edit:

build broke after about an hour while in my kernel directory
[Android] ktempleton:
Where's the error

sent through the worm hole from a galaxy far far away!!!!
[Android] patch_Adams:
I went and messed with my manifest and messed everything up. I did and fresh repo after wiping the entire build directory (because that is still how I work at this point), Not good I know. I'm have to go to work very soon, I'll try again tomorrow.

The file that was throwing errors was kernel/samsung/msm8660-common/arch/arm/boot/compressed/head.S

I had a ton of line errors. Anyway, thanks for helping get this ball rolling and I'll rebuild tomorrow :)
[Android] Roladriz:
Thanks! What does the CCACHE_LOGFILE do?
[Android] patch_Adams:
Not sure...I've never looked at it. May be it logs all the cached files?? That'd be a lot of files. I'll have to look at mine and see :)

sent from somewhere upon the beanstalk

edit:

My ccache.log file has 676,430 lines in it !! WOW.....it is logging all the files placed in ccache and so much more.....it would take hours to go through it all....I suppose once you knew everything in the log you could quickly jump to an area you needed to look at....
[Android] Roladriz:
Sweet! If there is ever a time you need to nuke your directory and start over, (hopefully not) there's a way to do it without starting all the way over.

From your working directory....

$ rm -r *

# agree to nuke the makefile

$ du -sh .repo

# you'll get the size of all the data

$ repo sync

That will get you back to a new working directory without taking up your night.
[Android] ryancnap:
I'm trying to build pa on Ubuntu 13.04, getting

Syncing work tree: 93% (328/352) error: The following untracked working tree files would be overwritten by checkout:

PACKAGE_SOURCES
TOOLCHAIN_SOURCES
bin/x86_64-linux-addr2line

(bunch of other something/x86_64 stuff. is this related to the fact that I'm NOT on a 64bit machine?) I know I can't build that way but I was just trying to get used to using git.

when doing a repo sync. followed by

Aborting
error: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/: platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6 checkout 5ae9e5ea19a9021233668363cb38a7fdf3e7f005

Contents of my .repo/local_manifests/roomservice.xml (which I created manually):

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="ParanoidAndroid/android_device_htc_m7att" path="device/htc/m7att" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_htc_m7" path="kernel/htc/m7" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_htc_m7-common" path="device/htc/m7-common" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-10.2" />
</manifest>
[Android] patch_Adams:
Ok...at the moment.....I have this:

device/samsung/quincy-common/overlay/frameworks/base/core/res/res/values/config.xml:171: error: Resource at config_stylusGestures appears in overlay but not in the base package; use <add-resource> to add.

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

What is the syntax for using <add-resource> in the config.xml? I know I can probably just delete the overlay folder, but I'd rather fix this properly. Does this look ok?

<!-- Enable stylus gestures -->

<add-resource type="string" name="config_stylusGestures"></add-resource>

<bool name="config_stylusGestures">true</bool>
[Android] ktempleton:
Not sure of the syntax I just add it in manually with gedit that way the device has all the things working
[Android] CallMeVentus:
The resource type is bool, actually

You wouldn't care where I sent this message from.
[Android] patch_Adams:
Thanks for the help guys!! I got a build to complete and boot up...some bugs yet to work out as is par ;)
[Android] puskyer:
Used your instruction mixed with sgt7, alroger and humroes git and repo .xml and was able to build my first P1000 CM10.1.....

This is great... now need to learn more about the programming and debugging side...

:D
[Android] acras13:
Hey guys , back to get more confused. Second try at this , going through the steps , when trying to initialize the repo (step 6) for AOSP , I try for 4.3_r3 , it does it's business , then I get a message that says

repo 1.12.4

gpg: Signature made Tues 01 Oct 2013 09:44:27 AM PDT using RSA key ID 692B382C

gpg: Can't check signature: public key not found

error: could not verify the tag 'v1.12.4'

I searched and haven't found a solution , but theres a good chance I'm not using the right search terms, any help would be greatly appreciated .Thanks
[Android] puskyer:
When i did my "repo sync" i got a some what similar error, but after it told me that a new version of repo was available in the .repo folder.. not sure if that helps, i moved the new repo to my ~/bin folder and the next time i did "repo sync" i did not see the error.

Update: http://stackoverflow.com/questions/19126603/android-source-repo-gpg-public-key-not-found

Found this that may help if you do not have the new repo in the .repo folder.
[Android] acras13:
Thanks , I only have one repo , in my bin folder , assuming it's the latest build . I followed the recommendation from the link you quoted and got more errors than before;

curl http://commandstorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo

curl: (6) Couldn't resolve host 'chmod'

curl: (6) Couldn't resolve host 'a+x'

curl: (3) <url> malformed

I haven't gotten to the repo sync command, hung up just before I'm supposed to do that.

Edit: I ran https://android.googlesource.com/platform/manifest , i left off the " -b android-4.3_r3" part and it moved forward , I'll see how much I screwed things up.

edit 2: Got it ! that seems to have done it.
[Android] desalesouche:
wrong thread , please delete.

sorry
[Android] Charly1811:
Kernel error

Hi everyone I'm trying to build Android 4.3.1 AOSP For galaxy tab 2 7.0 GT-P3113 but i got the following error

However i have a prebuilt kernel in my device tree (samsung/p3113/kernel)

and added entries in my device.mk

I don't know what to do now please Help me
[Android] patch_Adams:
I'm not sure how to make this work, never done it. But you could just build with a normal not prebuilt kernel and when the build finishes, run your rom through the kitchen and change your boot.img file.
[Android] misterjaytee:
Thanks - CM10.2 build

Thanks for the guide. It's helped me build CM 10.2 on Transformer Prime (TF201) .

However instead of git clone for the device repos, I added the relevant projects (for the device) into roomservice.xml under .repo/local_manifests - in this example, I've used namidairo's tf201 repos:

<manifest>

<project name="namidairo/proprietary_vendor_asus" path="vendor/asus" remote="github" revision="cm-10.2" />

<project name="namidairo/android_device_asus_tf201" path="device/asus/tf201" remote="github" revision="cm-10.2" />

<project name="namidairo/android_kernel_asus_tf201" path="kernel/asus/tf201" remote="github" revision="cm-10.2" />

</manifest>

Hopefully this will help people who are building for other devices.

Once again, thanks for the guide.

---------- Post added at 11:32 AM ---------- Previous post was at 11:26 AM ----------

Forgot to mention, the instructions for Ubuntu 12.04 also worked out okay on Ubuntu 13.10 (Beta).
[Android] montuk:
Whenever I try to compile Trebuchet with Paranoid or AOSP I get this error but I'm not able to fix it

So if anyone have idea whats wrong then please help :o

packages/apps/Trebuchet/src/com/cyanogenmod/trebuchet/LiveFoldersReceiver.java:70: cannot find symbol
symbol : method getSendingPackage(android.content.Intent)
location: class com.cyanogenmod.trebuchet.LiveFoldersReceiver
if (!fInfo.isOwner(context, getSendingPackage(intent))) {
^
packages/apps/Trebuchet/src/com/cyanogenmod/trebuchet/LiveFoldersReceiver.java:93: cannot find symbol
symbol : method getSendingPackage(android.content.Intent)
location: class com.cyanogenmod.trebuchet.LiveFoldersReceiver
if (fInfo.isOwner(context, getSendingPackage(intent))) {
^
Note: packages/apps/Trebuchet/src/com/cyanogenmod/trebuchet/Launcher.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
[Android] GabrielSousa:
is the TARGET_CPU_VARIANT=krait for i9505 ?
[Android] GabrielSousa:
how do i fix this ?

make: *** No rule to make target `system/extras/bugmailer/bugmailer.sh', needed by `/home/gabriel/cm-vlad/out/target/product/jfltexx/system/bin/bugmailer.sh'. Stop.
[Android] speed_bot:
Search on pdadb

---------- Post added at 08:58 AM ---------- Previous post was at 08:57 AM ----------

See if that bugmailer.sh script exists in the path..
[Android] ilbarone87:
Hi, anyone knows how can i fix this error?

hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3639:5: error: 'AUDIO_FORMAT_EVRCNW' was not declared in this scope
make: *** [/home/ilbarone/giuseppePA/system/out/target/product/ville/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o] Errore 1
make: *** Attesa per i processi non terminati....

Thank you
[Android] Kayant:
Anymore point me in the right direction to fix this error ---> make: *** No rule to make target `/home/kayant/vanir/out/host/linux-x86/bin/mkbootimg', needed by `/home/kayant/vanir/out/target/product/mb526/boot.img'. Stop.

Tried some stuff in core/Makefile didn't help :(

Thanks

Edit---> Fixed I will just being blind :p
[Android] aviz1911:
I got these errors after syncing the source of cyanogenmod for mako. i run repo sync and after syncing work tree completes 100% it shows me these errors. I am running Ubuntu x64bit OS
[Android] dastin1015:
Do

$ rm -rf *

then do your repo sync again

私の ネクサス7 から送信される。
[Android] aviz1911:
Do I need to add anything in the place of * ?? Can you explain i'm a complete noob regarding these and this is my first time with aosp
[Android] dastin1015:
No actually use the *

私のONEから送信される。
[Android] misterjaytee:
Repo command moved

Please note that https://dl-ssl.google.com/dl/googlesource/git-repo/repo does not seem to be available any more. The revised location appears to be:

http://commondatastorage.googleapis.com/git-repo-downloads/repo

So the new command would be:

$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
[Android] x10forevers:
Its self explanatory as u might know

hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3639:5: error: 'AUDIO_FORMAT_EVRCNW' was not declared in this scope

You need to have scope declared for AUDIO_FORMAT_EVRCNW or u can remove that from scope so that it won't show an error

But if you remove it, it will might cause more errors regarding that module....