This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL18XXCOM82SDMMC: WL18xx System Build Scripts unsuccessful

Part Number: WL18XXCOM82SDMMC

Hi All,

I am trying to update wl18xx to R8_7_SP3 for Linux kernel version 3.10.108. I followed the steps  from

setup-env file as below:


# \\\//
# -(o o)-
# This file contains the exports needed for automating the
# build process of WLAN components.
# Place this file in the same directory with
# build scripts. No need to run 'source setup-env', the build
# scripts will perfom it internaly.
# User specific environment settings - use full PATH

# if DEFAULT toolchain path is set toolchain will be downloaded to ./toolchain.
export TOOLCHAIN_PATH=/usr/bin/

# if DEFAULT path to root filesystem is set ./fs folder will be used.

#if DEFAULT kernel path is set - kernel will be downloaded (set branch to match kernel version)
export KERNEL_PATH=/linux-is6

# if KERNEL_VARIANT below is set the build script will look for kernel specific
# patches under the patches directory:
# - patches under the pathces/driver_patches/$KERNEL_VARIANT directory would be
# applied during "modules" build.
# - patches under the patches/kernel_patches/$/$KERNEL_VARIANT directory would
# be applied to the kernel pointed by KERNEL_PATH in case the "patch_kernel"
# command is used.
# Note: the kernel is not built automatically after the patches are applied
export KERNEL_VARIANT=imx-3.10.53

export CROSS_COMPILE=arm-buildroot-linux-gnueabihf-
export ARCH=arm


Build Error:

****** *******
INSTALL libreg
INSTALL libreg-headers
GEN keys-gcrypt.c
Trusted pubkeys: pubkeys/ pubkeys/
GZIP crda.8
GZIP regdbdump.8
INSTALL regdbdump
INSTALL 85-regulatory.rules
INSTALL crda.8.gz
INSTALL regdbdump.8.gz
****** *******
Copy original source files ...
Applying patches from patches to /home/nimmav/ssp-linux/git/ssp_linux_T6R7_OS/build-utilites/src/compat_wireless ...
Modify Kconfig tree ...
Rewrite Makefiles and Kconfig files ...
Generating local configuration database from kernel ... done.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o
cc conf.o -o conf
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
# configuration written to .config
make[5]: `conf' is up to date.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
# configuration written to .config
Building backport-include/backport/autoconf.h ... done.
CC [M] /home/xx/build-utilites/src/compat_wireless/compat/main.o
CC [M] /home/xx/build-utilites/src/compat_wireless/compat/backport-3.12.o
CC [M] /home/xx/build-utilites/src/compat_wireless/net/wireless/core.o
CC [M] /home/xx/build-utilites/src/compat_wireless/compat/backport-3.13.o
CC [M] /home/xx/build-utilites/src/compat_wireless/net/mac80211/main.o
CC [M] /home/xx/build-utilites/src/compat_wireless/net/wireless/sysfs.o
CC [M] /home/xx/build-utilites/src/compat_wireless/compat/backport-3.14.o
CC [M] /home/xx/build-utilites/src/compat_wireless/net/wireless/radiotap.o
CC [M] /home/xx/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wl12xx/main.o
CC [M] /home/xx/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wl18xx/main.o
CC [M] /home/xx/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wl18xx/acx.o
CC [M] /home/xx/build-utilites/src/compat_wireless/drivers/net/wireless/ti/wl18xx/tx.o
In file included from include/linux/sched.h:51:0,
from include/linux/nsproxy.h:5,
from include/net/scm.h:8,
from include/linux/netlink.h:8,
from /home/xx//build-utilites/src/compat_wireless/backport-include/linux/netlink.h:3,
from include/uapi/linux/genetlink.h:5,
from include/linux/genetlink.h:4,
from /home/xx/build-utilites/src/compat_wireless/backport-include/linux/genetlink.h:3,
from include/net/genetlink.h:4,
from /home/xx/ssp-linux/git/ssp_linux_T6R7_OS/build-utilites/src/compat_wireless/backport-include/net/genetlink.h:3,
from /home/xx/build-utilites/src/compat_wireless/compat/backport-3.13.c:14:
include/net/scm.h: In function 'scm_recv':
/home/xx/build-utilites/src/compat_wireless/backport-include/linux/cred.h:7:44: error: 'struct nsproxy' has no member named 'user_ns'
#define current_user_ns() (current->nsproxy->user_ns)


I made a change if to fix include path issue - Modified "-I`path filesystem`/include" to "-I`path filesystem`/include/libnl3 "