Vim3 android compile error

Which system do you use? Android, Ubuntu, OOWOW or others?

ubuntu 22.04

Please describe your issue below:

meet error when compile khadas-vims-pie android branch

compile cmd:
source build/envsetup.sh
lunch kvim3-userdebug
make -j4 otapackage

Post a console log of your issue below:


/home/yfx/Project/out/target/product/kvim3/obj/tb_modules//Makefile:19: "this is 32bit"
  MODPOST 1 modules
  CC      /home/yfx/Project/out/target/product/kvim3/obj/tb_modules//tb_detect.mod.o
  LD [M]  /home/yfx/Project/out/target/product/kvim3/obj/tb_modules//tb_detect.ko
make: Leaving directory '/home/yfx/Project/out/target/product/kvim3/obj/KERNEL_OBJ'
make Amlogic TB Detect module finished current dir is /home/yfx/Project
**cp: cannot stat 'out/target/product/kvim3/obj/KERNEL_OBJ/drivers/usb/dwc3/dwc3.ko': No such file or directory**
**cp: cannot stat 'out/target/product/kvim3/obj/KERNEL_OBJ/drivers/amlogic/usb/dwc_otg/310/dwc_otg.ko': No such file or directory**
make: Entering directory '/home/yfx/Project/out/target/product/kvim3/obj/KERNEL_OBJ'
  Building modules, stage 2.
  MODPOST 27 modules
WARNING: /home/yfx/Project/out/target/product/kvim3/obj/media_modules/stream_input/parser/hw_demux/aml_hardware_dmx: 'aml_get_dvb_adapter' exported twice. Previous export was in /home/yfx/Project/out/target/product/kvim3/obj/media_modules/stream_input/parser/demux/aml_swdmx.ko
WARNING: /home/yfx/Project/out/target/product/kvim3/obj/media_modules/stream_input/parser/hw_demux/aml_hardware_dmx: 'aml_get_dvb_device' exported twice. Previous export was in /home/yfx/Project/out/target/product/kvim3/obj/media_modules/stream_input/parser/demux/aml_swdmx.ko
make: Leaving directory '/home/yfx/Project/out/target/product/kvim3/obj/KERNEL_OBJ'
make: Entering directory '/home/yfx/Project/out/target/product/kvim3/obj/KERNEL_OBJ'
  Building modules, stage 2.
  MODPOST 1 modules

This error seems to be caused by Ubuntu 22.04;

After I change ubuntu22.04 to ubunt18.04, android is compiled successful