http://pastebin.com/8PpeeCc1
Code:
hardware/qcom/display-caf/msm8916/libhwcomposer/hwc_qclient.cpp: In function 'bool qClient::updateDisplayBWCapForCam(bool)':
hardware/qcom/display-caf/msm8916/libhwcomposer/hwc_qclient.cpp:375:19: error: 'MDSS_MAX_BW_LIMIT_CAMERA' was not declared in this scope
bw_flag = MDSS_MAX_BW_LIMIT_CAMERA;
^
build/core/binary.mk:730: recipe for target '/home/minz1/cyandroid/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/hwcomposer.msm8916_intermediates/hwc_qclient.o' failed
make: *** [/home/minz1/cyandroid/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/hwcomposer.msm8916_intermediates/hwc_qclient.o] Error 1
Kernel Config
https://github.com/minz1/android_kernel_samsung_j7ltespr
It'd be great if someone helped me out with this problem, I can't figure out what causes this. The kernel is straight from samopensource, so I don't know if I need anything edited or what...
Just remove that line with if clause ..
Most probably the three lines one above and below the MDSS_MAX_BW_LIMIT ..
Just wait I wil send u the screenshot
Sent from my KIW-L22 using Tapatalk
Related
I am trying to compile a kernel for my device(kyleprods or GT-S7582 or Galaxy S duos 2) because I havent found any custom kernel out here. Im compiling from source. I tried compiling WITHOUT any tweaks or such, just plain compile after downloading the source, and it compiled successfully. I tried adding smartassv2 but I got these errors after running "make -j1" twice. Can anybody help/guide me? It is really my first time doing these things, because I'm very interested.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
Creating rdb link for Hawaii
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/cpufreq/cpufreq_smartass2.o
drivers/cpufreq/cpufreq_smartass2.c:175:10: error: ‘THIS_MODULE’ undeclared here (not in a function)
.owner = THIS_MODULE,
^
drivers/cpufreq/cpufreq_smartass2.c: In function ‘cpufreq_smartass_timer’:
drivers/cpufreq/cpufreq_smartass2.c:295:1: error: implicit declaration of function ‘cputime64_sub’ [-Werror=implicit-function-declaration]
delta_idle = cputime64_sub(now_idle, this_smartass->time_in_idle);
^
drivers/cpufreq/cpufreq_smartass2.c: At top level:
drivers/cpufreq/cpufreq_smartass2.c:869:16: error: expected declaration specifiers or ‘...’ before string constant
MODULE_AUTHOR ("Erasmux");
^
drivers/cpufreq/cpufreq_smartass2.c:870:21: error: expected declaration specifiers or ‘...’ before string constant
MODULE_DESCRIPTION ("'cpufreq_smartass2' - A smart cpufreq governor");
^
drivers/cpufreq/cpufreq_smartass2.c:871:17: error: expected declaration specifiers or ‘...’ before string constant
MODULE_LICENSE ("GPL");
^
cc1: some warnings being treated as errors
make[2]: *** [drivers/cpufreq/cpufreq_smartass2.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2
SORRY I DONT KNOW WHERE TO POST.
diskie said:
I am trying to compile a kernel for my device(kyleprods or GT-S7582 or Galaxy S duos 2) because I havent found any custom kernel out here. Im compiling from source. I tried compiling WITHOUT any tweaks or such, just plain compile after downloading the source, and it compiled successfully. I tried adding smartassv2 but I got these errors after running "make -j1" twice. Can anybody help/guide me? It is really my first time doing these things, because I'm very interested.
-snip-
Click to expand...
Click to collapse
Part of the errors can be fixed by adding:
#include <linux/module.h>
at the top. I don't know about the rest, but @xpirt or @InfinityShooter once fixed this problem for the desire x, perhaps he can help? I want to know it myself as well
@diskie
https://github.com/ProtoU/neXusKERNEL/commit/8c77e8a4b1962bb6fbb41732aba5ded40007876a
Look in drivers/cpufreq/cpufreq_ondemand.c and include/linux/cpufreq.h for fix
xpirt
xpirt said:
@diskie
https://github.com/ProtoU/neXusKERNEL/commit/8c77e8a4b1962bb6fbb41732aba5ded40007876a
Look in drivers/cpufreq/cpufreq_ondemand.c and include/linux/cpufreq.h for fix
xpirt
Click to expand...
Click to collapse
Thanks a lot :good:
First of all, i am sorry in advance for posting in the wrong section if i did so.
Second, i am facing these errors when building AOSP :
Code:
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C++: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/loc.cpp
target thumb C: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/gps.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
Can anyone help me here ? I am pretty new with ROM compiling stuff, so please be kind . I am trying to learn.
A question :Can i just modify includes for copybit_c2d.cpp and get passed of this error ? I think it will work, but i may have ROM problems afterwards. -- Tried, won't work. I get "not declared in this scope errors, which is normal".I am trying to compile for Xperia Z2, on Mint 17 64bit.
Thanks!
Costinutz32 said:
First of all, i am sorry in advance for posting in the wrong section if i did so.
Second, i am facing these errors when building AOSP :
Code:
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C++: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/loc.cpp
target thumb C: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/gps.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
Can anyone help me here ? I am pretty new with ROM compiling stuff, so please be kind . I am trying to learn.
A question :Can i just modify includes for copybit_c2d.cpp and get passed of this error ? I think it will work, but i may have ROM problems afterwards. -- Tried, won't work. I get "not declared in this scope errors, which is normal".I am trying to compile for Xperia Z2, on Mint 17 64bit.
Thanks!
Click to expand...
Click to collapse
As the error says,one of the header files required to create the .o or the object file is missing. Trying searching the file on Google and add it to required folder and #include it to your .c/.c++ program.
Good luck.
guys im getting this error when building any help here cause im a complete newbie.
from this guide
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
Code:
PRODUCT_COPY_FILES device/sony/sirius/rootdir/system/etc/libnfc-nxp.conf:system/etc/libnfc-nxp.conf ignored.
No private recovery resources for TARGET_DEVICE sirius
No recovery.fstab for TARGET_DEVICE sirius
make: *** No rule to make target `–j'. Stop.
#### make failed to build some targets (38 seconds) ####
Now when i repo sync it gives me this error:
error: hardware/libhardware/: platform/hardware/libhardware checkout 628ce4aedaa03d989ac403df533448cd78e701f7
EDIT:i searched online and somehow got past the error but now im getiing this error
Code:
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/nfc/include/nfc_api.h:32,
from external/libnfc-nci/src/nfa/include/nfa_api.h:32,
from packages/apps/Nfc/nci/jni/NativeLlcpConnectionlessSocket.cpp:26:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpConnectionlessSocket.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/include/NfcAdaptation.h:24,
from packages/apps/Nfc/nci/jni/NativeLlcpServiceSocket.cpp:19:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpServiceSocket.o] Error 1
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( iS>iBestScore ){
^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
int iS;
^
#### make failed to build some targets (03:21 (mm:ss)) ####
never mind i some how got it to work and i built aosp and flashed it and it BOOTS !!.
have you concidered PMming Pabx or Krabappel2548
these two xda users may know where i do not
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Der-WU said:
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Click to expand...
Click to collapse
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Doesn't work for me
Farooq95 said:
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Click to expand...
Click to collapse
Hi
I am stuck at the same point. Didn't get it working even after running repo forall -vc....
Please help
Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
adityaupreti said:
Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
Click to expand...
Click to collapse
Try these
http://review.cyanogenmod.org/129427
and
http://review.cyanogenmod.org/129496
LG g flex
Hi can i get help with my LG g flex at&t.I need to upgrade firmware.to unlocked my phone.i can't put my unlocked code in.Thanks paul
Hi Aditya Have you solved this???
I am also stuck here for G900H
Hello all. First I must apologize to the moderators if theres a better place for this question. I looked but couldn't find a place for code compiling.
I'm trying to compile cyanogenmod 12 from source. I had to copy a copy of default.xml to a different location to get the compilation to start.
I got no fatal errors till an hour and a half in where I get this...
Code:
target arm C: zip <= external/zip/src/trees.c
make: *** No rule to make target 'vendor/lge/e980/proprietary/lib/hw/camera.msm8960.so', needed by '/root/android/system/out/target/product/e980/system/lib/hw/camera.msm8960.so'. Stop.
make: *** Waiting for unfinished jobs....
target arm C: zip <= external/zip/src/unix/unix.c
external/zip/src/unix/unix.c: In function 'filetime':
external/zip/src/unix/unix.c:436:3: warning: pointer targets in passing argument 1 of 'unix2dostime' differ in signedness [-Wpointer-sign]
return unix2dostime(&s.st_mtime);
^
In file included from external/zip/src/unix/unix.c:14:0:
external/zip/src/unix/../zip.h:695:8: note: expected 'time_t *' but argument is of type 'long unsigned int *'
ulg unix2dostime OF((time_t *));
^
make: Leaving directory '/root/android/system'
#### make failed to build some targets (01:27:25 (hh:mm:ss)) ####
Can anyone please tell me whats wrong?
I'm 3 days into this and i feel like I'm getting real close.
Please let me know if theres any info I can provide.
Thanx in advance....