[meta-freescale] CONFIG_CFG80211=m build error

Takashi Matsuzawa tmatsuzawa at xevo.com
Wed Jun 28 20:21:48 PDT 2017


Hello.
I am not sure if this linux-fslc-imx specific, but I am having build error with enabling CONFIG_FGB80211 option.

If I configure it as module (CONFIG_CFG80211=m), I have build error below.
I have no clue about this error since vf610_adc.c is part of audio device driver, nothing to do with Wifi?

But if I build it as part of the kernel (CONFIG_CFG80211=y), the build succeeds.
So, I should built it with =y and it is recommended?

Log:

This is morty community BSP based image.
I get below with "bitbake linux-fslc-imx -c compile", with CONFIG_CFG80211=m.

> DEBUG: Executing shell function do_compile
> NOTE: make -j 8 HOSTCC=gcc  HOSTCPP=gcc  -E zImage CC=arm-agl-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd LD=arm-agl-linux-gnueabi-ld.bfd   LOADADDR=0x10008000
>   GEN     ./Makefile
> scripts/kconfig/conf  --silentoldconfig Kconfig
>   CHK     include/config/kernel.release
>   GEN     ./Makefile
>   CHK     include/generated/uapi/linux/version.h
>   Using /home/tmatsuzawa/yocto_imx-agl/wk1_dd/top/build/tmp/work-shared/imx6qsabreauto/kernel-source as source for kernel
>   CHK     include/generated/utsrelease.h
[...]
>   LINK    vmlinux
>   LD      vmlinux.o
>   MODPOST vmlinux.o
>   GEN     .version
>   CHK     include/generated/compile.h
>   UPD     include/generated/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
> drivers/built-in.o: In function `wl_cfg80211_disconnect':
> vf610_adc.c:(.text+0x1cfbb8): undefined reference to `cfg80211_disconnected'
> drivers/built-in.o: In function `wl_notify_pfn_status':
> vf610_adc.c:(.text+0x1cfd68): undefined reference to `cfg80211_disconnected'
> drivers/built-in.o: In function `wl_tdls_event_handler':
> vf610_adc.c:(.text+0x1d1820): undefined reference to `cfg80211_rx_mgmt'
> drivers/built-in.o: In function `wl_notify_mic_status':
> vf610_adc.c:(.text+0x1d1910): undefined reference to `cfg80211_michael_mic_failure'
> drivers/built-in.o: In function `wl_free_wdev':
[...]
> vf610_adc.c:(.text+0x1f14b8): undefined reference to `cfg80211_vendor_cmd_reply'
> drivers/built-in.o: In function `wl_cfgvendor_send_async_event':
> vf610_adc.c:(.text+0x1f1678): undefined reference to `__cfg80211_alloc_event_skb'
> vf610_adc.c:(.text+0x1f1698): undefined reference to `__cfg80211_send_event_skb'
> make[2]: *** [vmlinux] Error 1
> make[1]: *** [sub-make] Error 2
> make: *** [__sub-make] Error 2
> ERROR: Function failed: do_compile (log file is located at /xxxx/imx6qsabreauto-agl-linux-gnueabi/linux-fslc-imx/4.1-2.0.x+gitAUTOINC+ee67fc7e07-r0/temp/log.do_compile.27283)

Regards.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20170629/3159e221/attachment.html>


More information about the meta-freescale mailing list