yashsingh1/xdaforums huggingface dataset:
[Android] arnabJ:
@Startrek852 , @desalesouche

I am back to Square-1.

The same error occurred again which had initially occurred.

Gist

After committing all the 4 commits to update to 3.10.53,

Firstly I got this and I completely removed the method/function :

../../../../../../kernel/motorola/msm8916/kernel/sched/rt.c: In function 'dump_throttled_rt_tasks': ../../../../../../kernel/motorola/msm8916/kernel/sched/rt.c:868:2: error: implicit declaration of function 'printk_sched' [-Werror=implicit-function-declaration] printk_sched("%s", buf); ^ ../../../../../../kernel/motorola/msm8916/kernel/sched/rt.c: At top level: ../../../../../../kernel/motorola/msm8916/kernel/sched/rt.c:827:13: warning: 'dump_throttled_rt_tasks' defined but not used [-Wunused-function] error, forbidden warning: rt.c:827 /home/arnabj/android/system/kernel/motorola/msm8916/scripts/Makefile.build:308: recipe for target 'kernel/sched/rt.o' failed make[3]: *** [kernel/sched/rt.o] Error 1 /home/arnabj/android/system/kernel/motorola/msm8916/scripts/Makefile.build:455: recipe for target 'kernel/sched' failed make[2]: *** [kernel/sched] Error 2 /home/arnabj/android/system/kernel/motorola/msm8916/Makefile:830: recipe for target 'kernel' failed make[1]: *** [kernel] Error 2 make[1]: *** Waiting for unfinished jobs....

2ndly I got this and commented the line

../../../../../../kernel/motorola/msm8916/net/core/dst.c: In function 'dst_release':
../../../../../../kernel/motorola/msm8916/net/core/dst.c:283:18: warning: unused variable 'nocache' [-Wunused-variable]
error, forbidden warning: dst.c:283
/home/arnabj/android/system/kernel/motorola/msm8916/scripts/Makefile.build:308: recipe for target 'net/core/dst.o' failed
make[3]: *** [net/core/dst.o] Error 1
/home/arnabj/android/system/kernel/motorola/msm8916/scripts/Makefile.build:455: recipe for target 'net/core' failed
make[2]: *** [net/core] Error 2
/home/arnabj/android/system/kernel/motorola/msm8916/Makefile:830: recipe for target 'net' failed
make[1]: *** [net] Error 2
make[1]: *** Waiting for unfinished jobs....

After this I again the very 1st error I got last night on which you all suggested to update Linux Kernel.

What are these errors? Can you shed some light into them?
[Android] desalesouche:
did you have a look about the history of the file?

https://github.com/G620S-HUAWEI/android_kernel_huawei_msm8916/commits/indiN/kernel/sched/rt.c

https://github.com/G620S-HUAWEI/and...mmit/e7c647ff39000132ab6b329812d0f484ce3bd221
[Android] arnabJ:
I have fixed the issue in rt.c

The issue is this :

But the problem is that there's no such line in the file let alone at line number 441.

Line at line number 441 is :

#else
return ((a1->s6_addr32[0] ^ a2->s6_addr32[0]) |
(a1->s6_addr32[1] ^ a2->s6_addr32[1]) |
(a1->s6_addr32[2] ^ a2->s6_addr32[2]) |
(a1->s6_addr32[3] ^ a2->s6_addr32[3])) == 0; // this is line 441
#endif
[Android] shyvam:
I m compiling cm14 for condor

an getting these errors

errors

LD drivers/video/msm/mdss/built-in.o

LD drivers/video/msm/built-in.o

LD drivers/video/omap2/displays/built-in.o

LD drivers/video/omap2/built-in.o

CC drivers/video/cfbfillrect.o

CC lib/int_sqrt.o

CC lib/ioremap.o

CC drivers/video/cfbcopyarea.o

CC lib/irq_regs.o

CC lib/is_single_threaded.o

CC drivers/video/cfbimgblt.o

CC lib/klist.o

CC lib/kobject.o

LD drivers/video/fb.o

LD drivers/video/built-in.o

LD drivers/built-in.o

CC lib/kobject_uevent.o

CC lib/md5.o

CC lib/memory_alloc.o

CC lib/plist.o

CC lib/prio_heap.o

CC lib/prio_tree.o

CC lib/proportions.o

CC lib/radix-tree.o

CC lib/ratelimit.o

CC lib/rbtree.o

CC lib/reciprocal_div.o

CC lib/rwsem-spinlock.o

CC lib/sha1.o

CC lib/show_mem.o

CC lib/string.o

CC lib/timerqueue.o

CC lib/vsprintf.o

GEN lib/crc32table.h

CC lib/crc32.o

LD lib/built-in.o

AR lib/lib.a

LD vmlinux.o

MODPOST vmlinux.o

ERROR: modpost: Found 2 section mismatch(es).

To see full details build your kernel with:

'make CONFIG_DEBUG_SECTION_MISMATCH=y'

To build the kernel despite the mismatches, build with:

'make CONFIG_NO_ERROR_ON_MISMATCH=y'

(NOTE: This is not recommended)

make[2]: *** [vmlinux.o] Error 1

make[1]: *** [vmlinux.o] Error 2

make: *** [sub-make] Error 2

make: Leaving directory `/home/ubuntu/source/kernel/motorola/msm8610'

ninja: build stopped: subcommand failed.

make: *** [ninja_wrapper] Error 1

make: Leaving directory `/home/ubuntu/source'

should i add these CONFIG_DEBUG_SECTION_MISMATCH=y ---

CONFIG_DEBUG_SECTION_MISMATCH=y' lines to my defconfig

a small help will be appriciated...

edit:-found solution
[Android] surajsj:
Nice
[Android] NepoRood:
Fixed it How?

I'm getting a similar error building BlissRom Marshmallow for my quark. Here's what I've got, if anyone can shed some light:

Checking API: checkpublicapi-cm-last

Checking API: checkpublicapi-cm-current

prebuilts/cmsdk/api/6.txt:745: error 8: Removed public class cyanogenmod.platform.R.color

prebuilts/cmsdk/api/6.txt:749: error 8: Removed public class cyanogenmod.platform.R.dimen

prebuilts/cmsdk/api/6.txt:757: error 8: Removed public class cyanogenmod.platform.R.id

prebuilts/cmsdk/api/6.txt:765: error 8: Removed public class cyanogenmod.platform.R.layout

******************************

You have tried to change the API from what has been previously approved.

STOP.

Read this:

https://github.com/CyanogenMod/cm_p...n-API-for-the-SDK#updating--verifying-the-api

To make these errors go away, you have two choices:

1) You can add "@hide" javadoc comments to the methods, etc. listed in the

errors above.

2) You can update current.txt (locally) by executing the following command:

make update-cm-api

^^^^^^^^^^^^^^^^^^

CONGRATS YOU EARNED A STINKEYE FROM CID!

~Stink-eyed CID Removed~

To submit the revised current.txt to the main CyanogenMod repository,

you will need approval.

******************************

vendor/bliss/build/tasks/apicheck.mk:45: recipe for target '/home/nepo/android/bliss6/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp' failed

make: *** [/home/nepo/android/bliss6/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp] Error 38

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

make: Leaving directory '/home/nepo/android/bliss6'

#### make failed to build some targets (02:37:47 (hh:mm:ss)) ####

I tried to follow instructions for "making the errors go away", for #1 I have NFI what to do, and for #2 it made no difference to "make update-cm-api", still got same error.

Thanks,

Nepo
[Android] TimSchumi:
I'm trying to port CM 11 to the Sony Erricsson Live with Walkman (coconut), which I wanted to base off the CM 10.2 sources already uploaded on CyanogenMod GitHub. I already made some progress, but I can't resolve some Errors, so I'm asking you.

Error #1: libbluedroid intermediates

At first, every time I try to build the ROM, I get the following Error:

make: *** No rule to make target '/media/timschumi/Toshiba_2TB_1/development/cyanogenmod/cm-11.0/out/target/product/coconut/obj/SHARED_LIBRARIES/libbluedroid_intermediates/export_includes', needed by '/media/timschumi/Toshiba_2TB_1/development/cyanogenmod/cm-11.0/out/target/product/coconut/obj/SHARED_LIBRARIES/libfmrx_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

Full log here: http://pastebin.com/cnxdEamm

If I create the export_includes file manually, the build goes on, but I wanted to ask, how to instruct libbluedroid to generate a export_includes file

Error #2: missing header files

When continuing to build, I encounter the following Error:

hardware/ti/fmradio/fm_stack/MCP_Common/Platform/fmhal/os/fmc_os.c:40:33: fatal error: bluetooth/bluetooth.h: No such file or directory
compilation terminated.
build/core/binary.mk:512: recipe for target '/media/timschumi/Toshiba_2TB_1/development/cyanogenmod/cm-11.0/out/target/product/coconut/obj/SHARED_LIBRARIES/libfm_stack_intermediates/MCP_Common/Platform/fmhal/os/fmc_os.o' failed
make: *** [/media/timschumi/Toshiba_2TB_1/development/cyanogenmod/cm-11.0/out/target/product/coconut/obj/SHARED_LIBRARIES/libfm_stack_intermediates/MCP_Common/Platform/fmhal/os/fmc_os.o] Error 1
make: *** Waiting for unfinished jobs....

Full log here: http://pastebin.com/JHBpE8hT

I made sure the files requested are in the /usr/include directory, but it seems that the build process tampers with the include path.

Adding the files to kernel/semc/msm7x30/include also did not fix the problem. This also happens with some other header files (linux/msm_ion.h for example) requested by other modules, but I think I can resolve them myself after I know, how to resolve this kind of error. I didn't manage to capture a log of the other errors, because only this error appears now.

My device tree and other related files:

device/semc/coconut: http://www.github.com/TimSchumi/android_device_semc_coconut

device/semc/msm7x30-common: http://www.github.com/TimSchumi/android_device_semc_msm7x30-common

device/semc/mogami-common: http://www.github.com/TimSchumi/android_device_semc_mogami-common

kernel/semc/msm7x30: http://www.github.com/TimSchumi/semc-kernel-msm7x30

hardware/ti/fmradio: http://www.github.com/TimSchumi/android_hardware_ti_fmradio

hardware/somc/dash: http://www.github.com/CyanogenMod/android_hardware_sony_DASH (Notice: The path is correct)

When viewing the repositories, make sure to open up the cm-11.0 branch!

All other stuff is just the normal cm-11.0 repositories.

Thanks in advance for your help
[Android] kn06497:
Please need help is cm-10.1 [MENTION=5216756]jackeagle[/MENTION]

http://pastebin.com/zXPPFQF8

my device tree: https://github.com/kn06497/android_device_samsung_goldenvess3g
[Android] Tanuj97:
i bascially had to remove the pdk flag which i had added to remove the api check ....just removed it and bam it was solved
[Android] tschmid:
Does anybody know what to do if I encounter this Error:

MPL-mlsl: Cannot open file "/data/cal.bin" for read

Thanks in advance

Thomas

Gesendet von meinem Nexus 6P mit Tapatalk
[Android] Arvind7352:
It seems that all of your errors (Missing Header && Module) at last result in a missing repository

The missing repository is THIS to be synced to system/bluetooth

Its deprecated (removed) from cm-11.0 onwards, so you have to manually sync the repo I provided
[Android] TimSchumi:
Thanks :good:

EDIT: I'm now getting the same error with the dbus intermediates. I guess it is the same just with the CyanogenMod/android_external_dbus repository?
[Android] adityaupreti:
make update-api && make
[Android] INSPIRE-REX:
i m building cm14 for condor....

and getting these errors while compiling...zImage is ready but after that whiling compiling modules it says these errors

CC [M] drivers/staging/prima/CORE/WDI/TRP/CTS/src/wlan_qct_wdi_cts.o

CC [M] drivers/staging/prima/CORE/WDI/TRP/DTS/src/wlan_qct_wdi_dts.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_api.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_device.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_msg.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_packet.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_sync.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_timer.o

CC [M] drivers/staging/prima/CORE/WDI/WPAL/src/wlan_qct_pal_trace.o

LD [M] drivers/staging/prima/wlan.o

Building modules, stage 2.

MODPOST 2 modules

CC drivers/scsi/scsi_wait_scan.mod.o

CC drivers/staging/prima/wlan.mod.o

LD [M] drivers/scsi/scsi_wait_scan.ko

LD [M] drivers/staging/prima/wlan.ko

make: Leaving directory `/home/ubuntu/source/kernel/motorola/msm8610'

make: Entering directory `/home/ubuntu/source/kernel/motorola/msm8610'

INSTALL drivers/scsi/scsi_wait_scan.ko

INSTALL drivers/staging/prima/wlan.ko

DEPMOD 3.4.112-gf73c698-dirty

make: Leaving directory `/home/ubuntu/source/kernel/motorola/msm8610'

ninja: build stopped: subcommand failed.

make: *** [ninja_wrapper] Error 1

make: Leaving directory `/home/ubuntu/source'

tried to search on google but didnt get any solution...only 1 hope is you (devs)

please.

any help will be apriciated...

EDIT:=FIXED
[Android] arunmcops:
CM14 error

‘/home/arun/cm14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
packages/apps/AudioFX/tests/Android.mk:26: *** SIGNING MODIOFX WITH TEST KEY ***
./packages/apps/Settings/Android.mk:3: packages/apps/Settings/library.mk: No such file or directory
build/core/ninja.mk:163: recipe for target '/home/arun/cm14/out/build-cm_kenzo.ninja' failed
make: *** [/home/arun/cm14/out/build-cm_kenzo.ninja] Error 1

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/arun/cm14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
packages/apps/AudioFX/tests/Android.mk:26: *** SIGNING MODIOFX WITH TEST KEY ***
./packages/apps/Settings/Android.mk:3: packages/apps/Settings/library.mk: No such file or directory
build/core/ninja.mk:163: recipe for target '/home/arun/cm14/out/build-cm_kenzo.ninja' failed
make: *** [/home/arun/cm14/out/build-cm_kenzo.ninja] Error 1
[Android] iPanther:
After flashing the rom, the rom starts booting, and then before bootanim reboots into recovery. What do i do?

Edit - I compiled it myself with official sources
[Android] INSPIRE-REX:
i had same error

this happend beacause of latest changes by cm in packages/app/audiofx/test/android.mk

to fix this just remove this line "include $(LOCAL_PATH)/library.mk from your home/arun/cm14/Packages/Apps/Settings/Android.mk :good:
[Android] spookcity138:
Grab a log via adb to see why this is happening. Assuming you built a userdebug variant adb will be enabled at boot.
[Android] <CyberAnarchy>:
OK so i am building AOSP 7.0 for samsung gt n7100

AM getting this error

ninja: error: 'out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by 'out/target/common/obj/APPS/AdvancedDisplay_intermediates/with-local/classes.dex', missing and no known rule to make it

IDK why cyanogenmod popped up in aosp, checked through files and found no reference towards cyanogenmod.

Found a reply on this thread stating to download cm vendor and cmsdk and remove lines in android.mk pertaining to sdk. Though i am at a loss as to why i should download cm files in an aosp rom??? Nevertheless i gave it a try and got this error

make: *** No rule to make target '/.txt', needed by '/home/fayax/android/aosp-caf/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.

A solution offered was to sync the prebuilt cmsdk(which again i dont understand why it is needed in aosp)

But it didnt work.

Any help would be appreciated
[Android] iPanther:
Nothing shows up in the logcat while using adb -d logcat> log.txt
[Android] spookcity138:
Hmm,its possible there is nothing there. Are you starting the log from as soon as you boot your phone? If so you should provably get a "waiting for device" or similar. Just let it go and then Ctrl+c to stop and hopefully you'll get something. If that's already what you're doing or that doesn't work then maybe it is just unable to get it. Good luck!
[Android] iPanther:
I've tried it a few times already, and yeah i've been getting the "waiting for device" message. But the logcat doesnt show anything.
[Android] spookcity138:
Are you stopping it with Ctrl+c? If so then I don't know. Maybe someone else has a better idea.
[Android] iPanther:
Yep, been stopping it with ctrl + C, still no luck :/
[Android] Arvind7352:
AOSP doesn't need that. But one of your Device Repos need it.

Goto hardware/samsung and remove the folder 'AdvancedDisplay' (AdvancedDisplay needs the CMSDK). It's unnecessary unless you want to make it work which is a secondary task (You can get these stuff working later too).
[Android] adityaupreti:
very simple

cd packages/apps/Settings

git fetch http://review.cyanogenmod.org/CyanogenMod/android_packages_apps_Settings refs/changes/92/161292/1 && git cherry-pick FETCH_HEAD
[Android] somadsul:
Trying CM 13 but stuck here since a week

***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
/home/som/extra/cm13/kernel/samsung/exynos5422/scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
make[4]: *** [silentoldconfig] Error 1
/home/som/extra/cm13/kernel/samsung/exynos5422/Makefile:517: recipe for target 'silentoldconfig' failed
make[3]: *** [silentoldconfig] Error 2
Import includes file: /home/som/extra/cm13/out/target/product/k3gxx/obj/STATIC_LIBRARIES/libfusesideload_intermediates/import_includes
make[2]: *** No rule to make target 'include/config/auto.conf', needed by 'scripts'. Stop.
make[2]: *** Waiting for unfinished jobs....
Makefile:131: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/som/extra/cm13/kernel/samsung/exynos5422'
device/samsung/k3gxx/mkdtbhbootimg.mk:5: recipe for target 'TARGET_KERNEL_DTBS' failed
make: *** [TARGET_KERNEL_DTBS] Error 2
make: *** Waiting for unfinished jobs....

Here is my defconfig file

kernel/samsung/exynos5422/arch/arm/exynos5422-k3g_00_defconfig

& This is the boardconfig kernel contents

BOARD_CUSTOM_BOOTIMG_MK := device/samsung/k3gxx/mkdtbhbootimg.mk
BOARD_CUSTOM_MKBOOTIMG := mkdtbhbootimg
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x11000000 --tags_offset 0x10000100
BOARD_MKBOOTIMG_ARGS += --dt_dir $(OUT)/obj/KERNEL_OBJ/arch/arm/boot/dts/
TARGET_KERNEL_SOURCE := kernel/samsung/exynos5422
TARGET_KERNEL_CONFIG := exynos5422-k3g_00_defconfig
BOARD_KERNEL_BASE := 0x10000000
BOARD_KERNEL_PAGESIZE := 2048

Can some one help me please
[Android] <CyberAnarchy>:
Yeah i know aosp doesnt need that . Thats why i was so confused.

I just found out about the advanced display sometime ago. But apparently i had changed the wrong file(dumb me).

Thanks for your help! (although now ninja is going haywire force quitting at random steps)
[Android] spookcity138:
Have you tried doing what it says at the beginning? Running make menuconfig to generate a .config.
[Android] somadsul:
Yes I have tried & .config file is present in kernel directory

but same error

---------- Post added at 12:14 PM ---------- Previous post was at 12:06 PM ----------

might [MENTION=5991747]neonkat[/MENTION] can help
[Android] <CyberAnarchy>:
Can anyone please help me out with this error:

[ 0% 5/24895] Copy: out/target/product/n7100/kernel
acp: omitting directory 'kernel/samsung/smdk4412'
[ 0% 6/24895] build out/target/produc...bj/ETC/sepolicy_intermediates/sepolicy
FAILED: /bin/bash -c "(out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy.tmp out/target/product/n7100/obj/ETC/sepolicy_intermediates/policy.conf ) && (out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/n7100/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit out/target/product/n7100/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ]; then	echo \"==========\" 1>&2;	echo \"ERROR: permissive domains not allowed in user builds\" 1>&2;	echo \"List of invalid domains:\" 1>&2;	cat out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2;	exit 1; fi ) && (mv out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy.tmp out/target/product/n7100/obj/ETC/sepolicy_intermediates/sepolicy )"
device/samsung/smdk4412-common/selinux/macloader.te:6:ERROR 'unknown type efs_device_file' at token ';' on line 20380:
allow macloader efs_device_file:dir search;
allow macloader efs_file:dir search;
checkpolicy: error(s) encountered while parsing configuration
out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/n7100/obj/ETC/sepolicy_intermediates/policy.conf
[ 0% 6/24895] target thumb C++: init <= system/core/init/builtins.cpp
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

I am kinda perplexed. Also why did it suddenly omit kernel :eek:

Building : AOSP 7 Device: GTN7100

PS: Why does ninja not reusume building from point of error? Or is there a way to resume and im unaware? Its just that its irritating to build over again after every error
[Android] nicesoni_ash:
How to add a custom text e.g. "unofficial" automatically to the zip name after a build finished?

Sent from my "1+2" powered by Unofficial RR

Compiled by myself.
[Android] NepoRood:
Each ROM my be a little different, but for BlissRom it's: vendor/bliss/config/versions.mk

If using RR, I would look for something similar...

---------- Post added at 11:18 AM ---------- Previous post was at 11:16 AM ----------

I thought for a bit that it was going to finish the build, but I ended up with same error :confused:
[Android] spookcity138:
Build/core/version_defaults.mk in some ROMS.
[Android] nicesoni_ash:
Unfortunately none of these locations helped. Thanks though. :)
[Android] desalesouche:
cm-14.0 staging

hi all may i request some help fixing those camera folder errors?

http://xdaforums.com/showpost.php?p=68609677&postcount=728

device tree : https://github.com/CyanogenMod/android_device_huawei_msm8916-common/tree/cm-13.0/camera

thank you.
[Android] <CyberAnarchy>:
Anyone here having experience building aosp nougat?

If so then please help me out

ninja: error: 'out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by 'out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1

There have been a plethora of errors so far, but this i cant solve at all. Nothing on google too.

Any help would be much appreciated

Edit: infact occuring with all pacckages now