Please help. I am encountering following errors during compilation..
Code:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
and
Code:
<command-line>: warning: "REFRESH_RATE" redefined
<command-line>: warning: this is the location of the previous definition
system/core/libpixelflinger/codeflinger/disassem.c:710: warning: initialization from incompatible pointer type
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
I tried it on my phone and it worked fine I could never run the wifi
Related
Im trying to compile a CM kernel for my device using this guide:
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
I run into this error:
[email protected]:~/android/kernel/cm-kernel$ make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
cc1: error: unrecognized command line option ‘-mlittle-endian’
cc1: error: unrecognized command line option ‘-mapcs’
cc1: error: unrecognized command line option ‘-mno-sched-prolog’
scripts/mod/empty.c:1:0: error: unknown ABI (apcs-gnu) for -mabi= switch
scripts/mod/empty.c:1:0: error: bad value (armv4t) for -march= switch
scripts/mod/empty.c:1:0: error: bad value (arm9tdmi) for -mtune= switch
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/android/kernel/cm-kernel$
I did have a look in the scripts/mod/empty.c file. Only line of txt in there is:
/* empty file to figure out endianness / word size */
my config file: http://www.mediafire.com/?5kq9m6vecl22rzx
Someone a idee how to fix this problem?
I have been having issues building Jelly Bean, and I can't find the answers anyway
I know people have had similar issues, but the topic has always just suddenly been dropped
Here are the errors, please help me fix them
http://pastebin.com/LXmRxUPm
Code:
target thumb C++: libSR_AudioIn <= external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioSetVolume(int, int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:155:61: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:58:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::setStreamVolume(audio_stream_type_t, float, audio_io_handle_t)' [-fpermissive]
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioGetVolume(int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:165:50: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:60:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::getStreamVolume(audio_stream_type_t, float*, audio_io_handle_t)' [-fpermissive]
make: *** [out/target/product/p350/obj/SHARED_LIBRARIES/libSR_AudioIn_intermediates/audioinwrapper.o] Error 1
make: *** Waiting for unfinished jobs....
true
and this one
http://pastebin.com/jf7G1iR2
Code:
target thumb C++: audio.primary.goldfish <= device/generic/goldfish/audio/AudioHardwareGeneric.cpp
device/generic/goldfish/audio/AudioHardwareGeneric.cpp: In function 'android_audio_legacy::AudioHardwareInterface* android_audio_legacy::createAudioHardware()':
device/generic/goldfish/audio/AudioHardwareGeneric.cpp:411:37: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioHardwareGeneric'
device/generic/goldfish/audio/AudioHardwareGeneric.h:105:7: note: because the following virtual functions are pure within 'android_audio_legacy::AudioHardwareGeneric':
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:342:29: note: virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareInterface::openOutputStream(uint32_t, audio_output_flags_t, int*, uint32_t*, uint32_t*, android::status_t*)
make: *** [out/target/product/p350/obj/SHARED_LIBRARIES/audio.primary.goldfish_intermediates/AudioHardwareGeneric.o] Error 1
make: *** Waiting for unfinished jobs....
Is there anyone that can help, or does anyone know about anyone that can help?
edit:
forgot to give links to device folders
https://github.com/Team-Pecan/cm_device_lge_p350/tree/jellybean
https://github.com/lgics/cm_device_lge_msm7x27-common
I had this too,use srec from CM.
Bytecode said:
I had this too,use srec from CM.
Click to expand...
Click to collapse
Can you explain to me please? This is my first build that I have set up myself
I've fixed about 5 errors so far but this following error seems to be confusing for me.
PHP:
target thumb C++: libandroid <= frameworks/base/native/android/looper.cpp
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioSetVolume(int, int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:155:61: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:58:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::setStreamVolume(audio_stream_type_t, float, audio_io_handle_t)' [-fpermissive]
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioGetVolume(int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:165:50: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:60:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::getStreamVolume(audio_stream_type_t, float*, audio_io_handle_t)' [-fpermissive]
make: *** [out/target/product/chacha/obj/SHARED_LIBRARIES/libSR_AudioIn_intermediates/audioinwrapper.o] Error 1
make: *** Waiting for unfinished jobs....
Fix:
Use audio srec from cyanogenmod git.
I'm just going to bump this for a final time. Much appreciated if anyone has any suggestions or comments.
Hi everyone this is my first post on this forum.
I am trying to build AOSP from source for samsung galaxy tab 2 7 (GT-P3113) but i got many errors and build stops here is my build log :
[[email protected] android4.3]$ make otapckage -j10
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_p3113
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.11.1-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=out
============================================
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/bin/hostapd'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/bin/hostapd'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libdomx.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libdomx.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libI420colorconvert.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libI420colorconvert.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libmm_osal.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libmm_osal.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX_Core.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX_Core.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE p3113
make: *** No rule to make target `otapckage'. Stop.
Can you help me please ?
Charly1811 said:
make: *** No rule to make target `otapckage'. Stop.
Click to expand...
Click to collapse
I think you missed one char in otapackage
Sent from my HTC Incredible S using XDA Premium 4 mobile app
yes that's right sorry . But i got another error :
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSStyleRule.h] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSImportRule.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSPrimitiveValue.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSValue.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSStyleSheet.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8MediaQueryList.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8Counter.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSPageRule.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSStyleDeclaration.h] Killed
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8Rect.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8StyleSheet.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSFontFaceRule.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSRule.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSCharsetRule.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8StyleMedia.h] Error 12
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8RGBColor.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSMediaRule.h] Error 12
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSValueList.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8WebKitCSSMatrix.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8MediaList.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSRuleList.h] Error 12
target Generated: libwebcore <= external/webkit/Source/WebCore/dom/ClientRectList.idl
target Generated: libwebcore <= external/webkit/Source/WebCore/dom/Clipboard.idl
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8WebKitCSSKeyframeRule.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8WebKitCSSTransformValue.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8ClientRectList.h] Killed
make: *** Deleting file `out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8ClientRectList.h'
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.
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.
What to do now
hello I creatin lineage os 19 but mka bacon error
HOSTCC scripts/basic/fixdep
GEN ./Makefile
ld.lld: error: cannot open crtbegin.o: No such file or directory
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_s
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_s
ld.lld: error: cannot open crtend.o: No such file or directory
clang-12: error: linker command failed with exit code 1 (use -v to see invocatio
n)
make[2]: *** [scripts/Makefile.host:91: scripts/basic/fixdep] Error 1
make[1]: *** [/home/kozlu14/Android/kernel/tinno/msm8937/Makefile:452: scripts_b
asic] Error 2
make[1]: Leaving directory '/home/kozlu14/Android/out/target/product/garlic/obj/
KERNEL_OBJ'
make: *** [Makefile:145: sub-make] Error 2
make: Leaving directory '/home/kozlu14/Android/kernel/tinno/msm8937'
20:24:29 ninja failed with: exit status 1
ı can a problem fix?