Android build up fail

Android build up fail due to "device/khadas/kvim3/kvim3.mk:263: error: hardware/amlogic/wifi/configs/wifi.mk: No such file or directory
".

I repo sync the code found fetch wifi module failed.

and I git clone with “git clone https://github.com/khadas/android_device_khadas.git/ 2 -b khadas-vims-pie”. no works.

can anyone help me?

Hello @Terry @goenjoy @jasonl

Please help to resolve this issue.

Thanks.


@Mobile360 Please try with the following command:

repo sync --force-sync -j4
1 Like


tried but not work.

cd hardware/amlogic/wifi/
git status

@Mobile360 Execute the above command and see.

@Mobile360

rm -rf .repo/project-objects/android_hardware_amlogic_wifi.git
rm -rf .repo/projects/hardware/amlogic/wifi.git
rm -rf hardware/amlogic/wifi/
repo sync --force-sync hardware/amlogic/wifi/

thanks. it should work.
android build is on-going, it takes long time.

@goenjoy Hi, Android build tooks long time but failed. can you help check it? thanks a lot.
Script started on Wed 23 Sep 2020 09:18:16 AM CST
e]0;root@ubuntu: ~/Documents/Khadas19/khadasae[01;32mroot@ubuntue[00m:e[01;34m~/Documents/Khadas19/khadase[00m#
e[Ke]0;root@ubuntu: ~/Documents/Khadas19/khadasae[01;32mroot@ubuntue[00m:e[01;34m~/Documents/Khadas19/khadase[00m# build e[Ke[Ke[Ke[Ke[Ke[Kaaaaaaasource build/envsetup.sh
including device/khadas/kvim2/vendorsetup.sh
including device/khadas/kvim3l/vendorsetup.sh
including device/khadas/kvim3/vendorsetup.sh
including device/khadas/kvim/vendorsetup.sh
including sdk/bash_completion/adb.bash
e]0;root@ubuntu: ~/Documents/Khadas19/khadasae[01;32mroot@ubuntue[00m:e[01;34m~/Documents/Khadas19/khadase[00m# lunch kvim3_e[K-usde[Kerdebug
e[1mhardware/amlogic/wifi/configs/wifi.mk:43: e[35mwarning: e[0me[1mWIFI_MOUDLE is multiwifie[0m
e[1mhardware/amlogic/wifi/configs/wifi.mk:47: e[35mwarning: e[0me[1mWIFI_BUILD_IN is falsee[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:20: e[35mwarning: e[0me[1mBLUETOOTH_MODULE is BCMBTe[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:24: e[35mwarning: e[0me[1mBLUETOOTH_INF is not sete[0m

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=kvim3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-117-generic-x86_64-Ubuntu-16.04.7-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out

e]0;root@ubuntu: ~/Documents/Khadas19/khadasae[01;32mroot@ubuntue[00m:e[01;34m~/Documents/Khadas19/khadase[00m# make -j8 otapackage
e[1mhardware/amlogic/wifi/configs/wifi.mk:43: e[35mwarning: e[0me[1mWIFI_MOUDLE is multiwifie[0m
e[1mhardware/amlogic/wifi/configs/wifi.mk:47: e[35mwarning: e[0me[1mWIFI_BUILD_IN is falsee[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:20: e[35mwarning: e[0me[1mBLUETOOTH_MODULE is BCMBTe[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:24: e[35mwarning: e[0me[1mBLUETOOTH_INF is not sete[0m

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=kvim3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-117-generic-x86_64-Ubuntu-16.04.7-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out

ninja: no work to do.
ninja: no work to do.
device/khadas/kvim3/preinstall/preinstall.mk was modified, regenerating…
e[1mhardware/amlogic/wifi/configs/wifi.mk:43: e[35mwarning: e[0me[1mWIFI_MOUDLE is multiwifie[0m
e[1mhardware/amlogic/wifi/configs/wifi.mk:47: e[35mwarning: e[0me[1mWIFI_BUILD_IN is falsee[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:20: e[35mwarning: e[0me[1mBLUETOOTH_MODULE is BCMBTe[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:24: e[35mwarning: e[0me[1mBLUETOOTH_INF is not sete[0m
device/khadas/kvim3/preinstall/preinstall.mk was modified, regenerating…
e[1mhardware/amlogic/wifi/configs/wifi.mk:43: e[35mwarning: e[0me[1mWIFI_MOUDLE is multiwifie[0m
e[1mhardware/amlogic/wifi/configs/wifi.mk:47: e[35mwarning: e[0me[1mWIFI_BUILD_IN is falsee[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:20: e[35mwarning: e[0me[1mBLUETOOTH_MODULE is BCMBTe[0m
e[1mhardware/amlogic/bluetooth/configs/bluetooth.mk:24: e[35mwarning: e[0me[1mBLUETOOTH_INF is not sete[0m

[ 0% 1/17526] target thumb C++: libpqcontro…rks/services/systemcontrol/PQ/SSMHandler.cppe[K
[ 0% 2/17526] target thumb C++: libpqcontro…rks/services/systemcontrol/PQ/SSMHandler.cppe[K
[ 0% 2/17526] target thumb C++: libpqcontro…orks/services/systemcontrol/PQ/SSMHeader.cppe[K
[ 0% 3/17526] target thumb C++: libpqcontro…orks/services/systemcontrol/PQ/SSMAction.cppe[K
[ 0% 3/17526] target thumb C++: camera.amlo…ware/amlogic/camera/v3/EmulatedCameraHal.cppe[K
[ 0% 4/17526] target thumb C++: libpqcontro…orks/services/systemcontrol/PQ/SSMHeader.cppe[K
[ 0% 4/17526] target thumb C++: camera.amlo…ic/camera/v3/EmulatedCameraHotplugThread.cppe[K
[ 0% 5/17526] target thumb C++: systemcontr…rks/services/systemcontrol/SystemControl.cppe[K
[ 0% 5/17526] target thumb C++: camera.amlo…/amlogic/camera/v3/EmulatedCameraFactory.cppe[K
[ 0% 6/17526] target thumb C++: systemcontr…vices/systemcontrol/SystemControlService.cppe[K
[ 0% 6/17526] target thumb C++: camera.amlo…are/amlogic/camera/v3/EmulatedBaseCamera.cppe[K
[ 0% 7/17526] target thumb C++: systemcontr…ervices/systemcontrol/main_systemcontrol.cppe[K
[ 0% 7/17526] target thumb C++: camera.amlo…ardware/amlogic/camera/v3/EmulatedCamera.cppe[K
[ 0% 8/17526] target thumb C++: camera.amlo…are/amlogic/camera/v3/EmulatedBaseCamera.cppe[K
[ 0% 8/17526] target thumb C++: camera.amlo…e/amlogic/camera/v3/EmulatedCameraDevice.cppe[K
[ 0% 9/17526] target thumb C++: libpqcontro…rks/services/systemcontrol/PQ/CPQControl.cppe[K
[ 0% 9/17526] target thumb C++: camera.amlo…are/amlogic/camera/v3/EmulatedQemuCamera.cppe[K
[ 0% 10/17526] target thumb C++: systemcont…/services/systemcontrol/SystemControlHal.cppe[K
[ 0% 10/17526] target thumb C++: camera.aml…logic/camera/v3/EmulatedQemuCameraDevice.cppe[K
[ 0% 11/17526] target thumb C++: camera.aml…e/amlogic/camera/v3/EmulatedCameraDevice.cppe[K
[ 0% 11/17526] target thumb C++: camera.aml…are/amlogic/camera/v3/EmulatedFakeCamera.cppe[K
[ 0% 12/17526] target thumb C++: camera.aml…ware/amlogic/camera/v3/EmulatedCameraHal.cppe[K
[ 0% 12/17526] target thumb C++: camera.aml…logic/camera/v3/EmulatedFakeCameraDevice.cppe[K
[ 0% 13/17526] target thumb C++: camera.aml…logic/camera/v3/EmulatedQemuCameraDevice.cppe[K
[ 0% 13/17526] target thumb C++: camera.aml…<= hardware/amlogic/camera/v3/Converters.cppe[K
[ 0% 14/17526] target thumb C++: camera.aml…are/amlogic/camera/v3/EmulatedQemuCamera.cppe[K
[ 0% 14/17526] target thumb C++: camera.aml…hardware/amlogic/camera/v3/PreviewWindow.cppe[K
[ 0% 15/17526] target thumb C++: camera.aml…<= hardware/amlogic/camera/v3/Converters.cppe[K
[ 0% 15/17526] target thumb C++: camera.aml…dware/amlogic/camera/v3/CallbackNotifier.cppe[K
[ 0% 16/17526] target thumb C++: camera.aml…ic/camera/v3/EmulatedCameraHotplugThread.cppe[K
[ 0% 16/17526] target thumb C++: camera.aml…<= hardware/amlogic/camera/v3/QemuClient.cppe[K
[ 0% 17/17526] target thumb C++: camera.aml…are/amlogic/camera/v3/EmulatedFakeCamera.cppe[K
[ 0% 17/17526] target thumb C++: camera.aml…ardware/amlogic/camera/v3/JpegCompressor.cppe[K
[ 0% 18/17526] target thumb C++: camera.aml…/amlogic/camera/v3/EmulatedCameraFactory.cppe[K
[ 0% 18/17526] target thumb C++: camera.aml…e/amlogic/camera/v3/fake-pipeline2/Scene.cppe[K
[ 0% 19/17526] target thumb C++: camera.aml…ardware/amlogic/camera/v3/EmulatedCamera.cppe[K
[ 0% 19/17526] target thumb C++: camera.aml…/amlogic/camera/v3/fake-pipeline2/Sensor.cppe[K
[ 0% 20/17526] target thumb C++: camera.aml…ardware/amlogic/camera/v3/JpegCompressor.cppe[K
[ 0% 20/17526] target thumb C++: camera.aml…gic/camera/v3/fake-pipeline2/ge2d_stream.cppe[K
[ 0% 21/17526] target thumb C++: camera.aml…logic/camera/v3/EmulatedFakeCameraDevice.cppe[K
[ 0% 21/17526] target thumb C++: camera.aml…/camera/v3/fake-pipeline2/JpegCompressor.cppe[K
[ 0% 22/17526] target thumb C++: camera.aml…<= hardware/amlogic/camera/v3/QemuClient.cppe[K
[ 0% 22/17526] target thumb C++: camera.aml…rdware/amlogic/camera/v3/EmulatedCamera3.cppe[K
[ 0% 23/17526] target thumb C++: camera.aml…e/amlogic/camera/v3/fake-pipeline2/Scene.cppe[K
[ 0% 23/17526] target thumb C++: camera.aml…re/amlogic/camera/v3/EmulatedFakeCamera3.cppe[K
[ 0% 24/17526] target thumb C++: camera.aml…gic/camera/v3/fake-pipeline2/ge2d_stream.cppe[K
[ 0% 24/17526] target thumb C++: camera.aml…mlogic/camera/v3/EmulatedFakeCamera3Info.cppe[K
[ 0% 25/17526] target thumb C++: camera.aml…dware/amlogic/camera/v3/CallbackNotifier.cppe[K
[ 0% 25/17526] target thumb C++: camera.aml…logic/camera/v3/fake-pipeline2/camera_hw.cppe[K
[ 0% 26/17526] target thumb C++: camera.aml…rdware/amlogic/camera/v3/EmulatedCamera3.cppe[K
[ 0% 26/17526] target thumb C++: camera.aml…<= hardware/amlogic/camera/v3/VendorTags.cppe[K
[ 0% 27/17526] target thumb C++: camera.aml…hardware/amlogic/camera/v3/PreviewWindow.cppe[K
[ 0% 27/17526] target thumb C: camera.amlog…logic/camera/v3/fake-pipeline2/NV12_resize.ce[K
[ 0% 28/17526] target thumb C++: camera.aml…mlogic/camera/v3/EmulatedFakeCamera3Info.cppe[K
[ 0% 28/17526] target thumb C: camera.amlog…ware/amlogic/camera/v3/fake-pipeline2/util.ce[K
[ 0% 29/17526] target thumb C++: camera.aml…logic/camera/v3/fake-pipeline2/camera_hw.cppe[K
[ 0% 29/17526] Copy: out/target/product/kvi…vendor/etc/init/hw/init.amlogic.bluetooth.rce[K
[ 0% 30/17526] target thumb C++: camera.aml…<= hardware/amlogic/camera/v3/VendorTags.cppe[K
[ 0% 30/17526] //hardware/interfaces/radio/…ng++ android/hardware/radio/1.0/RadioAll.cppe[K
[ 0% 31/17526] Copy: out/target/product/kvi…vendor/etc/init/hw/init.amlogic.bluetooth.rce[K
[ 0% 31/17526] //hardware/interfaces/radio/…roid/hardware/radio/1.0/RadioResponseAll.cppe[K
[ 0% 32/17526] target thumb C: camera.amlog…ware/amlogic/camera/v3/fake-pipeline2/util.ce[K
[ 0% 32/17526] //hardware/interfaces/radio/…ng++ android/hardware/radio/1.1/RadioAll.cppe[K
[ 0% 33/17526] target thumb C: camera.amlog…logic/camera/v3/fake-pipeline2/NV12_resize.ce[K
[ 0% 33/17526] //hardware/interfaces/radio/…roid/hardware/radio/1.1/RadioResponseAll.cppe[K
[ 0% 34/17526] target thumb C++: camera.aml…/amlogic/camera/v3/fake-pipeline2/Sensor.cppe[K
[ 0% 34/17526] //hardware/interfaces/radio/…ng++ android/hardware/radio/1.2/RadioAll.cppe[K
[ 0% 35/17526] target thumb C++: camera.aml…re/amlogic/camera/v3/EmulatedFakeCamera3.cppe[K
[ 0% 35/17526] //hardware/interfaces/radio/…id/hardware/radio/1.2/RadioIndicationAll.cppe[K
[ 0% 36/17526] target thumb C++: camera.aml…/camera/v3/fake-pipeline2/JpegCompressor.cppe[K
[ 0% 36/17526] //hardware/interfaces/radio/…roid/hardware/radio/1.2/RadioResponseAll.cppe[K
[ 0% 37/17526] build out/target/product/kvim3/obj/KERNEL_OBJ/.confige[K
make: Entering directory ‘/home/george/Documents/Khadas19/khadas/common’
make[1]: Entering directory ‘/home/george/Documents/Khadas19/khadas/out/target/product/kvim3/obj/KERNEL_OBJ’
GEN ./Makefile
arch/arm/configs/kvim_a32_defconfig:492:warning: unexpected data: GONFIG_GPIOLIB=y
arch/arm/configs/kvim_a32_defconfig:493:warning: unexpected data: GONFIG_OF_GPIO=y

configuration written to .config

make[1]: Leaving directory ‘/home/george/Documents/Khadas19/khadas/out/target/product/kvim3/obj/KERNEL_OBJ’
make: Leaving directory ‘/home/george/Documents/Khadas19/khadas/common’

[ 0% 37/17526] make Imagee[K09:23:37 ninja failed with: signal: killed

e[0;31m#### failed to build some targets (04:46 (mm:ss)) ####e[00m

e]0;root@ubuntu: ~/Documents/Khadas19/khadasae[01;32mroot@ubuntue[00m:e[01;34m~/Documents/Khadas19/khadase[00m# exit
exit

Script done on Wed 23 Sep 2020 09:24:24 AM CST

@Mobile360 Log is not very clear, from the given log can not see the problem. Are you sure the code is OK?
Post log in the following way:

log

image

[链接:https://pan.baidu.com/s/1aYkdBPsolOvvq9rnIaJUgw 提取码:vim3](链接:https://pan.baidu.com/s/1aYkdBPsolOvvq9rnIaJUgw 提取码:vim3)
I post the build log here. please help check.

I downloaded the code in archived format and uncompressed in ubuntu, followed the README.md.

Your log is the same as the above log, it’s useless. You’d better make sure the code is correct:

repo status

[链接:https://pan.baidu.com/s/1AaRYWYGdB_37KGrPgX9R6A 提取码:vim3](链接:https://pan.baidu.com/s/1AaRYWYGdB_37KGrPgX9R6A 提取码:vim3)

it should be ok.


Why are your logs all displayed abnormally? What have you modified in this screenshot?

NO, it’s script command captured.

[链接:https://pan.baidu.com/s/1Gt7XI0jLwz0WqwwIG0aA5w 提取码:vim3](链接:https://pan.baidu.com/s/1Gt7XI0jLwz0WqwwIG0aA5w 提取码:vim3)

repo status result, please check.

source build/envsetup.sh
lunch kvim3-userdebug
make bootimage

First compile the kernel to see

[链接:https://pan.baidu.com/s/1MHMQPpY9eTAj6SjqD6Ofwg 提取码:vim3](链接:https://pan.baidu.com/s/1MHMQPpY9eTAj6SjqD6Ofwg 提取码:vim3)

boot image build pass.

[链接:https://pan.baidu.com/s/1gAYsCiWcwZ0u_007iFjCog 提取码:vim3

it’s android build log, failed.


1 Like