Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build for Luckfox pico mini B (Ubuntu) #293

Open
dodgekaze opened this issue Aug 28, 2024 · 1 comment
Open

unable to build for Luckfox pico mini B (Ubuntu) #293

dodgekaze opened this issue Aug 28, 2024 · 1 comment

Comments

@dodgekaze
Copy link

I am trying to build the driver for the Luckfox Pico Mini B. Once I start the build process and once it hits the drivers/wifi part and tries to build the rtl8188eu it provides me with the following error:

  MODPOST /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/Module.symvers
ERROR: modpost: module 8188eu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8188eu uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
make[5]: *** [scripts/Makefile.modpost:169: /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/Module.symvers] Error 1
make[5]: *** Deleting file '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/Module.symvers'
make[4]: *** [Makefile:1819: modules] Error 2
make[4]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/source/kernel'
make[3]: *** [Makefile:2068: modules] Error 2
make[3]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu'
make[2]: *** [Makefile:78: build-usb] Error 2
make[2]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi'
make[1]: *** [Makefile:23: all] Error 2
make[1]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko'
make: *** [Makefile:685: drv] Error 2
make: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv'
[build.sh:error] Running build_sysdrv failed!
[build.sh:error] exit code 2 from line 653:
[build.sh:info]     make -C ${SDK_SYSDRV_DIR}

I have made the following modifications

  • in the make file set arm to Y and i386PC to N (I figured because the target device; Luckfox Pico mini b is arm based)
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y

below modules: (line 2067) I added after the first line:

modules:
	$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
	cp $(shell pwd)/8188eu.ko $(M_OUT_DIR)
	@mkdir -p $(SYSDRV_DIR_OUT_ROOTFS)/lib/firmware/rtlwifi
	cp $(shell pwd)/rtl8188eufw.bin $(SYSDRV_DIR_OUT_ROOTFS)/lib/firmware/rtlwifi

In the pico sdk makefile I have added: (yes I cloned this repo and changed the folder name from rtl8188eus to rtl8188eu

build-usb:
	@make -C rtl8188eu/

Here is the full log when the build process arrives at the rtl8188 driver:

make[3]: Entering directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu'
make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- -C /home/fredsco/dev/luckfox-pico/sysdrv/source/kernel M=/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu  modules
make[4]: Entering directory '/home/fredsco/dev/luckfox-pico/sysdrv/source/kernel'
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_cmd.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_security.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_debug.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_io.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_ioctl_query.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_ioctl_set.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_ieee80211.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_mlme.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_mlme_ext.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_mi.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_wlan_util.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_vht.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_pwrctrl.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_rf.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_recv.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_sta_mgt.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_ap.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/mesh/rtw_mesh.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_xmit.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_p2p.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_rson.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_tdls.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_br_ext.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_iol.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_sreset.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_btcoex_wifionly.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_btcoex.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_beamforming.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_odm.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_rm.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_rm_fsm.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/efuse/rtw_efuse.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/osdep_service.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/os_intfs.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/usb_intf.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/usb_ops_linux.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/ioctl_linux.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/xmit_linux.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/mlme_linux.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/recv_linux.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/wifi_regd.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/rtw_android.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/rtw_proc.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/rtw_rhashtable.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/os_dep/linux/ioctl_mp.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_intf.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_com.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_com_phycfg.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_phy.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_dm.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_dm_acs.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_btcoex_wifionly.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_btcoex.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_mp.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_mcc.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/hal_hci/hal_usb.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/led/hal_led.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/led/hal_usb_led.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/HalPwrSeqCmd.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/Hal8188EPwrSeq.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_xmit.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_sreset.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_phycfg.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_rf6052.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_dm.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_rxdesc.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/rtl8188e_cmd.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/hal8188e_s_fw.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/hal8188e_t_fw.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/usb/usb_halinit.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/usb/rtl8188eu_led.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/usb/rtl8188eu_xmit.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/usb/rtl8188eu_recv.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/rtl8188e/usb/usb_ops_linux.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/efuse/rtl8188e/HalEfuseMask8188E_USB.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_debug.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_antdiv.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_soml.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_smt_ant.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_antdect.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_interface.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_phystatus.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_hwconfig.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_dig.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_pathdiv.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_rainfo.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_adaptivity.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_cfotracking.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_noisemonitor.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_beamforming.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_dfs.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_adc_sampling.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_ccx.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_psd.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_primary_cca.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_cck_pd.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_auto_dbg.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_math_lib.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_api.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/phydm_pow_train.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/halrf/halrf.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/halrf/halphyrf_ce.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/halrf/halrf_kfree.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/rtl8188e/halhwimg8188e_mac.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/rtl8188e/halhwimg8188e_bb.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/rtl8188e/halhwimg8188e_rf.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/halrf/rtl8188e/halrf_8188e_ce.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/rtl8188e/phydm_regconfig8188e.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/rtl8188e/hal8188erateadaptive.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/hal/phydm/rtl8188e/phydm_rtl8188e.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/platform/platform_ops.o
  CC [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/core/rtw_mp.o
  LD [M]  /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/8188eu.o
  MODPOST /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/Module.symvers
ERROR: modpost: module 8188eu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8188eu uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
make[5]: *** [scripts/Makefile.modpost:169: /home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/Module.symvers] Error 1
make[5]: *** Deleting file '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu/Module.symvers'
make[4]: *** [Makefile:1819: modules] Error 2
make[4]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/source/kernel'
make[3]: *** [Makefile:2068: modules] Error 2
make[3]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi/rtl8188eu'
make[2]: *** [Makefile:78: build-usb] Error 2
make[2]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko/wifi'
make[1]: *** [Makefile:23: all] Error 2
make[1]: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv/drv_ko'
make: *** [Makefile:685: drv] Error 2
make: Leaving directory '/home/fredsco/dev/luckfox-pico/sysdrv'
[build.sh:error] Running build_sysdrv failed!
[build.sh:error] exit code 2 from line 653:
[build.sh:info]     make -C ${SDK_SYSDRV_DIR}
@gglluukk
Copy link
Contributor

hi!
it seems that kernel at your device doesn't import these calls: kernel_read() and filp_open().

there was a similar issue: #287 (comment)

as trying easiest way first you can in code's sources:
grep -nr -e kernel_read -e filp_open *
and comment out these calls in code, compile, load driver and check if they are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants