ads

Affichage des articles dont le libellé est Compiling. Afficher tous les articles
Affichage des articles dont le libellé est Compiling. Afficher tous les articles

jeudi 10 septembre 2015

Build Error ( En Compiling )



Hie guys can anyone please help I folked all The CM Repos to build for Z3 and when i compile i get the below error
What Am I missing ?
This the folder where the error comes from
https://github.com/EuphoriaOS/androi...msm8974-common


Code:


Install: /home/blaquesoul/android/eos/out/target/product/z3/system/xbin/memtrack_share
target Executable: rawbu (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/rawbu_intermediates/LINKED/rawbu)
target Executable: showmap (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/showmap_intermediates/LINKED/showmap)
target Strip: tcpdump (/home/blaquesoul/android/eos/out/target/product/z3/obj/EXECUTABLES/tcpdump_intermediates/tcpdump)
Target boot image: /home/blaquesoul/android/eos/out/target/product/z3/boot.img
cp: missing destination file operand after '/home/blaquesoul/android/eos/out/target/product/z3/combinedroot/sbin/'
Try 'cp --help' for more information.
device/sony/msm8974-common/boot/custombootimg.mk:17: recipe for target '/home/blaquesoul/android/eos/out/target/product/z3/boot.img' failed
make: *** [/home/blaquesoul/android/eos/out/target/product/z3/boot.img] Error 1
make: *** Waiting for unfinished jobs....
 
#### make failed to build some targets (49:14 (mm:ss)) ####





mardi 8 septembre 2015

Compiling kernel issue



im trying to compile a stock lollipop sprint samsung note 2 kernel but its throwing an error. I thought it was just another "file not found error" (like the numerous ones that dont stop it from compiling) but it stops compiling so i look and i see that the file is right where it should be. the error is this
CC drivers/video/msm/mdss/logo.o
CC drivers/video/msm/mdss/mdss_samsung_tft_video_dual_dsi_panel.o
CC drivers/video/msm/mdss/LP8556-backlight.o
CC drivers/video/msm/mdss/msm_mdss_io_8974.o
CC drivers/video/msm/mdss/mdss_mdp.o
In file included from drivers/video/msm/mdss/mdss_mdp_trace.h:255:0,
from drivers/video/msm/mdss/mdss_mdp.c:60:
include/trace/define_trace.h:79:43: fatal error: ./mdss_mdp_trace.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/video/msm/mdss/mdss_mdp.o] Error 1
make[3]: *** [drivers/video/msm/mdss] Error 2
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

I thought mabye it was an issue in the file "mdss_mdp_trace.h" so i looked for anything out of the ordinary and tried even giving full paths to called files which resulted in nothing.
i thought it might be a pointer issue to the actual file mdss_mdp_trace.h so i did "grep -r " to search for all files with the string containing "mdss_mdp_trace.h" and made sure they were naming and calling it correctly aaaaand nothing.
last i thought mabye its define_trace.h but i couldn't find anything when looking at it. I do not program in C so mabye i am missing something because at line 79 i see
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
which isn't color coded is this calling a function? idk where to look.

i got the most recent kernel source sm-n900p from the samsung website ide link but i am a new xda member.

why is it that of the 5 kernel sources (either cyanogenmod or stock) I got for 2 different devices don't even work either by some obscure error
or the most common "file not found" why don't they test it to make sure it compiles before they zip it up for download because these are not
environment based errors. This really frustrates me. And if you download and try it and it compiles then i will truely be baffled.



lundi 31 août 2015

Error compiling Android Studio



I was translating an app and I did everything right ...

Decompile the apk
Translate app (res / values / string.xml)
And I compile again

But now the time to compile the following error appears "ERROR: Android Generator Source: [project] Package is not specified in AndroidManifest.xml"

What to do? I did not change anything beyond the translation.



AOSP based rom compiling for specific devices



I am basically a noob when it comes to building/compiling. I basically want to know if it would be possible to create an OS for my phone based on AOSP without too much work.

Total noob idea; maybe combining a zip from a custom rom/ normal firmware, and the AOSP code?



samedi 29 août 2015

Need Help Geeting Error While Compiling....?



Well guys i started working on Roms For the galaxysmtd i was compling normaly after an hour i got that error (Luckywise i didnt go to sleep haha)


Code:


make: *** No rule to make target '/home/dos-developers/android/omni/out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libpac_intermediates/export_includes', needed by '/home/dos-developers/android/omni/out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libjni_pacprocessor_intermediates/import_includes'.  Schluss.


I synced the OmniROM sources freshly ....... Need Help thanks



[Q] Error while compiling a ROM.



I'm getting this error while compiling a CM12 based ROM.

Code:


frameworks/native/libs/ui/GraphicBufferMapper.cpp:52:43: error: definition of implicitly-declared 'android::GraphicBufferMapper::~GraphicBufferMapper()'
GraphicBufferMapper::~GraphicBufferMapper();


There is a "^" under the "()" symbol.
The code is as follows (note: It is a shortened code as the whole code is huge).

Code:


ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferMapper )

GraphicBufferMapper::GraphicBufferMapper()
    : mAllocMod(0)
{
    hw_module_t const* module;
    int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
    ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
    if (err == 0) {
        mAllocMod = (gralloc_module_t const *)module;
    }
}

#ifdef MTK_MT6589
GraphicBufferMapper::~GraphicBufferMapper()            //ERROR IN THIS LINE
{
    gralloc_extra_close(mExtraDev);
}
#endif





[Q] Compiling nls_utf8.ko kernel module for MI3



Here is the source code: ht-tps://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/cancro-kk-oss
path: fs/nls/nls_utf8.c
I have no idea about building kernel, hope someone can help



jeudi 27 août 2015

[HELP] Android kernel compiling error.



Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).
I always get this error message, i don't know how to solve it. Please help me !
Thank you all!
__________________________________________________ ______
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
vip7009pro@vip7009pro-Inspiron-3542:~/Kernel2$ make mrproper
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2

_________________________________________



[HELP] Android kernel compiling error.



Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).
I always get this error message, i don't know how to solve it. Please help me !
Thank you all!
__________________________________________________ ______
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
vip7009pro@vip7009pro-Inspiron-3542:~/Kernel2$ make mrproper
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2

_________________________________________