From: Takashi Matsuzawa <tmatsuzawa@xevo.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: CONFIG_CFG80211=m build error
Date: Thu, 29 Jun 2017 03:21:48 +0000 [thread overview]
Message-ID: <MWHPR01MB32932565B11FC4581EBE394EB6D20@MWHPR01MB3293.prod.exchangelabs.com> (raw)
[-- 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 --]
reply other threads:[~2017-06-29 3:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MWHPR01MB32932565B11FC4581EBE394EB6D20@MWHPR01MB3293.prod.exchangelabs.com \
--to=tmatsuzawa@xevo.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.