anyone can help solving this error - Nexus 4 Q&A, Help & Troubleshooting

Hey , huys im try to compile cm 13 onb my own but im facing this error anyone can help solving it ?
No private recovery resources for TARGET_DEVICE mako
make: Entering directory `/root/android/system'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so)
make: *** [/root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** Waiting for unfinished jobs....
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so)
make: *** [/root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 1
make: *** wait: No child processes. Stop.
thanks in advance

ubuntu 14.04?
sudo apt-get update
sudo apt-get install libc6
or try:
sudo su
sudo apt-get upate
sudo apt-get upgrade
:good:

nope debian 8 but ill try
txuki2005 said:
ubuntu 14.04?
sudo apt-get update
sudo apt-get install libc6
or try:
sudo su
sudo apt-get upate
sudo apt-get upgrade
:good:
Click to expand...
Click to collapse
nope its debian 8 but letme see if i can intstall ubuntu to that server

Ubuntu did the trick now the compiling stops on a busybox error

HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
/root/android/system/external/busybox/scripts/basic/split-include.c: In function 'main':
/root/android/system/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
HOSTCC scripts/kconfig/conf.o
/root/android/system/external/busybox/scripts/kconfig/conf.c: In function 'conf_askvalue':
/root/android/system/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
/root/android/system/external/busybox/scripts/kconfig/conf.c: In function 'conf_choice':
/root/android/system/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
HOSTCC scripts/kconfig/kxgettext.o
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/root/android/system/external/busybox/scripts/kconfig/mconf.c: In function 'show_textbox':
/root/android/system/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
/root/android/system/external/busybox/scripts/kconfig/mconf.c: In function 'exec_conf':
/root/android/system/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
HOSTCC applets/applet_tables
/root/android/system/external/busybox/applets/usage.c: In function 'main':
/root/android/system/external/busybox/applets/usage.c:52:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array.usage, strlen(usage_array.usage) + 1);
^
/root/android/system/external/busybox/applets/applet_tables.c: In function 'main':
/root/android/system/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line_old, sizeof(line_old), fp);
^
GEN include/bbconfigopts.h
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/root/android/system/external/busybox'
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: Leaving directory `/root/android/system'
#### make failed to build some targets (03:40 (mm:ss)) ####

well just retried command brunch mako now it gives me some green lines and host C: so i think its compiling

Related

Kernel Building

I need help building the Kernel, I am learning to do this stuff on the fly so please bear with me.
I have everything installed that I need to, and everything set up.
Code:
$ make ARCH=arm CROSS_COMPILE=~/android/toolchain-4.6.3/bin -j4
Traceback (most recent call last):
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 107, in <module>
status = run_gcc()
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 97, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC scripts/mod/empty.o
scripts/kallsyms.c: In function ‘read_symbol’:
scripts/kallsyms.c:125:2: warning: array subscript has type ‘char’
scripts/kallsyms.c:135:2: warning: array subscript has type ‘char’
scripts/conmakehash.c: In function ‘getunicode’:
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:42:7: warning: array subscript has type ‘char’
scripts/conmakehash.c:42:7: warning: array subscript has type ‘char’
Traceback (most recent call last):
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 107, in <module>
status = run_gcc()
File "/home/Brandon/android/Kernel/scripts/gcc-wrapper.py", line 97, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/Makefile.build:305: recipe for target `scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:441: recipe for target `scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:513: recipe for target `scripts' failed
make: *** [scripts] Error 2
It's giving me this every time. I pulled /proc/config.gz and extracted the .config
This is the stock kernel with stock config. What is wrong?
Even "make modules" is giving errors

[Q] Carbon build errors

I understand that this isn't a thread for CarbonRom, but there is none. Usually I've been content with just searching around the internet, and XDA to fix all of my problems, but I honestly could not find anything for this.
Code:
[email protected]:~/carbon$ make -j2 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CARBON_VERSION=
TARGET_PRODUCT=p769
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-27-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/seyi/carbon/out
============================================
/home/seyi/carbon/out/target/product/p769/obj/APPS/SignatureTest_intermediates
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/camera.omap4.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/hw/nfc.default.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libmm_osal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libmm_osal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX_Core.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX_Core.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libion.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libion.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libtiutils.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libtiutils.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libdomx.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libdomx.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/Makefile:44: warning: overriding commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/seyi/carbon/out/target/product/p769/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES frameworks/base/data/keyboards/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
No private recovery resources for TARGET_DEVICE p769
make -C kernel/lge/lge-kernel-omap4 O=/home/seyi/carbon/out/target/product/p769/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/seyi/carbon/prebuilts/misc/linux-x86/ccache/ccache /home/seyi/carbon/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p769_defconfig
make[1]: Entering directory `/home/seyi/carbon/kernel/lge/lge-kernel-omap4'
target thumb C: libbusybox <= external/busybox/libbb/lineedit.c
GEN /home/seyi/carbon/out/target/product/p769/obj/KERNEL_OBJ/Makefile
target thumb C: libbusybox <= external/busybox/procps/ps.c
target thumb C: libbusybox <= external/busybox/util-linux/volume_id/get_devname.c
Target buildinfo: /home/seyi/carbon/out/target/product/p769/system/build.prop
Target buildinfo from: device/lge/p769/system.prop
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:111:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:263:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected identifier before '<<' token
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected ',' or '...' before '<<' token
frameworks/base/include/androidfw/AssetManager.h:109:1: error: expected unqualified-id before '==' token
frameworks/base/include/androidfw/AssetManager.h:111:1: error: expected unqualified-id before '>>' token
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:259:1: error: expected unqualified-id before '<<' token
frameworks/base/include/androidfw/AssetManager.h:263:1: error: expected unqualified-id before '>>' token
frameworks/base/include/androidfw/AssetManager.h: In constructor 'android::AssetManager::asset_path::asset_path()':
frameworks/base/include/androidfw/AssetManager.h:262:24: error: class 'android::AssetManager::asset_path' does not have any field named 'pkgIdOverride'
In file included from frameworks/base/tools/aapt/AaptAssets.h:11:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/ResourceTypes.h: At global scope:
frameworks/base/include/androidfw/ResourceTypes.h:1604:10: error: 'bool android::ResTable::isResTypeAllowed(char const*) const' cannot be overloaded
frameworks/base/include/androidfw/ResourceTypes.h:1602:10: error: with 'bool android::ResTable::isResTypeAllowed(char const*) const'
make: *** [/home/seyi/carbon/out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
make: *** Waiting for unfinished jobs....
#
# configuration written to .config
#
make[1]: Leaving directory `/home/seyi/carbon/kernel/lge/lge-kernel-omap4'
Can someone please help me understand how to fix this error?
dragid10 said:
Can someone please help me understand how to fix this error?
Click to expand...
Click to collapse
You have code conflict markup garbage in frameworks/base/include/androidfw/AssetManager.h:
frameworks/base/include/androidfw/AssetManager.h:111:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:263:9: error: invalid suffix "d8929cc8485ca896dde2493cbe3ea65eb9c197" on integer constant
In file included from frameworks/base/tools/aapt/AaptAssets.h:10:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected identifier before '<<' token
frameworks/base/include/androidfw/AssetManager.h:107:1: error: expected ',' or '...' before '<<' token
frameworks/base/include/androidfw/AssetManager.h:109:1: error: expected unqualified-id before '==' token
frameworks/base/include/androidfw/AssetManager.h:111:1: error: expected unqualified-id before '>>' token
Click to expand...
Click to collapse
You must do a code cleanup starting with line 107 (<<<<<< HEAD).
Always read your compiler output.
chasmodo said:
You have code conflict markup garbage in frameworks/base/include/androidfw/AssetManager.h:
You must do a code cleanup starting with line 107 (<<<<<< HEAD).
Always read your compiler output.
Click to expand...
Click to collapse
Alright how will i do this? And what can i use to open that file?
I actually do not know any java. Is there something i can use to help me?
EDIT: nvm opens up perfectly with gedit
New Problem
Alright i fixed my last problem by replacing the frameworks folder. But now i have a new problem. I keep getting error 41
Code:
Copying: /home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes.jar
ProGuard, version 4.4
Reading program jar [/home/seyi/carbon/out/target/common/obj/APPS/WAPPushManager_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
[COLOR="Red"]packages/apps/Settings/src/com/android/settings/profiles/ProfileAirplaneModePreference.java:42: error: cannot find symbol
private ProfileConfig.AirplaneModeItem mAirplaneModeItem;
^
symbol: class AirplaneModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileAirplaneModePreference.java:105: error: cannot find symbol
public void setAirplaneModeItem(ProfileConfig.AirplaneModeItem airplaneModeItem) {
^
symbol: class AirplaneModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileAirplaneModePreference.java:155: error: cannot find symbol
public ProfileConfig.AirplaneModeItem getAirplaneModeItem() {
^
symbol: class AirplaneModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileRingModePreference.java:42: error: cannot find symbol
private ProfileConfig.RingModeItem mRingModeItem;
^
symbol: class RingModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileRingModePreference.java:105: error: cannot find symbol
public void setRingModeItem(ProfileConfig.RingModeItem ringModeItem) {
^
symbol: class RingModeItem
location: class ProfileConfig
packages/apps/Settings/src/com/android/settings/profiles/ProfileRingModePreference.java:159: error: cannot find symbol
public ProfileConfig.RingModeItem getRingModeItem() {
^
symbol: class RingModeItem
location: class ProfileConfig
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:82: error: cannot find symbol
Settings.System.NOTIFICATION_SHORTCUTS_HIDE_CARRIER, 0, UserHandle.USER_CURRENT_OR_SELF) == 1);
^
symbol: variable NOTIFICATION_SHORTCUTS_HIDE_CARRIER
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:87: error: cannot find symbol
Settings.System.putInt(mCr, Settings.System.NOTIFICATION_SHORTCUTS_HIDE_CARRIER, (Boolean) newValue ? 1 : 0);
^
symbol: variable NOTIFICATION_SHORTCUTS_HIDE_CARRIER
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:96: error: cannot find symbol
Settings.System.CUSTOM_CARRIER_LABEL);
^
symbol: variable CUSTOM_CARRIER_LABEL
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:121: error: cannot find symbol
Settings.System.CUSTOM_CARRIER_LABEL, value);
^
symbol: variable CUSTOM_CARRIER_LABEL
location: class System
packages/apps/Settings/../CarbonFibers/src/com/carbon/fibers/fragments/sb/CarrierLabel.java:141: error: cannot find symbol
Settings.System.putInt(getActivity().getContentResolver(), Settings.System.NOTIFICATION_SHOW_WIFI_SSID,
^
symbol: variable NOTIFICATION_SHOW_WIFI_SSID
location: class System
packages/apps/Settings/src/com/android/settings/profiles/ProfileConnectionPreference.java:126: error: cannot find symbol
final String[] connectionNames = getContext().getResources().getStringArray(mConnectionItem.mChoices);
^
symbol: variable mChoices
location: variable mConnectionItem of type ConnectionItem
packages/apps/Settings/src/com/android/settings/profiles/ProfileConnectionPreference.java:131: error: cannot find symbol
builder.setSingleChoiceItems(mConnectionItem.mChoices, currentChoice, new DialogInterface.OnClickListener() {
^
symbol: variable mChoices
location: variable mConnectionItem of type ConnectionItem
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
13 errors[/COLOR]
make: *** [/home/seyi/carbon/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/framework2_intermediates/classes.jar]
Reading library jar [/home/seyi/carbon/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
Note: the configuration refers to the unknown class 'android.app.ContextImpl$SharedPreferencesImpl$EditorImpl'
Note: there were 1 references to unknown classes.
You should check your configuration for typos.
Preparing output jar [/home/seyi/carbon/out/target/common/obj/APPS/WAPPushManager_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/seyi/carbon/out/target/common/obj/APPS/WAPPushManager_intermediates/classes.jar]

Trying to port to MB886 - Struggling with build setup

Hello,
I've successfully built CM12 in the past for the Motorola Atrix HD (mb886), and was looking to try porting omni 5.0 to the device.
I've set up the device at https://github.com/ssuds/android_device_motorola_mb886 following the steps at http://docs.omnirom.org/Porting_Omni_To_Your_Device. I believe I've set up the omni_mb886.mk and omni.dependencies files correctly, but please feel free to refer to my github source to confirm.
To accommodate the external references to common CM modules I added:
Code:
<remote name="cm"
review="review.cyanogenmod.org"
fetch="https://github.com/CyanogenMod" />
to manifest XML. I also added:
Code:
<remote name="tm"
fetch="https://github.com/TheMuppets" />
to account for proprietary blobs.
When I try building, I get the below error:
Code:
[email protected]:~/android/omni$ brunch mb886
build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/motorola/mb886/omni_mb886.mk]]: "frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/motorola/mb886/omni_mb886.mk]]: "frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.
** Don't have a product spec for: 'omni_mb886'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
And If I enter the lunch menu, I get:
Code:
[email protected]:~/android/omni/.repo$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
Which would you like? [aosp_arm-eng]
I'm stumped and not really sure where to go from here... Thank you in advance for your assistance.
Also, am getting a bunch of errors when I try to repo sync
Code:
error: Cannot fetch platform/external/markdown
warn: --force-broken, continuing to sync
Fetching projects: 26% (126/481) Fetching project android_hardware_qcom_media
error: Cannot fetch platform/packages/wallpapers/MusicVisualization
warn: --force-broken, continuing to sync
Fetching project platform/frameworks/opt/photoviewer
error: Cannot fetch platform/external/mp4parser
warn: --force-broken, continuing to sync
Fetching project platform/external/compiler-rt
Fetching project platform/external/chromium_org/third_party/sfntly/cpp/src
error: Cannot fetch device/generic/mini-emulator-arm64
warn: --force-broken, continuing to sync
also
Code:
Traceback (most recent call last):
File "/home/shreyas/android/omni/.repo/repo/main.py", line 506, in <module>
_Main(sys.argv[1:])
File "/home/shreyas/android/omni/.repo/repo/main.py", line 482, in _Main
result = repo._Run(argv) or 0
File "/home/shreyas/android/omni/.repo/repo/main.py", line 161, in _Run
result = cmd.Execute(copts, cargs)
File "/home/shreyas/android/omni/.repo/repo/subcmds/sync.py", line 641, in Execute
fetched = self._Fetch(to_fetch, opt)
File "/home/shreyas/android/omni/.repo/repo/subcmds/sync.py", line 356, in _Fetch
self._GCProjects(projects)
File "/home/shreyas/android/omni/.repo/repo/subcmds/sync.py", line 374, in _GCProjects
bare_git.gc('--auto')
File "/home/shreyas/android/omni/.repo/repo/project.py", line 2549, in runner
p.stderr))
error.GitError: platform/external/eclipse-windowbuilder gc: fatal: Not a git repository: '/home/shreyas/android/omni/.repo/projects/external/eclipse-windowbuilder.git'
The repo sync command I'm using is
repo sync -j1 -f --no-clone-bundle
Getting closer, I hope...
Now am able to get the mb886 in the lunch menu... With a catch.
If I do a breakfast command, it shows the lunch menu with only the "full-eng" option. After that, if I do the lunch command it only shows "full-eng".
However, if I setup my build environment again ( . build/envsetup.sh) and then lunch, omni_mb886-userdebug shows up... But the build breaks with that error.
Code:
[email protected]:~/android/omni$ . build/envsetup.sh
including device/motorola/mb886/vendorsetup.sh
[email protected]:~/android/omni$ breakfast
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
Which would you like? [aosp_arm-eng] ^C
[email protected]:~/android/omni$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
Which would you like? [aosp_arm-eng] ^C
[email protected]:~/android/omni$ . build/envsetup.sh
including device/motorola/mb886/vendorsetup.sh
[email protected]:~/android/omni$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. omni_mb886-userdebug
Which would you like? [aosp_arm-eng] 7
build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/motorola/mb886/omni_mb886.mk]]: "frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/motorola/mb886/omni_mb886.mk]]: "frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.
** Don't have a product spec for: 'omni_mb886'
** Do you have the right repo manifest?
[email protected]:~/android/omni$
Same thing happens if I try to brunch
Code:
[email protected]:~/android/omni$ brunch mb886
build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/motorola/mb886/omni_mb886.mk]]: "frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:227: *** _nic.PRODUCTS.[[device/motorola/mb886/omni_mb886.mk]]: "frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.
** Don't have a product spec for: 'omni_mb886'
** Do you have the right repo manifest?
So it looks like I'm actually missing a bunch of build directories, which totally explains why this isn't working out...
My CM directory:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My Omni directory:
Clearly this is linked to my issues with repo... So I guess the real question is, what is wrong with my repo setup that is causing these issues?
Edit: My omni directory is a mere 676 MB... I should have realized this much sooner.
Edit2: I think I'm on the right track. Starting from scratch using the repo reference flag linked to my already downloaded source. 60% of the source is downloaded so far, we will see where it goes.
Update:
It builds! Finally got all my references and source synced properly. Omni is building for the MB886 currently.
Hit a new snag while building.
The build starts out fine. However, it only lasts about 5 minutes and then ends with:
Code:
make: *** No rule to make target `/home/shreyas/omni2/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by `/home/shreyas/omni2/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Stop.
make: *** Waiting for unfinished jobs....
logtags: /home/shreyas/omni2/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/src/src/java/com/android/internal/telephony/EventLogTags.java <= frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags
[email protected]:~/omni2$
There's no ZIP in the Out>Target>Product>mb886 directory.
Same thing happens whether I use brunch mb886 or lunch mb886 and then mka...
Anyone have any ideas? @TecknoFreak maybe?
Edit:Think I might have got it, my javac version was on 1.7 and i switched it back to 1.6... we shall see.
Edit2: now it builds further but breaks on an audio blob
Code:
target thumb C: libalsa-intf <= hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_avail':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:401:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'snd_pcm_uframes_t' [-Wformat=]
ALOGV("hw_ptr = %d buf_size = %d appl_ptr = %d\n",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:401:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'snd_pcm_uframes_t' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:467:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
return pcm->addr + pcm_offset;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:471:57: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:505:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
src_addr = pcm->addr + pcm_offset;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:492:65: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:555:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:526:50: warning: unused parameter 'data' [-Wunused-parameter]
static int pcm_write_mmap(struct pcm *pcm, void *data, unsigned count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:668:8: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:697:11: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:780:9: warning: return makes pointer from integer without a cast [enabled by default]
return -EINVAL;
^
real 25m34.029s
user 66m21.505s
sys 16m39.325s
[email protected]:~/omni2$
tlv.h exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, same place it did for cm12 which built fine.
Edit3: Think I'm getting closer... Now I'm getting this
Code:
target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_TextureView.cpp
frameworks/base/core/jni/android_view_Surface.cpp: In function 'void android::nativeSetDirtyRect(JNIEnv*, jclass, jlong, jobject)':
frameworks/base/core/jni/android_view_Surface.cpp:206:14: error: 'class android::Surface' has no member named 'setDirtyRect'
surface->setDirtyRect(&rect);
^
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o] Error 1
make: *** Waiting for unfinished jobs....
real 4m8.158s
user 4m55.351s
sys 2m13.800s
[email protected]:~/omni2$
Edit4: Found some very relevant stuff in this thread: http://forum.xda-developers.com/omni/general/help-regarding-compiling-omnirom-cm-t2964759/page2
Edit5: Tweaked the surface.cpp as that thread recommended, see https://github.com/ssuds/android_frameworks_base/commit/84c26243dcfcba9aee824dfddd11b2a3405c006b
Now the tlv.h: No such file or directory error is back:
Code:
target thumb C: libalsa-intf <= hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c
target Prebuilt: am (/home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/am_intermediates/am)
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
Notice file: frameworks/base/cmds/am/NOTICE -- /home/shreyas/omni2/out/target/product/mb886/obj/NOTICE_FILES/src//system/bin/am.txt
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_identifier':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:77:43: warning: unused parameter 'fmt' [-Wunused-parameter]
char *snd_use_case_identifier(const char *fmt, ...)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_free_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:89:40: warning: parameter 'list' set but not used [-Wunused-but-set-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:89:52: warning: unused parameter 'items' [-Wunused-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:132:15: warning: assignment from incompatible pointer type [enabled by default]
*list = (char ***)uc_mgr->card_ctxt_ptr->verb_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:156:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].device_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:180:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].modifier_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:792:65: warning: comparison between pointer and integer [enabled by default]
(check_devices_for_voice_call(uc_mgr, use_case) != NULL))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_mgr_reload':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:1986:49: warning: unused parameter 'uc_mgr' [-Wunused-parameter]
int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'print_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3102:47: warning: unused parameter 'verb_index' [-Wunused-parameter]
static int print_list(card_mctrl_t *list, int verb_index, int count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_ucm_parse_section':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3303:13: warning: format '%d' expects a matching 'int' argument [-Wformat=]
ALOGV("Effects mixer ctl: %s: %d\n", list->effects_mixer_ctl);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3597:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].ena_mixer_list[index].value;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3615:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].dis_mixer_list[index].value;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3583:40: warning: unused parameter 'verb_index' [-Wunused-parameter]
void free_list(card_mctrl_t *list, int verb_index, int count)
^
real 12m37.998s
user 27m33.618s
sys 6m41.232s
[email protected]:~/omni2$
Any luck on this? I get the exact same error, except I'm building AOSP.
I somehow missed this thread.
Some of the issues I saw there look like they may have been CAF-related. With 5.0, we never completed the process of merging the CAF branches of frameworks/av and frameworks/native so they coexisted. (To make a long story short, that was primarily my task and I was catastrophically burned out and pretty much gone for 3-4 months... Then 5.1 dropped.)
As of today, working on a CAF device requires syncing the android-5.1-caf branches of frameworks/native and frameworks/av - Also, we use a different naming method for determining which QCOM CAF variant of display/audio/media HALs to use. You might want to try finding a device with a similar CPU to get ideas of how that was brought up. I remember when bringing up falcon in 4.4, I also had to add some oddball Moto-specific patches that aren't in our 5.x branches because I never had the time to resurrect that device. (I have more time now, but I've got a LOT of catching up to do...)
Right now:
CAF "b-family" (8226, 8974, etc) devices are current focus, especially 8974s, I'm going to be working this weekend on getting the CAF branches of av/native to coexist in our tree without syncing funky branches
CAF "a-family" devices (8960, 8064, etc.) are "here be dragons" - The Sony guys have them semi-working I believe, but the a-fam stuff needs a LOT of work. Getting a bootable device is feasible, but getting a usable device (especially media/AV stuff) requires us to fix a bunch of stuff
Entropy512 said:
I somehow missed this thread.
Some of the issues I saw there look like they may have been CAF-related.
Click to expand...
Click to collapse
Awesome, thank you for the direction @Entropy512! I've been kinda busy with other stuff recently, but when I get the chance I'll definitely try again to spin this up using that set up!
ssuds said:
Also, am getting a bunch of errors when I try to repo sync
Code:
error: Cannot fetch platform/external/markdown
warn: --force-broken, continuing to sync
Fetching projects: 26% (126/481) Fetching project android_hardware_qcom_media
error: Cannot fetch platform/packages/wallpapers/MusicVisualization
warn: --force-broken, continuing to sync
Fetching project platform/frameworks/opt/photoviewer
error: Cannot fetch platform/external/mp4parser
warn: --force-broken, continuing to sync
Fetching project platform/external/compiler-rt
Fetching project platform/external/chromium_org/third_party/sfntly/cpp/src
error: Cannot fetch device/generic/mini-emulator-arm64
warn: --force-broken, continuing to sync
also
Code:
Traceback (most recent call last):
File "/home/shreyas/android/omni/.repo/repo/main.py", line 506, in <module>
_Main(sys.argv[1:])
File "/home/shreyas/android/omni/.repo/repo/main.py", line 482, in _Main
result = repo._Run(argv) or 0
File "/home/shreyas/android/omni/.repo/repo/main.py", line 161, in _Run
result = cmd.Execute(copts, cargs)
File "/home/shreyas/android/omni/.repo/repo/subcmds/sync.py", line 641, in Execute
fetched = self._Fetch(to_fetch, opt)
File "/home/shreyas/android/omni/.repo/repo/subcmds/sync.py", line 356, in _Fetch
self._GCProjects(projects)
File "/home/shreyas/android/omni/.repo/repo/subcmds/sync.py", line 374, in _GCProjects
bare_git.gc('--auto')
File "/home/shreyas/android/omni/.repo/repo/project.py", line 2549, in runner
p.stderr))
error.GitError: platform/external/eclipse-windowbuilder gc: fatal: Not a git repository: '/home/shreyas/android/omni/.repo/projects/external/eclipse-windowbuilder.git'
The repo sync command I'm using is
repo sync -j1 -f --no-clone-bundle
Click to expand...
Click to collapse
Hi there,
How did you get rid of these errors?
I use these commands but get the above errors all the time:
repo init -u https://github.com/omnirom/android.git -b android-4.4
repo sync -j4 -f --no-clone-bundle
I am just a beginner so help will be appreciated...
Thanks!
ssuds, Did you ever solve this problem?
No... I gave up.
jhelp
same with me:silly:
HTML:
[ 99% 1587/1588] glob vendor/slim/build/soong/Android.bp
ninja: error: '/home/ubuntu/slim/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar', needed by '/home/ubuntu/slim/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp', missing and no known rule to make it
11:30:29 ninja failed with: exit status 1

OmniROM 6.0 build error for Pixel C

General information:
1. I can't found the kernel source from android.com and android source repos.
2. I was setup build environment for OmniROM, and I was tested build manta with success.
3. I was config the device repo in .repo/local_manifests/default.xml with https://android.googlesource.com/device/google/dragon/ and https://android.googlesource.com/device/google/dragon-kernel/
4. Changed all aosp_dragon to omni_dragon, add TWRP config to BoardConfig.mk, add TARGET_PREBUILT_KERNEL := device/google/dragon-kernel/Image.fit to device.mk
5. Download and extract vendor file from https://developers.google.com/android/nexus/drivers#dragon using MXC14G version.
6. Modified tools/roomservice.py for disabled check dragon online.(Make it compile)
My build step:
cmd:
cd /media/dev/source/OmniROM/
brunch dragon
Wait for complete, it report error:
Code:
Export includes file: external/tinycompress/Android.mk -- /media/dev/source/OmniROM/out/target/product/dragon/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/export_includes
make: *** No rule to make target '/media/dev/source/OmniROM/out/target/product/dragon/obj/KERNEL_OBJ/usr', needed by '/media/dev/source/OmniROM/out/target/product/dragon/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o'
The full log in http://pastebin.com/drM6Fe2R
I tried build the external/tinycompress package only, it return error.
cmd:
mm external/tinycompress
Report error:
Code:
No private recovery resources for TARGET_DEVICE dragon
build/core/tasks/kernel.mk:104: ***************************************************************
build/core/tasks/kernel.mk:105: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:106: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:107: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:108: * source repository to kernel/google/dragon
build/core/tasks/kernel.mk:109: * See http://forum.xda-developers.com/wiki/ROM/Integrated_Kernel_Build
build/core/tasks/kernel.mk:110: * for more information *
build/core/tasks/kernel.mk:111: ***************************************************************
build/core/tasks/kernel.mk:271: warning: overriding recipe for target '/media/dev/source/OmniROM/out/target/product/dragon/kernel'
build/core/Makefile:72: warning: ignoring old recipe for target '/media/dev/source/OmniROM/out/target/product/dragon/kernel'
make: Nothing to be done for 'external/tinycompress'.
The full log in http://pastebin.com/DaHjPmHk
Can't you help me fix this build erro?
kendling said:
General information:
1. I can't found the kernel source from android.com and android source repos.
2. I was setup build environment for OmniROM, and I was tested build manta with success.
3. I was config the device repo in .repo/local_manifests/default.xml with https://android.googlesource.com/device/google/dragon/ and https://android.googlesource.com/device/google/dragon-kernel/
4. Changed all aosp_dragon to omni_dragon, add TWRP config to BoardConfig.mk, add TARGET_PREBUILT_KERNEL := device/google/dragon-kernel/Image.fit to device.mk
5. Download and extract vendor file from https://developers.google.com/android/nexus/drivers#dragon using MXC14G version.
6. Modified tools/roomservice.py for disabled check dragon online.(Make it compile)
My build step:
cmd:
cd /media/dev/source/OmniROM/
brunch dragon
Wait for complete, it report error:
Code:
Export includes file: external/tinycompress/Android.mk -- /media/dev/source/OmniROM/out/target/product/dragon/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/export_includes
make: *** No rule to make target '/media/dev/source/OmniROM/out/target/product/dragon/obj/KERNEL_OBJ/usr', needed by '/media/dev/source/OmniROM/out/target/product/dragon/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o'
The full log in http://pastebin.com/drM6Fe2R
I tried build the external/tinycompress package only, it return error.
cmd:
mm external/tinycompress
Report error:
Code:
No private recovery resources for TARGET_DEVICE dragon
build/core/tasks/kernel.mk:104: ***************************************************************
build/core/tasks/kernel.mk:105: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:106: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:107: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:108: * source repository to kernel/google/dragon
build/core/tasks/kernel.mk:109: * See http://forum.xda-developers.com/wiki/ROM/Integrated_Kernel_Build
build/core/tasks/kernel.mk:110: * for more information *
build/core/tasks/kernel.mk:111: ***************************************************************
build/core/tasks/kernel.mk:271: warning: overriding recipe for target '/media/dev/source/OmniROM/out/target/product/dragon/kernel'
build/core/Makefile:72: warning: ignoring old recipe for target '/media/dev/source/OmniROM/out/target/product/dragon/kernel'
make: Nothing to be done for 'external/tinycompress'.
The full log in http://pastebin.com/DaHjPmHk
Can't you help me fix this build erro?
Click to expand...
Click to collapse
I'd look at one of the other Nexus device trees to see how they set up inline kernel build and properly Omni-fied it. I haven't done it in such a long time I don't really remember the exact details.
anyone can help me ?
Code:
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory `/home/ibrahim/wave/kernel/samsung/aries'
make -C kernel/samsung/aries O=/home/ibrahim/wave/out/target/product/wave/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" "/home/ibrahim/wave/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/"/arm-eabi-" dtbs
make[1]: Entering directory `/home/ibrahim/wave/kernel/samsung/aries'
make[2]: *** No rule to make target `dtbs'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ibrahim/wave/kernel/samsung/aries'
make: [TARGET_KERNEL_BINARIES] Error 2 (ignored)
make -C kernel/samsung/aries O=/home/ibrahim/wave/out/target/product/wave/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" "/home/ibrahim/wave/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/"/arm-eabi-" modules
make[1]: Entering directory `/home/ibrahim/wave/kernel/samsung/aries'
CHK include/linux/version.h
I did found the problem!!
Because I did add the lines to aosp_dragon.mk below:
Code:
# Inherit from our custom product configuration
$(call inherit-product, vendor/omni/config/common_tablet.mk)
After that, I got new errors:
1. Failed to compile mkbootimg.c
Code:
target C: utility_mkbootimg <= system/core/mkbootimg/mkbootimg.c
system/core/mkbootimg/mkbootimg.c: In function 'print_id':
system/core/mkbootimg/mkbootimg.c:82:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (unsigned i = 0; i < id_len; i++) {
^
system/core/mkbootimg/mkbootimg.c:82:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
build/core/binary.mk:801: recipe for target '/media/dev/source/OmniROM/out/target/product/dragon/obj/UTILITY_EXECUTABLES/utility_mkbootimg_intermediates/mkbootimg.o' failed
make: *** [/media/dev/source/OmniROM/out/target/product/dragon/obj/UTILITY_EXECUTABLES/utility_mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** 正在等待未完成的任务....
2. Failed to compile compress.c
Code:
target thumb C: audio.usb.default_32 <= hardware/libhardware/modules/usbaudio/audio_hal.c
In file included from bionic/libc/include/signal.h:32:0,
from bionic/libc/include/sys/select.h:33,
from bionic/libc/include/unistd.h:35,
from external/tinycompress/compress.c:61:
/media/dev/source/OmniROM/out/target/product/dragon/obj/KERNEL_OBJ/usr/include/asm/sigcontext.h:53:2: error: unknown type name '__uint128_t'
__uint128_t vregs[32];
^
build/core/binary.mk:801: recipe for target '/media/dev/source/OmniROM/out/target/product/dragon/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o' failed
make: *** [/media/dev/source/OmniROM/out/target/product/dragon/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o] Error 1
make: *** 正在等待未完成的任务....
make: *** wait: 没有子进程。 停止。
Anyone can help me?
About __uint128_t problem, do this:
https://github.com/omnirom/android_...mmit/80349b926351ca5992973e4a0357ca649a602faa
Blue59 said:
anyone can help me ?
Code:
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory `/home/ibrahim/wave/kernel/samsung/aries'
make -C kernel/samsung/aries O=/home/ibrahim/wave/out/target/product/wave/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" "/home/ibrahim/wave/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/"/arm-eabi-" dtbs
make[1]: Entering directory `/home/ibrahim/wave/kernel/samsung/aries'
make[2]: *** No rule to make target `dtbs'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ibrahim/wave/kernel/samsung/aries'
make: [TARGET_KERNEL_BINARIES] Error 2 (ignored)
make -C kernel/samsung/aries O=/home/ibrahim/wave/out/target/product/wave/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" "/home/ibrahim/wave/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/"/arm-eabi-" modules
make[1]: Entering directory `/home/ibrahim/wave/kernel/samsung/aries'
CHK include/linux/version.h
Click to expand...
Click to collapse
@Blue59
make[2]: *** No rule to make target `dtbs'.
Click to expand...
Click to collapse
The problem is , your kernel's Makefile not have dtbs make rule.
See https://github.com/kendling/android_kernel_google_dragon/blob/m/arch/arm64/Makefile
dtbs: prepare scripts
$(Q)$(MAKE) $(build)=$(boot)/dts
dtbs_install:
$(Q)$(MAKE) $(dtbinst)=$(boot)/dts
Click to expand...
Click to collapse
Hi everybody,
I was fixed all problem and build success.
After build success, the boot.img can't bootup.
Tablet display "OS on your tablet is damaged. Need recovery."
Yes, I fixed it too.
Now my build was all success and success bootup.
I want to release the ROM later.
Thanks all!

S3 Neo voltage regulators

Can this voltage and current regulators enable 5V for OTG support:
http://postimg.org/image/5tz9sq3k1/
http://postimg.org/image/cjkigpqwx/
http://postimg.org/image/3vykulf9d/
It will be nice - if you add it to the kernel.
The new kernel is coming ?
I tried do a new but always ERROR 2 in Ubuntu
nalas said:
It will be nice - if you add it to the kernel.
The new kernel is coming ?
I tried do a new but always ERROR 2 in Ubuntu
Click to expand...
Click to collapse
I also have error.
When I run command make -j3 I get error:
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: Nothing to be done for 'arch/arm/boot/dtbs'.
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-msm/board-dt.o
CC arch/arm/mach-msm/sec-switch.o
LD drivers/base/regmap/built-in.o
LD drivers/base/built-in.o
arch/arm/mach-msm/sec-switch.c:818:16: error: redefinition of 'midas_switch_show_vbus'
arch/arm/mach-msm/sec-switch.c:226:16: note: previous definition of 'midas_switch_show_vbus' was here
arch/arm/mach-msm/sec-switch.c:838:16: error: redefinition of 'midas_switch_store_vbus'
arch/arm/mach-msm/sec-switch.c:246:16: note: previous definition of 'midas_switch_store_vbus' was here
arch/arm/mach-msm/sec-switch.c:884:1: error: redefinition of 'dev_attr_disable_vbus'
arch/arm/mach-msm/sec-switch.c:292:1: note: previous definition of 'dev_attr_disable_vbus' was here
arch/arm/mach-msm/sec-switch.c:940:21: error: redefinition of 'sec_booster'
arch/arm/mach-msm/sec-switch.c:348:21: note: previous definition of 'sec_booster' was here
arch/arm/mach-msm/sec-switch.c:946:19: error: redefinition of 'midas_sec_switch_init'
arch/arm/mach-msm/sec-switch.c:354:19: note: previous definition of 'midas_sec_switch_init' was here
arch/arm/mach-msm/sec-switch.c:983:5: error: redefinition of 'current_cable_type'
arch/arm/mach-msm/sec-switch.c:391:5: note: previous definition of 'current_cable_type' was here
arch/arm/mach-msm/sec-switch.c: In function 'max77804k_muic_mhl_cb':
arch/arm/mach-msm/sec-switch.c:1235:18: error: 'MAX77804K_MUIC_ATTACHED' undeclared (first use in this function)
arch/arm/mach-msm/sec-switch.c:1235:18: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/sec-switch.c: At top level:
arch/arm/mach-msm/sec-switch.c:1348:8: error: variable 'max77804k_muic' has initializer but incomplete type
arch/arm/mach-msm/sec-switch.c:1349:2: error: unknown field 'usb_cb' specified in initializer
arch/arm/mach-msm/sec-switch.c:1349:2: warning: excess elements in struct initializer [enabled by default]
error, forbidden warning: sec-switch.c:1349
scripts/Makefile.build:307: recipe for target 'arch/arm/mach-msm/sec-switch.o' failed
make[1]: *** [arch/arm/mach-msm/sec-switch.o] Error 1
Makefile:950: recipe for target 'arch/arm/mach-msm' failed
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
CC sound/soc/codecs/wcd9306.o
CC sound/soc/codecs/wcd9306-tables.o
CC sound/soc/codecs/wcd9xxx-resmgr.o
LD drivers/gpio/built-in.o
CC sound/soc/codecs/wcd9xxx-mbhc.o
LD drivers/leds/built-in.o
LD drivers/input/touchscreen/built-in.o
LD drivers/input/built-in.o
LD sound/soc/codecs/snd-soc-wcd9306.o
LD sound/soc/codecs/snd-soc-msm-stub.o
LD sound/soc/codecs/built-in.o
CC sound/soc/msm/msm8226.o
CC drivers/mfd/sm501.o
CC drivers/misc/max77888-muic.o
CC sound/soc/msm/qdsp6v2/msm-dai-q6-v2.o
CC drivers/mfd/tps65010.o
CC drivers/mfd/twl-core.o
LD sound/soc/msm/qdsp6v2/snd-soc-qdsp6v2.o
CC drivers/misc/max77828-muic.o
LD sound/soc/msm/qdsp6v2/built-in.o
CC drivers/mfd/twl4030-irq.o
LD sound/soc/msm/snd-soc-qdsp6v2.o
LD sound/soc/msm/snd-soc-msm8226.o
LD sound/soc/msm/snd-soc-hostless-pcm.o
LD sound/soc/msm/built-in.o
CC drivers/mfd/twl6030-irq.o
LD sound/soc/built-in.o
LD sound/built-in.o
CC drivers/mfd/twl4030-madc.o
LD drivers/misc/built-in.o
drivers/misc/max77828-muic.o: In function `get_switch_sel':
/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77828-muic.c:223: multiple definition of `get_switch_sel'
drivers/misc/max77888-muic.o:/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77888-muic.c:205: first defined here
drivers/misc/max77828-muic.o: In function `powered_otg_control':
/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77828-muic.c:1854: multiple definition of `powered_otg_control'
drivers/misc/max77888-muic.o:/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77888-muic.c:1951: first defined here
drivers/misc/max77828-muic.o: In function `muic_otg_control':
/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77828-muic.c:1845: multiple definition of `muic_otg_control'
drivers/misc/max77888-muic.o:/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77888-muic.c:1942: first defined here
CC drivers/mfd/twl4030-power.o
scripts/Makefile.build:375: recipe for target 'drivers/misc/built-in.o' failed
make[2]: *** [drivers/misc/built-in.o] Error 1
scripts/Makefile.build:443: recipe for target 'drivers/misc' failed
make[1]: *** [drivers/misc] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/mfd/ezx-pcap.o
CC drivers/mfd/wcd9xxx-core.o
drivers/mfd/ezx-pcap.c: In function 'pcap_isr_work':
drivers/mfd/ezx-pcap.c:205:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
scripts/Makefile.build:307: recipe for target 'drivers/mfd/ezx-pcap.o' failed
make[2]: *** [drivers/mfd/ezx-pcap.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/Makefile.build:443: recipe for target 'drivers/mfd' failed
make[1]: *** [drivers/mfd] Error 2
Makefile:950: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Error 2 - too.
I think this is problem with some path .
I have everythink installed what is nessesary.
nalas said:
Error 2 - too.
I think this is problem with some path .
I have everythink installed what is nessesary.
Click to expand...
Click to collapse
Do you know how to solve this problem?
not yet I still looking for it in google but every video have not this problem
nalas said:
not yet I still looking for it in google but every video have not this problem
Click to expand...
Click to collapse
Does this have to be installed?
Current Minimal Requirements
============================
Upgrade to at *least* these software revisions before thinking you've
encountered a bug! If you're unsure what version you're currently
running, the suggested command should tell you.
Again, keep in mind that this list assumes you are already functionally
running a Linux kernel. Also, not all tools are necessary on all
systems; obviously, if you don't have any ISDN hardware, for example,
you probably needn't concern yourself with isdn4k-utils.
o Gnu C 3.2 # gcc --version
o Gnu make 3.80 # make --version
o binutils 2.12 # ld -v
o util-linux 2.10o # fdformat --version
o module-init-tools 0.9.10 # depmod -V
o e2fsprogs 1.41.4 # e2fsck -V
o jfsutils 1.1.3 # fsck.jfs -V
o reiserfsprogs 3.6.3 # reiserfsck -V
o xfsprogs 2.6.0 # xfs_db -V
o squashfs-tools 4.0 # mksquashfs -version
o btrfs-progs 0.18 # btrfsck
o pcmciautils 004 # pccardctl -V
o quota-tools 3.09 # quota -V
o PPP 2.4.0 # pppd --version
o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version
o nfs-utils 1.0.5 # showmount --version
o procps 3.2.0 # ps --version
o oprofile 0.9 # oprofiled --version
o udev 081 # udevd --version
o grub 0.93 # grub --version || grub-install --version
o mcelog 0.6 # mcelog --version
o iptables 1.4.2 # iptables -V
Yhx - I check it.
I have Ubuntu 16.04 LTS and GCC 5.0 - maybe not compatible ...
make: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/basic/fixdep
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
/home/nala/S3NEO/kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:986: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
CC scripts/mod/empty.o
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 127
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:506: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Did you select right directory of toolchain?
nalas said:
Yhx - I check it.
I have Ubuntu 16.04 LTS and GCC 5.0 - maybe not compatible ...
make: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/basic/fixdep
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
/home/nala/S3NEO/kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:986: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
CC scripts/mod/empty.o
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 127
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:506: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Click to expand...
Click to collapse
Did you select right directory?
Pavlex4 said:
Did you select right directory?
Click to expand...
Click to collapse
I check it again but I'vo copiet it from arm-eabi- (file path) - thx
nalas said:
I check it again but I'vo copiet it from arm-eabi- (file path) - thx
Click to expand...
Click to collapse
Does this errors appear because of gcc?
Pavlex4 said:
Does this errors appear because of gcc?
Click to expand...
Click to collapse
Do you know how to downgrade version of gcc???
Find on github - google it.
Wysłane z mojego SM-G935F przy użyciu Tapatalka
nalas said:
Find on github - google it.
Wysłane z mojego SM-G935F przy użyciu Tapatalka
Click to expand...
Click to collapse
Did you try to compile kernel with gcc 3.2???

Categories

Resources