Messages in this thread | | | From | Jerome Pouiller <> | Subject | Re: [PATCH RESEND v2] staging: wfx: fix an undefined reference error when CONFIG_MMC=m | Date | Fri, 11 Oct 2019 16:57:28 +0000 |
| |
On Friday 11 October 2019 18:38:17 CEST zhong jiang wrote: > I hit the following error when compile the kernel. > > drivers/staging/wfx/main.o: In function `wfx_core_init': > /home/z00352263/linux-next/linux-next/drivers/staging/wfx/main.c:488: undefined reference to `sdio_register_driver' > drivers/staging/wfx/main.o: In function `wfx_core_exit': > /home/z00352263/linux-next/linux-next/drivers/staging/wfx/main.c:496: undefined reference to `sdio_unregister_driver' > drivers/staging/wfx/main.o:(.debug_addr+0x1a8): undefined reference to `sdio_register_driver' > drivers/staging/wfx/main.o:(.debug_addr+0x6f0): undefined reference to `sdio_unregister_driver'
For information, I cannot reproduce your issue (it does not mean that the issue does not exist). In add, if you obtain undefined references, it should only happen when CONFIG_MMC is not defined.
Can you check that your Modules.symvers is up-to-date (by running a 'make modules') ?
-- Jérôme Pouiller
| |