<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 88Q9098(mlan.ko) compile problem in Embedded Software and Tools Clinic</title>
    <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/88Q9098-mlan-ko-compile-problem/m-p/1182995#M148</link>
    <description>&lt;P&gt;In order to use u-blox jody-w3 (88Q9098), we need to compile the kernel module.&lt;BR /&gt;However, an error occurs when a kernel using flex-builder (ls1027a) is used.&lt;BR /&gt;Can I see what I did wrong?&lt;/P&gt;&lt;P&gt;== error log =================================================================&lt;/P&gt;&lt;P&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c: In function ‘woal_reset_intf’:&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c:5775:12: error: ‘moal_handle {aka struct _moal_handle}’ has no member named ‘mon_if’&lt;BR /&gt;if (handle-&amp;gt;mon_if) {&lt;BR /&gt;^~&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c:5777:30: error: ‘moal_handle {aka struct _moal_handle}’ has no member named ‘mon_if’&lt;BR /&gt;woal_set_net_monitor(handle-&amp;gt;mon_if-&amp;gt;priv, wait_option,&lt;BR /&gt;^~&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c:5780:29: error: ‘moal_handle {aka struct _moal_handle}’ has no member named ‘mon_if’&lt;BR /&gt;netif_device_detach(handle-&amp;gt;mon_if-&amp;gt;mon_ndev);&lt;BR /&gt;^~&lt;/P&gt;&lt;P&gt;.......&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/scripts/Makefile.build:265: recipe for target '/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.o' failed&lt;BR /&gt;make[3]: *** [/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.o] Error 1&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:1652: recipe for target '/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src' failed&lt;BR /&gt;make[2]: *** [/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src] Error 2&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:179: recipe for target 'sub-make' failed&lt;BR /&gt;make[1]: *** [sub-make] Error 2&lt;BR /&gt;make[1]: directory '/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520' exit&lt;BR /&gt;Makefile:445: recipe for target 'default' failed&lt;BR /&gt;make: *** [default] Error 2&lt;/P&gt;&lt;P&gt;=====================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=== Makefile =========================================================&lt;/P&gt;&lt;P&gt;# File: Makefile&lt;BR /&gt;#&lt;BR /&gt;# Copyright 2014-2020 NXP&lt;BR /&gt;#&lt;BR /&gt;# This software file (the File) is distributed by NXP&lt;BR /&gt;# under the terms of the GNU General Public License Version 2, June 1991&lt;BR /&gt;# (the License). You may use, redistribute and/or modify the File in&lt;BR /&gt;# accordance with the terms and conditions of the License, a copy of which&lt;BR /&gt;# is available by writing to the Free Software Foundation, Inc.,&lt;BR /&gt;# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the&lt;BR /&gt;# worldwide web at &lt;A href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" target="_blank" rel="noopener"&gt;http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt&lt;/A&gt;.&lt;BR /&gt;#&lt;BR /&gt;# THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE&lt;BR /&gt;# IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE&lt;BR /&gt;# ARE EXPRESSLY DISCLAIMED. The License provides additional details about&lt;BR /&gt;# this warranty disclaimer.&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;CROSS_COMPILE=aarch64-linux-gnu-&lt;BR /&gt;COMPATDIR=/lib/modules/$(KERNELVERSION_X86)/build/compat-wireless-3.2-rc1-1/include&lt;BR /&gt;#CC= $(CROSS_COMPILE)gcc -I$(COMPATDIR)&lt;BR /&gt;CC= $(CROSS_COMPILE)gcc&lt;BR /&gt;LD= $(CROSS_COMPILE)ld&lt;BR /&gt;BACKUP= /root/backup&lt;BR /&gt;YMD= `date +%Y%m%d%H%M`&lt;/P&gt;&lt;P&gt;#############################################################################&lt;BR /&gt;# Configuration Options&lt;BR /&gt;#############################################################################&lt;BR /&gt;# Multi-chipsets&lt;BR /&gt;CONFIG_PCIE8897=n&lt;BR /&gt;CONFIG_PCIE8997=n&lt;BR /&gt;CONFIG_PCIE9097=y&lt;BR /&gt;CONFIG_PCIE9098=y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Debug Option&lt;BR /&gt;# DEBUG LEVEL n/1/2:&lt;BR /&gt;# n: NO DEBUG&lt;BR /&gt;# 1: Only PRINTM(MMSG,...), PRINTM(MFATAL,...), ...&lt;BR /&gt;# 2: All PRINTM()&lt;BR /&gt;CONFIG_DEBUG=1&lt;/P&gt;&lt;P&gt;# Enable STA mode support&lt;BR /&gt;CONFIG_STA_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Enable uAP mode support&lt;BR /&gt;CONFIG_UAP_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Enable WIFIDIRECT support&lt;BR /&gt;CONFIG_WIFI_DIRECT_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Enable WIFIDISPLAY support&lt;BR /&gt;CONFIG_WIFI_DISPLAY_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Re-association in driver&lt;BR /&gt;CONFIG_REASSOCIATION=y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Manufacturing firmware support&lt;BR /&gt;CONFIG_MFG_CMD_SUPPORT=y&lt;/P&gt;&lt;P&gt;# OpenWrt support&lt;BR /&gt;CONFIG_OPENWRT_SUPPORT=n&lt;/P&gt;&lt;P&gt;# Big-endian platform&lt;BR /&gt;CONFIG_BIG_ENDIAN=n&lt;/P&gt;&lt;P&gt;ifeq ($(CONFIG_DRV_EMBEDDED_SUPPLICANT), y)&lt;BR /&gt;CONFIG_EMBEDDED_SUPP_AUTH=y&lt;BR /&gt;CONFIG_EMBEDDED_SUPP_AUTH=y&lt;BR /&gt;endif&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# DFS testing support&lt;BR /&gt;CONFIG_DFS_TESTING_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Multi-channel support&lt;BR /&gt;CONFIG_MULTI_CHAN_SUPPORT=y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CONFIG_ANDROID_KERNEL=n&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#32bit app over 64bit kernel support&lt;BR /&gt;CONFIG_USERSPACE_32BIT_OVER_KERNEL_64BIT=n&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#############################################################################&lt;BR /&gt;# Select Platform Tools&lt;BR /&gt;#############################################################################&lt;/P&gt;&lt;P&gt;MODEXT = ko&lt;BR /&gt;ccflags-y += -I$(M)/mlan&lt;BR /&gt;ccflags-y += -DLINUX&lt;/P&gt;&lt;P&gt;KERNELVERSION_X86 := $(shell uname -r)&lt;BR /&gt;#KERNELDIR ?= /lib/modules/$(KERNELVERSION_X86)/build&lt;BR /&gt;#KERNELDIR ?= /home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/build/&lt;BR /&gt;KERNELDIR ?= /home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520&lt;BR /&gt;LD += -S&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2020 08:47:53 GMT</pubDate>
    <dc:creator>gbpark</dc:creator>
    <dc:date>2020-11-13T08:47:53Z</dc:date>
    <item>
      <title>88Q9098(mlan.ko) compile problem</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/88Q9098-mlan-ko-compile-problem/m-p/1182995#M148</link>
      <description>&lt;P&gt;In order to use u-blox jody-w3 (88Q9098), we need to compile the kernel module.&lt;BR /&gt;However, an error occurs when a kernel using flex-builder (ls1027a) is used.&lt;BR /&gt;Can I see what I did wrong?&lt;/P&gt;&lt;P&gt;== error log =================================================================&lt;/P&gt;&lt;P&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c: In function ‘woal_reset_intf’:&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c:5775:12: error: ‘moal_handle {aka struct _moal_handle}’ has no member named ‘mon_if’&lt;BR /&gt;if (handle-&amp;gt;mon_if) {&lt;BR /&gt;^~&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c:5777:30: error: ‘moal_handle {aka struct _moal_handle}’ has no member named ‘mon_if’&lt;BR /&gt;woal_set_net_monitor(handle-&amp;gt;mon_if-&amp;gt;priv, wait_option,&lt;BR /&gt;^~&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.c:5780:29: error: ‘moal_handle {aka struct _moal_handle}’ has no member named ‘mon_if’&lt;BR /&gt;netif_device_detach(handle-&amp;gt;mon_if-&amp;gt;mon_ndev);&lt;BR /&gt;^~&lt;/P&gt;&lt;P&gt;.......&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/scripts/Makefile.build:265: recipe for target '/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.o' failed&lt;BR /&gt;make[3]: *** [/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src/mlinux/moal_main.o] Error 1&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:1652: recipe for target '/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src' failed&lt;BR /&gt;make[2]: *** [/home/sysadmin/work/gbpark/Project/S-project/Linux_driver/PCIE-SW/PCIE/PCIE/wlan_src] Error 2&lt;BR /&gt;/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:179: recipe for target 'sub-make' failed&lt;BR /&gt;make[1]: *** [sub-make] Error 2&lt;BR /&gt;make[1]: directory '/home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520' exit&lt;BR /&gt;Makefile:445: recipe for target 'default' failed&lt;BR /&gt;make: *** [default] Error 2&lt;/P&gt;&lt;P&gt;=====================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=== Makefile =========================================================&lt;/P&gt;&lt;P&gt;# File: Makefile&lt;BR /&gt;#&lt;BR /&gt;# Copyright 2014-2020 NXP&lt;BR /&gt;#&lt;BR /&gt;# This software file (the File) is distributed by NXP&lt;BR /&gt;# under the terms of the GNU General Public License Version 2, June 1991&lt;BR /&gt;# (the License). You may use, redistribute and/or modify the File in&lt;BR /&gt;# accordance with the terms and conditions of the License, a copy of which&lt;BR /&gt;# is available by writing to the Free Software Foundation, Inc.,&lt;BR /&gt;# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the&lt;BR /&gt;# worldwide web at &lt;A href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt" target="_blank" rel="noopener"&gt;http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt&lt;/A&gt;.&lt;BR /&gt;#&lt;BR /&gt;# THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE&lt;BR /&gt;# IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE&lt;BR /&gt;# ARE EXPRESSLY DISCLAIMED. The License provides additional details about&lt;BR /&gt;# this warranty disclaimer.&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;CROSS_COMPILE=aarch64-linux-gnu-&lt;BR /&gt;COMPATDIR=/lib/modules/$(KERNELVERSION_X86)/build/compat-wireless-3.2-rc1-1/include&lt;BR /&gt;#CC= $(CROSS_COMPILE)gcc -I$(COMPATDIR)&lt;BR /&gt;CC= $(CROSS_COMPILE)gcc&lt;BR /&gt;LD= $(CROSS_COMPILE)ld&lt;BR /&gt;BACKUP= /root/backup&lt;BR /&gt;YMD= `date +%Y%m%d%H%M`&lt;/P&gt;&lt;P&gt;#############################################################################&lt;BR /&gt;# Configuration Options&lt;BR /&gt;#############################################################################&lt;BR /&gt;# Multi-chipsets&lt;BR /&gt;CONFIG_PCIE8897=n&lt;BR /&gt;CONFIG_PCIE8997=n&lt;BR /&gt;CONFIG_PCIE9097=y&lt;BR /&gt;CONFIG_PCIE9098=y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Debug Option&lt;BR /&gt;# DEBUG LEVEL n/1/2:&lt;BR /&gt;# n: NO DEBUG&lt;BR /&gt;# 1: Only PRINTM(MMSG,...), PRINTM(MFATAL,...), ...&lt;BR /&gt;# 2: All PRINTM()&lt;BR /&gt;CONFIG_DEBUG=1&lt;/P&gt;&lt;P&gt;# Enable STA mode support&lt;BR /&gt;CONFIG_STA_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Enable uAP mode support&lt;BR /&gt;CONFIG_UAP_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Enable WIFIDIRECT support&lt;BR /&gt;CONFIG_WIFI_DIRECT_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Enable WIFIDISPLAY support&lt;BR /&gt;CONFIG_WIFI_DISPLAY_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Re-association in driver&lt;BR /&gt;CONFIG_REASSOCIATION=y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Manufacturing firmware support&lt;BR /&gt;CONFIG_MFG_CMD_SUPPORT=y&lt;/P&gt;&lt;P&gt;# OpenWrt support&lt;BR /&gt;CONFIG_OPENWRT_SUPPORT=n&lt;/P&gt;&lt;P&gt;# Big-endian platform&lt;BR /&gt;CONFIG_BIG_ENDIAN=n&lt;/P&gt;&lt;P&gt;ifeq ($(CONFIG_DRV_EMBEDDED_SUPPLICANT), y)&lt;BR /&gt;CONFIG_EMBEDDED_SUPP_AUTH=y&lt;BR /&gt;CONFIG_EMBEDDED_SUPP_AUTH=y&lt;BR /&gt;endif&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# DFS testing support&lt;BR /&gt;CONFIG_DFS_TESTING_SUPPORT=y&lt;/P&gt;&lt;P&gt;# Multi-channel support&lt;BR /&gt;CONFIG_MULTI_CHAN_SUPPORT=y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CONFIG_ANDROID_KERNEL=n&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#32bit app over 64bit kernel support&lt;BR /&gt;CONFIG_USERSPACE_32BIT_OVER_KERNEL_64BIT=n&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#############################################################################&lt;BR /&gt;# Select Platform Tools&lt;BR /&gt;#############################################################################&lt;/P&gt;&lt;P&gt;MODEXT = ko&lt;BR /&gt;ccflags-y += -I$(M)/mlan&lt;BR /&gt;ccflags-y += -DLINUX&lt;/P&gt;&lt;P&gt;KERNELVERSION_X86 := $(shell uname -r)&lt;BR /&gt;#KERNELDIR ?= /lib/modules/$(KERNELVERSION_X86)/build&lt;BR /&gt;#KERNELDIR ?= /home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/packages/linux/linux/build/&lt;BR /&gt;KERNELDIR ?= /home/sysadmin/work/gbpark/Project/S-project/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520&lt;BR /&gt;LD += -S&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 08:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/88Q9098-mlan-ko-compile-problem/m-p/1182995#M148</guid>
      <dc:creator>gbpark</dc:creator>
      <dc:date>2020-11-13T08:47:53Z</dc:date>
    </item>
  </channel>
</rss>

