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

Compiling with uwe5622 driver fails (zeropi2) #36

Open
stewartwatson321 opened this issue Apr 30, 2024 · 0 comments
Open

Compiling with uwe5622 driver fails (zeropi2) #36

stewartwatson321 opened this issue Apr 30, 2024 · 0 comments

Comments

@stewartwatson321
Copy link

stewartwatson321 commented Apr 30, 2024

Hi

Getting error when trying to compile with zero2 target and including uwe5622 driver.

Clean installation of Debian [version 12.5 / 6.1.0-20-amd64]; clean installation of OpenWrt build environment.

Receiving following compile error:

make[3] -C feeds/packages/utils/bash compile
 make[3] -C package/kernel/uwe5622 compile
 make[3] -C feeds/luci/collections/luci-light compile
 make[3] -C package/utils/e2fsprogs compile
 make[3] -C package/utils/f2fs-tools compile
    ERROR: package/kernel/uwe5622 failed to build.
 make[3] -C package/utils/f2fs-tools compile
 make[3] -C package/utils/f2fs-tools compile
 make[3] -C package/utils/f2fs-tools compile
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/stewart/openwrt/include/toplevel.mk:232: world] Error 1

More verbose output:

./scripts/check-local-export /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/unisocwifi/debug.o
  aarch64-openwrt-linux-musl-ld -EL  -maarch64elf -z noexecstack --no-warn-rwx-segments   -r -o /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/sprdwl_ng.o @/home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/sprdwl_ng.mod
  {   echo /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/uwe5622_bsp_sdio.ko;   echo /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/sprdwl_ng.ko; :; } > /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/modules.order
bash ./scripts/modules-check.sh /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/modules.order
make -f ./scripts/Makefile.modpost
=====================================================================
=====================================================================
=====================================================================
src=/home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622
   sed 's/ko$/o/'  /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/modules.order | scripts/mod/modpost      -o /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/Module.symvers -e -i Module.symvers -i /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/symvers/mac80211.symvers -T -
ERROR: modpost: "sched_setscheduler" [/home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/uwe5622_bsp_sdio.ko] undefined!
make[5]: *** [scripts/Makefile.modpost:126: /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/Module.symvers] Error 1
make[4]: *** [Makefile:1966: modpost] Error 2
make[4]: Leaving directory '/home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-6.1.74'
make[3]: *** [Makefile:51: /home/stewart/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/uwe5622/.built] Error 2
make[3]: Leaving directory '/home/stewart/openwrt/package/kernel/uwe5622'
time: package/kernel/uwe5622/compile#21.79#7.17#28.85
    ERROR: package/kernel/uwe5622 failed to build.
make[2]: *** [package/Makefile:128: package/kernel/uwe5622/compile] Error 1
make[2]: Leaving directory '/home/stewart/openwrt'
make[1]: *** [package/Makefile:122: /home/stewart/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/stewart/openwrt'
make: *** [/home/stewart/openwrt/include/toplevel.mk:232: world] Error 2

Compiling without uwe5622 driver works fine.

Please can we fix this - I need the Wi-Fi driver in production.

I am happy to help if further information needed.

Thank you.

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

1 participant