Kernel Building - Galaxy S III General (US Carriers)

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

Related

[Q] [hammerhead] Problems building from source

Hey, first off I'm still new to this, so learning as I go, I've built previously for Mako but having a bit of trouble building for Hammerhead (Nexus 5) using Ubuntu 12.04 64bit
Seems to be a error where the script can't find the file/directory, but I haven't had any repo sync errors or anything.
(full log: http://pastebin.com/DSzDJDRb)
Error seems to be located
Code:
mkdir -p /home/parker/android/omni/out/target/product/hammerhead/obj/GYP/shared_intermediates/blink; cd external/chromium_org/third_party/WebKit/Source/core; python scripts/rule_bison.py xml/XPathGrammar.y "/home/parker/android/omni/out/target/product/hammerhead/obj/GYP/shared_intermediates/blink" bison
target thumb C++: third_party_WebKit_Source_wtf_wtf_gyp <= external/chromium_org/third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp
Traceback (most recent call last):
File "scripts/rule_bison.py", line 75, in <module>
returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
File "/usr/lib/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [/home/parker/android/omni/out/target/product/hammerhead/obj/GYP/shared_intermediates/blink/CSSGrammar.cpp] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "scripts/rule_bison.py", line 75, in <module>
returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
File "/usr/lib/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
target thumb C++: third_party_WebKit_Source_wtf_wtf_gyp <= external/chromium_org/third_party/WebKit/Source/wtf/CurrentTime.cpp
make: *** [/home/parker/android/omni/out/target/product/hammerhead/obj/GYP/shared_intermediates/blink/XPathGrammar.cpp] Error 1
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.

[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]

anyone can help solving this error

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

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???

Error when compiling kernel Sony to load proprietary modules.

The default kernel is compiled without errors for TWRP.
By default, the config of the kernel disabled the download of proprietary modules. To enable the proprietary kernel module I added a couple of lines in config suzuran.
Code:
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
Sources: kernel Sony; device profile: suzuran, kitakami platform, common.
Same problem for platform devices loire.
After adding the lines, the compilation of the kernel occurs with an error:
/home/samavar/omni/kernel/Makefile:807: the recipe is a mistake for the purpose of «vmlinux»
[ 97% 6416/6603] build /home/samavar/o.../target/product/suzuran/root/init.real
/init /home/samavar/omni/out/target/product/suzuran/root/init isn't a symlink
[ 99% 6589/6603] build /home/samavar/o...covery_intermediates/sepolicy.recovery
/home/samavar/omni/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/samavar/omni/out/target/product/suzuran/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
/home/samavar/omni/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/samavar/omni/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /home/samavar/omni/out/target/product/suzuran/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.tmp
[ 99% 6589/6603] host Java: bouncycast...uncycastle-host_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -source 1.7
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.
1 warning
[ 99% 6596/6603] build TARGET_KERNEL_BINARIES
FAILED: /bin/bash -c "(make -j1 CFLAGS_MODULE="-fno-pic" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=" aarch64-linux-android-" Image.gz-dtb ) && (if grep -q 'CONFIG_OF=y' /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/.config ; then echo -e "Building DTBs" ; make -j1 CFLAGS_MODULE="-fno-pic" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=" aarch64-linux-android-" dtbs ; else echo "DTBs not enabled" ; fi ) && (if grep -q 'CONFIG_MODULES=y' /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/.config ; then echo -e "Building Kernel Modules" ; make -j1 CFLAGS_MODULE="-fno-pic" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=" aarch64-linux-android-" modules && make -j1 CFLAGS_MODULE="-fno-pic" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm64 CROSS_COMPILE=" aarch64-linux-android-" modules_install && mdpath=\`find /home/samavar/omni/out/target/product/suzuran/system/lib/modules -type f -name modules.order\`; if [ "\$mdpath" != "" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do aarch64-linux-android-strip --strip-unneeded \$i; mv \$i /home/samavar/omni/out/target/product/suzuran/system/lib/modules/; done; fi && mdpath=\`find /home/samavar/omni/out/target/product/suzuran/system/lib/modules -type f -name modules.order\`; if [ "\$mdpath" != "" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ; else echo "Kernel Modules not enabled" ; fi )"
make: вход в каталог «/home/samavar/omni/kernel»
GEN /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/samavar/omni/kernel as source for kernel
GEN /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
GEN include/generated/bounds.h
*****
*****
LD arch/arm64/crypto/aes-neon-blk.o
LD arch/arm64/crypto/built-in.o
/home/samavar/omni/kernel/kernel/Makefile:144: *** No X.509 certificates found ***
CC kernel/fork.o
*****
*****
CC drivers/net/wireless/bcmdhd/wl_roam.o
CC drivers/net/wireless/bcmdhd/wl_cfg80211.o
/home/samavar/omni/kernel/drivers/net/wireless/bcmdhd/wl_cfg80211.c:7723:2: warning: initialization from incompatible pointer type
.del_station = wl_cfg80211_del_station,
^
/home/samavar/omni/kernel/drivers/net/wireless/bcmdhd/wl_cfg80211.c:7723:2: warning: (near initialization for 'wl_cfg80211_ops.del_station')
CC drivers/net/wireless/bcmdhd/wl_cfgp2p.o
CC drivers/net/wireless/bcmdhd/wl_cfg_btcoex.o
CC drivers/net/wireless/bcmdhd/wldev_common.o
CC drivers/net/wireless/bcmdhd/wl_linux_mon.o
CC drivers/net/wireless/bcmdhd/dhd_linux_platdev.o
/home/samavar/omni/kernel/drivers/net/wireless/bcmdhd/dhd_linux_platdev.c:62:13: warning: 'dts_enabled' defined but not used [-Wunused-variable]
static bool dts_enabled = FALSE;
^
CC drivers/net/wireless/bcmdhd/dhd_rtt.o
*****
*****
CC drivers/pci/of.o
CC drivers/pci/host/pci-msm.o
/home/samavar/omni/kernel/drivers/pci/host/pci-msm.c: In function 'pcie_init':
/home/samavar/omni/kernel/drivers/pci/host/pci-msm.c:4897:7: warning: unused variable 'rc_name' [-Wunused-variable]
char rc_name[MAX_RC_NAME_LEN];
^
LD drivers/pci/host/built-in.o
*****
*****
CC drivers/platform/msm/sps/sps_bam.o
CC drivers/platform/msm/sps/sps.o
/home/samavar/omni/kernel/drivers/platform/msm/sps/sps.c: In function 'sps_register_bam_device':
/home/samavar/omni/kernel/drivers/platform/msm/sps/sps.c:2074:7: warning: unused variable 'bam_name' [-Wunused-variable]
char bam_name[MAX_MSG_LEN];
^
CC drivers/platform/msm/sps/sps_dma.o
*****
*****
CC drivers/platform/msm/pft.o
In file included from /home/samavar/omni/kernel/include/linux/kernel.h:14:0,
from /home/samavar/omni/kernel/drivers/platform/msm/pft.c:48:
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_inode_create':
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'kuid_t' [-Wformat=]
static struct _ddebug __aligned(8) \
^
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
/home/samavar/omni/kernel/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:867:4: note: in expansion of macro 'pr_debug'
pr_debug("key removed, registered uid %u is denied from creating new file %s\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_inode_post_create':
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 5 has type 'kuid_t' [-Wformat=]
static struct _ddebug __aligned(8) \
^
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
/home/samavar/omni/kernel/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:920:5: note: in expansion of macro 'pr_debug'
pr_debug("key loaded, pid [%u] uid [%d] is creating file %s\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_inode_rename':
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:992:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'kuid_t' [-Wformat=]
pr_err("access in-place-encryption file %s by uid [%d] pid [%d] is blocked.\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:998:3: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'kuid_t' [-Wformat=]
pr_err("unregistered app (uid %u pid %u) is trying to access encrypted file %s\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_file_open':
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1044:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'kuid_t' [-Wformat=]
pr_err("Access in-place-encryption file %s by uid %d pid %d is blocked.\n",
^
In file included from /home/samavar/omni/kernel/include/linux/kernel.h:14:0,
from /home/samavar/omni/kernel/drivers/platform/msm/pft.c:48:
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'kuid_t' [-Wformat=]
static struct _ddebug __aligned(8) \
^
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
/home/samavar/omni/kernel/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1055:3: note: in expansion of macro 'pr_debug'
pr_debug("key not loaded. uid (%u) can not access file %s\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1061:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'kuid_t' [-Wformat=]
pr_err("unregistered app (uid %u pid %u) is trying to access encrypted file %s\n",
^
In file included from /home/samavar/omni/kernel/include/linux/kernel.h:14:0,
from /home/samavar/omni/kernel/drivers/platform/msm/pft.c:48:
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_file_permission':
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'kuid_t' [-Wformat=]
static struct _ddebug __aligned(8) \
^
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
/home/samavar/omni/kernel/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1116:4: note: in expansion of macro 'pr_debug'
pr_debug("r/w [mask 0x%x] in-place-encryption file %s by PFM (UID %d, PID %d).\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1121:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'kuid_t' [-Wformat=]
pr_err("Access in-place-encryption file %s by App (UID %d, PID %d) is blocked.\n",
^
In file included from /home/samavar/omni/kernel/include/linux/kernel.h:14:0,
from /home/samavar/omni/kernel/drivers/platform/msm/pft.c:48:
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'kuid_t' [-Wformat=]
static struct _ddebug __aligned(8) \
^
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
/home/samavar/omni/kernel/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1134:3: note: in expansion of macro 'pr_debug'
pr_debug("key not loaded. uid (%u) can not access file %s\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1140:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'kuid_t' [-Wformat=]
pr_err("unregistered app (uid %u pid %u) is trying to access encrypted file %s\n",
^
In file included from /home/samavar/omni/kernel/include/linux/kernel.h:14:0,
from /home/samavar/omni/kernel/drivers/platform/msm/pft.c:48:
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_file_close':
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'kuid_t' [-Wformat=]
static struct _ddebug __aligned(8) \
^
/home/samavar/omni/kernel/include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
^
/home/samavar/omni/kernel/include/linux/printk.h:240:2: note: in expansion of macro 'dynamic_pr_debug'
dynamic_pr_debug(fmt, ##__VA_ARGS__)
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1199:3: note: in expansion of macro 'pr_debug'
pr_debug("pid [%u] uid [%u] is closing in-place-encryption file %s\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c: In function 'pft_inode_unlink':
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1259:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'kuid_t' [-Wformat=]
pr_err("block delete in-place-encryption file %s by uid [%d] pid [%d], while encryption in progress.\n",
^
/home/samavar/omni/kernel/drivers/platform/msm/pft.c:1265:3: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'kuid_t' [-Wformat=]
pr_err("unregistered app (uid %u pid %u) is trying to access encrypted file %s\n",
^
LD drivers/platform/msm/built-in.o
LD drivers/platform/built-in.o
CC drivers/power/power_supply_core.o
*****
*****
LD drivers/soc/built-in.o
CC drivers/spi/spi.o
CC drivers/spi/spi_qsd.o
LD drivers/spi/built-in.o
CC drivers/spmi/spmi.o
/home/samavar/omni/kernel/drivers/spmi/spmi.c: In function 'spmi_add_device':
/home/samavar/omni/kernel/drivers/spmi/spmi.c:240:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat=]
dev_set_name(dev, "%02x-%s-%04x", spmidev->sid, spmidev->dev.of_node->name, spmidev->res.resource[0].start);
^
CC drivers/spmi/spmi-resources.o
CC drivers/spmi/spmi-pmic-arb.o
CC drivers/spmi/qpnp-int.o
CC drivers/spmi/spmi-dbgfs.o
LD drivers/spmi/built-in.o
CC drivers/staging/staging.o
CC drivers/staging/android/ion/ion.o
*****
*****
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
net/built-in.o: In function `qtaguid_mt':
ipc_router_security.c.text+0x6839c): undefined reference to `xt_socket_put_sk'
ipc_router_security.c.text+0x68440): undefined reference to `xt_socket_get6_sk'
ipc_router_security.c.text+0x68450): undefined reference to `xt_socket_get4_sk'
ipc_router_security.c.text+0x684ac): undefined reference to `xt_socket_put_sk'
net/built-in.o: In function `tcp_nuke_addr':
ipc_router_security.c.text+0x7ee60): undefined reference to `in6addr_any'
ipc_router_security.c.text+0x7ee70): undefined reference to `in6addr_any'
ipc_router_security.c.text+0x7efc8): undefined reference to `rt6_lookup'
/home/samavar/omni/kernel/Makefile:807: the recipe is a mistake for the purpose of «vmlinux»
make[1]: *** [vmlinux] error 1
Makefile:130: the recipe is a mistake for the purpose of «sub-make»
make: *** [sub-make] error 2
make: выход из каталога «/home/samavar/omni/kernel»
ninja: build stopped: subcommand failed.
build/core/ninja.mk:157: the recipe is a mistake for the purpose of «ninja_wrapper»
make: *** [ninja_wrapper] error 1
#### make failed to build some targets (25:00 (mm:ss)) ####
Repeat
#
# configuration written to .config
#
make: Exit from the catalog «/home/samavar/omni/kernel»
make: Entrance to the catalog «/home/samavar/omni/kernel»
CHK include/generated/uapi/linux/version.h
make: Exit from the catalog «/home/samavar/omni/kernel»
[ 83% 35/42] build TARGET_KERNEL_BINARIES
FAILED: /bin/bash -c "(make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" Image.gz-dtb ) && (if grep -q 'CONFIG_OF=y' /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/.config ; then echo -e \"Building DTBs\" ; make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" dtbs ; else echo \"DTBs not enabled\" ; fi ) && (if grep -q 'CONFIG_MODULES=y' /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/.config ; then echo -e \"Building Kernel Modules\" ; make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" modules && make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel O=/home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" modules_install && mdpath=\`find /home/samavar/omni/out/target/product/suzuran/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do aarch64-linux-android-strip --strip-unneeded \$i; mv \$i /home/samavar/omni/out/target/product/suzuran/system/lib/modules/; done; fi && mdpath=\`find /home/samavar/omni/out/target/product/suzuran/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ; else echo \"Kernel Modules not enabled\" ; fi )"
make: Entrance to the catalog «/home/samavar/omni/kernel»
GEN /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/samavar/omni/kernel as source for kernel
GEN /home/samavar/omni/out/target/product/suzuran/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL /home/samavar/omni/kernel/scripts/checksyscalls.sh
<stdin>:1226:2: warning: #warning syscall sched_setattr not implemented [-Wcpp]
<stdin>:1229:2: warning: #warning syscall sched_getattr not implemented [-Wcpp]
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
/home/samavar/omni/kernel/kernel/Makefile:144: *** No X.509 certificates found ***
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
net/built-in.o: In function `qtaguid_mt':
ipc_router_security.c.text+0x6839c): undefined reference to `xt_socket_put_sk'
ipc_router_security.c.text+0x68440): undefined reference to `xt_socket_get6_sk'
ipc_router_security.c.text+0x68450): undefined reference to `xt_socket_get4_sk'
ipc_router_security.c.text+0x684ac): undefined reference to `xt_socket_put_sk'
net/built-in.o: In function `tcp_nuke_addr':
ipc_router_security.c.text+0x7ee60): undefined reference to `in6addr_any'
ipc_router_security.c.text+0x7ee70): undefined reference to `in6addr_any'
ipc_router_security.c.text+0x7efc8): undefined reference to `rt6_lookup'
/home/samavar/omni/kernel/Makefile:807: the recipe is a mistake for the purpose of «vmlinux»
make[1]: *** [vmlinux] error 1
Makefile:130: the recipe is a mistake for the purpose of «sub-make»
make: *** [sub-make] error 2
make: выход из каталога «/home/samavar/omni/kernel»
ninja: build stopped: subcommand failed.
build/core/ninja.mk:157: the recipe is a mistake for the purpose of «ninja_wrapper»
make: *** [ninja_wrapper] error 1
#### make failed to build some targets (03:21 (mm:ss)) ####
Please help to solve this problem.

Categories

Resources