make error - Galaxy Grand 2 Q&A, Help & Troubleshooting

im porting ubuntu touch on ms013g and when im building system image i getting error
make: *** No rule to make target '/home/shigenta/halium/out/target/product/ms013g/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/home/shigenta/halium/out/target/product/ms013g/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Symlink: /home/shigenta/halium/out/target/product/ms013g/recovery/root/sbin/mkfs.exfat -> mount.exfat
make: Leaving directory '/home/shigenta/halium'
Click to expand...
Click to collapse
Help me fix it

Related

[SOLVED] Help compiling kernel?

Wondering if someone can help? I'm trying to compile the CM kernel.
I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
http://marcofalchi.blogspot.co.uk/2013/11/fedora-20-compile-cyanogenmod-110-part-1.html
I'm using this guide to build the kernel:
http://forum.xda-developers.com/showthread.php?t=1748297
However no matter what toolchain I use, I get the following error:
Code:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/exec_domain.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Can anyone shed any light? I've also tried compiling ayysir's kernel with the same result.
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.
dougiebee said:
Wondering if someone can help? I'm trying to compile the CM kernel.
I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
http://marcofalchi.blogspot.co.uk/2013/11/fedora-20-compile-cyanogenmod-110-part-1.html
I'm using this guide to build the kernel:
http://forum.xda-developers.com/showthread.php?t=1748297
However no matter what toolchain I use, I get the following error:
Code:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/exec_domain.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Can anyone shed any light? I've also tried compiling ayysir's kernel with the same result.
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.
Click to expand...
Click to collapse
For future reference only! Here is the solution: Solution
kostoulhs said:
For future reference only! Here is the solution: Solution
Click to expand...
Click to collapse
OR https://github.com/CyanogenMod/andr...fc90dab#diff-0d7cf45734954beb174f815cd5fd45b7

Error building on OSX 10.8.5

Hi,
I have a problem building the Android FS on OSX 10.8.5,
I made a case-sensitive FS, and brewed the required packages from the different tutorials,
The problem is more OS related:
Code:
target arm C++: libwebrtc_apm <= out/target/product/generic/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_cpu.so -> ./libbltsville_ticpu.so
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Install: out/host/darwin-x86/bin/minigzip
cp: the -R and -r options may not be specified together.
make: *** [out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so'
make: *** Waiting for unfinished jobs....
28996-MBP:mydroid kbenshim$
Anyhelp?

Compile kernel

Is this guide enough for making kernel for android: http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
Not really.
http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
Even this one you should look at as a advertisement for a good book that is free.
You need to read that book along side with going truth complete source on your git to get to know infrastructure & only after that you can go ahead with device specific not to get stuck to much & truly knowing what are you doing. When you do those two you are ready for costimizing & porting naturally counting on that you have a basic coding knowledge all redy. No shortcuts there.
I have problem.I am using linaro-arm-eabi-4.9.When I execute command -j3 it says:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC scripts/mod/empty.o
/opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 2
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:510: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
CC kernel/bounds.s
/opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:990: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
@Pavlex4
You need to set the correct path to the tool chain in the makefile
Best Regards

Error when building cm13

can anyone help me i got this error when building cm13 for the op2:
[email protected]:~/cm$ brunch oneplus2
make: *** No rule to make target '/home/aaron/cm/out/target/product/oneplus2/obj/STATIC_LIBRARIES/libinit_msm_intermediates/libinit_msm.a', needed by '/home/aaron/cm/out/target/product/oneplus2/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.
make: *** Waiting for unfinished jobs....
target C: libz <= external/zlib/src/zutil.c

Roms and device tree

I'm looking for a device tree and maybe some help as I want to build lineage or RR for this device
For the people that is unlocked.it should work on any device but I'll need trees I have ta1000 and 1025.any others I can get (device trees) to bring on development.
1021 is the EU tree...but didnt know where to get it
Gesendet von meinem TA-1021 mit Tapatalk
You can start with kernel, sources are open.
Can not use the files from system.img for rom ?
You can use mine : https://github.com/NokiaCustoms
pirrat25 said:
You can use mine : https://github.com/NokiaCustoms
Click to expand...
Click to collapse
Thank you imma try building something
RomLord14495 said:
Thank you imma try building something
Click to expand...
Click to collapse
Have you build anything successful? Could you share it?
I need help!!!
I'm trying to compile Nokia 6 kernel. But I stuck in this error. I'm learning to compile Kernel source. Please help me!
PHP:
[email protected]:/home/levu/Desktop/LINUX/android/kernel# make -j2
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
LD drivers/usb/gadget/libcomposite.o
CC drivers/usb/gadget/android.o
CC drivers/video/fbdev/msm/../../msm/msm_dba/msm_dba.o
In file included from drivers/usb/gadget/android.c:47:0:
./drivers/usb/gadget/function/f_midi.c:35:17: fatal error: u_f.h: No such file or directory
#include "u_f.h"
^
compilation terminated.
make[3]: drivers/video/fbdev/msm/../../msm/msm_dba/msm_dba.c:25:30: fatal error: msm_dba_internal.h: No such file or directory
#include <msm_dba_internal.h>
^
compilation terminated.
*** [drivers/usb/gadget/android.o] Error 1
make[2]: *** [drivers/usb/gadget] Error 2
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
make[6]: *** [drivers/video/fbdev/msm/../../msm/msm_dba/msm_dba.o] Error 1
make[5]: *** [drivers/video/fbdev/msm/../../msm/msm_dba] Error 2
make[4]: *** [drivers/video/fbdev/msm/../../msm] Error 2
make[3]: *** [drivers/video/fbdev/msm] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/video/fbdev] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
[email protected]:/home/levu/Desktop/LINUX/android/kernel#
Elvaa said:
I need help!!!
I'm trying to compile Nokia 6 kernel. But I stuck in this error. I'm learning to compile Kernel source. Please help me!
PHP:
[email protected]:/home/levu/Desktop/LINUX/android/kernel# make -j2
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
LD drivers/usb/gadget/libcomposite.o
CC drivers/usb/gadget/android.o
CC drivers/video/fbdev/msm/../../msm/msm_dba/msm_dba.o
In file included from drivers/usb/gadget/android.c:47:0:
./drivers/usb/gadget/function/f_midi.c:35:17: fatal error: u_f.h: No such file or directory
#include "u_f.h"
^
compilation terminated.
make[3]: drivers/video/fbdev/msm/../../msm/msm_dba/msm_dba.c:25:30: fatal error: msm_dba_internal.h: No such file or directory
#include <msm_dba_internal.h>
^
compilation terminated.
*** [drivers/usb/gadget/android.o] Error 1
make[2]: *** [drivers/usb/gadget] Error 2
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
make[6]: *** [drivers/video/fbdev/msm/../../msm/msm_dba/msm_dba.o] Error 1
make[5]: *** [drivers/video/fbdev/msm/../../msm/msm_dba] Error 2
make[4]: *** [drivers/video/fbdev/msm/../../msm] Error 2
make[3]: *** [drivers/video/fbdev/msm] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/video/fbdev] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
[email protected]:/home/levu/Desktop/LINUX/android/kernel#
Click to expand...
Click to collapse
You need to make those directorys
Rom nokia 6 TA 1003 ( .nb0 )
DJxSpeedy said:
1021 is the EU tree...but didnt know where to get it
Gesendet von meinem TA-1021 mit Tapatalk
Click to expand...
Click to collapse
Friend, I need the rom, nokia 6 TA-1003 (.nb0) I searched the internet, I could not find, you can indicate a link, thank you.:confuso:

Categories

Resources