All of lore.kernel.org
 help / color / mirror / Atom feed
* CONFIG_CFG80211=m build error
@ 2017-06-29  3:21 Takashi Matsuzawa
  0 siblings, 0 replies; only message in thread
From: Takashi Matsuzawa @ 2017-06-29  3:21 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2638 bytes --]

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.



[-- Attachment #2: Type: text/html, Size: 4025 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-29  3:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29  3:21 CONFIG_CFG80211=m build error Takashi Matsuzawa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.