Hi,
I have a problem building the Android FS on OSX 10.8.5,
I made a case-sensitive FS, and brewed the required packages from the different tutorials,
The problem is more OS related:
Code:
Code:
target arm C++: libwebrtc_apm <= out/target/product/generic/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_cpu.so -> ./libbltsville_ticpu.so
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Install: out/host/darwin-x86/bin/minigzip
cp: the -R and -r options may not be specified together.
make: *** [out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so'
make: *** Waiting for unfinished jobs....
Any ideas for the reason? and how to solve it?
Thanks,
K
Related
i've downloaded the toolchain linaro and extracted in
home/username/android/toolchain/linaro
the suorce on:
home/username/android/maguro
did this command
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/home/antonio/android/toolchains/linaro/bin/arm-eabi-
make tuna_defconfig
but have this error:
Code:
HOSTCC scripts/basic/fixdep
/bin/sh: 1: ccache: not found
make[1]: *** [scripts/basic/fixdep] Errore 127
make: *** [scripts_basic] Errore 2
how can i resolve???
apt-get install ccache
looks like you didn't have that command. install it
gbcbooks said:
apt-get install ccache
looks like you didn't have that command. install it
Click to expand...
Click to collapse
thanks it worked
this can be closed
Closed on OP's request.
when i tried to compile cm10.2 on osx mavericks & xcode 5, i catch a problem:
target StaticLib: libwebrtc_apm (/Volumes/android/cm10/out/target/product/i9100g/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/libwebrtc_apm.a)
Symlink: /Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Copy: /Volumes/android/cm10/out/target/product/i9100g/system/app/Term.apk
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
cp: the -R and -r options may not be specified together.
make: *** [/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so'
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
make: *** Waiting for unfinished jobs....
is anyone has solved this problem before? i'm a newer in this...
kliner67 said:
when i tried to compile cm10.2 on osx mavericks & xcode 5, i catch a problem:
target StaticLib: libwebrtc_apm (/Volumes/android/cm10/out/target/product/i9100g/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/libwebrtc_apm.a)
Symlink: /Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Copy: /Volumes/android/cm10/out/target/product/i9100g/system/app/Term.apk
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
cp: the -R and -r options may not be specified together.
make: *** [/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so'
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
make: *** Waiting for unfinished jobs....
is anyone has solved this problem before? i'm a newer in this...
Click to expand...
Click to collapse
maybe the version of cp in mavericks is different from normal?? anyone helps me...
Hello All ,
When I build android lollipop 5.0.0.1 , at the end system_sparse.img is not converted to system.img ,
following error is show
if [ true = true ]; then \
simg2img out/target/product/evk_6sl/system_sparse.img out/target/product/evk_6sl/system.img; \
fi
/bin/bash: line 1: simg2img: command not found
make: *** [out/target/product/evk_6sl/system_sparse.img] Error 127
make: *** Deleting file `out/target/product/evk_6sl/system_sparse.img'
simg2img is found in the path /out/host/linux-x86/bin/simg2img
AND /out/host/linux-x86/bin/ is export to PATH environment variable.
Still simg2img command is not found ....?
Please help me sort out this issue.
Regards,
Kishore P
So, I am trying to port LineageOS 15.1 to the Galaxy S8, but I keep getting stuck here, receiving some weird errors. I am quite new to this whole world so I have no understanding of the errors. Can someone help me or point me into the direction of fixing this?
Code:
[ 0% 34/88264] Building Kernel Config
FAILED: /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config
/bin/bash -c "(make -j8 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-a
ndroid-\" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= exynos8895-dreamlte_defconfig ) && (if [ ! -z \"\" ]; then echo \"Overriding kernel config with ''\"; echo >>
/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config; make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreaml
te/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" oldconfig; fi ) && (make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERN
EL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" savedefconfig ) && (if [ ! -z \"\" ]; then echo \"Using additional config ''\"; kernel/samsung/u
niversal8895/scripts/kconfig/merge_config.sh -m -O /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config
kernel/samsung/universal8895/arch/arm64/configs/; make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ ARCH=arm64 CRO
SS_COMPILE=\" aarch64-linux-android-\" KCONFIG_ALLCONFIG=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/home/george_gica14/lineage/kernel/samsung/universal8895'
make[1]: Entering directory '/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ'
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
GEN ./Makefile
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
Kconfig:15:warning: environment variable ANDROID_MAJOR_VERSION undefined
net/Kconfig:83: can't open file "net/wireguard/Kconfig"
/home/george_gica14/lineage/kernel/samsung/universal8895/scripts/kconfig/Makefile:110: recipe for target 'exynos8895-dreamlte_defconfig' failed
make[2]: *** [exynos8895-dreamlte_defconfig] Error 1
/home/george_gica14/lineage/kernel/samsung/universal8895/Makefile:592: recipe for target 'exynos8895-dreamlte_defconfig' failed
make[1]: *** [exynos8895-dreamlte_defconfig] Error 2
make[1]: Leaving directory '/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ'
Makefile:152: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/george_gica14/lineage/kernel/samsung/universal8895'
[ 0% 43/88264] target thumb C++: libv8src_32 <= external/v8/src/asmjs/asm-typer.cc
ninja: build stopped: subcommand failed.
23:09:51 ninja failed with: exit status 1
#### failed to build some targets (01:20 (mm:ss)) ####
[email protected]:~/lineage$
hi guys i want to ask if how am i fix this error
4 warnings generated.
[ 93% 6651/7077] build /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp
FAILED: /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp
/bin/bash -c "m4 -s system/sepolicy/file_contexts /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl > /home/osboxes/TWRP/out/target/product/CPH1717/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp"
/bin/bash: line 1: m4: command not found
[ 93% 6651/7077] target thumb C: libncurses_32 <= external/libncurses/ncurses/tty/tty_update.c
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:158: ninja_wrapper] Error 1
[email protected]:~/TWRP$