Re: Build error "kernel-module-qcacld-lea" with imx8mqevk


Alex Gonzalez
 

On Thu, Jun 27, 2019 at 01:09:36PM +0000, Karim ATIKI wrote:
Hi all,

I'm experiencing a weird build error while building recipe kernel-module-qcacld-lea.
I'm building with poky rocko and imx 4.9.88.2.0.0 GA.
My machine is based on imx8mqevk.

I don't understand the error log as everything look correct in the source file.
Any suggestion ?

errors below:


NOTE: make -j 8 KERNEL_SRC=/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work-shared/imx8mqevk/kernel-source CONFIG_NON_QC_PLATFORM=y CONFIG_ROME_IF=pci KERNEL_PATH=/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work-shared/imx8mqevk/kernel-source KERNEL_VERSION=4.9.88+g5e23f9d61147 CC=aarch64-poky-linux-gcc -fuse-ld=bfd LD=aarch64-poky-linux-ld.bfd AR=aarch64-poky-linux-ar O=/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work-shared/imx8mqevk/kernel-build-artifacts KBUILD_EXTRA_SYMBOLS=
make -C /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work-shared/imx8mqevk/kernel-source M=/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git modules WLAN_ROOT=/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git MODNAME?=wlan CONFIG_QCA_WIFI_ISOC=0 CONFIG_QCA_WIFI_2_0=1 CONFIG_QCA_CLD_WLAN=m WLAN_OPEN_SOURCE=1
make[1]: Entering directory '/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work-shared/imx8mqevk/kernel-source'
make[2] : on entre dans le répertoire « /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work-shared/imx8mqevk/kernel-build-artifacts »
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_wext.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limApi.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limAssocUtils.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limDebug.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limFT.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limIbssPeerMgmt.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.o
CC [M] /opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/MAC/src/pe/lim/limLogDump.o
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7395:5: error: 'const struct iw_handler_def' has no member named 'num_private'
.num_private = sizeof(hostapd_private) / sizeof(hostapd_private[0]),
^~~~~~~~~~~
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7395:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
.num_private = sizeof(hostapd_private) / sizeof(hostapd_private[0]),
^~~~~~
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7395:24: note: (near initialization for 'hostapd_handler_def.get_wireless_stats')
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7396:5: error: 'const struct iw_handler_def' has no member named 'num_private_args'
.num_private_args = sizeof(hostapd_private_args) / sizeof(hostapd_private_args[0]),
^~~~~~~~~~~~~~~~
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7396:24: warning: excess elements in struct initializer
.num_private_args = sizeof(hostapd_private_args) / sizeof(hostapd_private_args[0]),
^~~~~~
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7396:24: note: (near initialization for 'hostapd_handler_def')
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7398:5: error: 'const struct iw_handler_def' has no member named 'private'
.private = (iw_handler *)hostapd_private,
^~~~~~~
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7398:24: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
.private = (iw_handler *)hostapd_private,
^
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7398:24: note: (near initialization for 'hostapd_handler_def.num_standard')
/opt/yocto/imx8/fsl-imx8-ga-rocko/build-xwayland/tmp/work/imx8mqevk-poky-linux/kernel-module-qcacld-lea/1.0-r0/git/CORE/HDD/src/wlan_hdd_hostapd.c:7398:24: error: initializer element is not computable at load time
--
_______________________________________________
meta-freescale mailing list
meta-freescale@...
https://lists.yoctoproject.org/listinfo/meta-freescale
It may be that the driver needs the deprecated wireless extensions. You could
try to define CONFIG_HOSTAP in your kernel configuration as a module so that
the WIRELESS_EXT get built. Just don't include the HOSTAP module on your final
root filesystem.

Regards,
Alex

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.