r314131: link_elf_obj: symbol iwm7265_cfg undefined

Andreas Nilsson andrnils at gmail.com
Thu Feb 23 13:52:40 UTC 2017


On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson <andrnils at gmail.com> wrote:

>
>
> On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark <jakob at alvermark.net>
> wrote:
>
>> Hi,
>>
>> Updated to r314131 and my iwm no longer works. (It is a 7265)
>> Dmesg says:
>> link_elf_obj: symbol iwm7265_cfg undefined
>> linker_load_file: Unsupported file type
>>
>> Jakob
>>
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org
>> "
>>
>
> Hello,
>
> I can second that, although I'm on FreeBSD 12.0-CURRENT #3
> bb6561e09c3(drm-next) with an ac8260.
>
> Best regards
> Andreas
>

It would seem a simple mistake in  a Makefile: see attached diff.

The module loads for me with that patch applied.

Best regards
Andreas
-------------- next part --------------
diff --git a/sys/modules/iwm/Makefile b/sys/modules/iwm/Makefile
index 2d076906ce9..f8ae70650cb 100644
--- a/sys/modules/iwm/Makefile
+++ b/sys/modules/iwm/Makefile
@@ -7,6 +7,7 @@ KMOD=	if_iwm
 SRCS=	if_iwm.c if_iwm_binding.c if_iwm_util.c if_iwm_phy_db.c
 SRCS+=	if_iwm_mac_ctxt.c if_iwm_phy_ctxt.c if_iwm_time_event.c
 SRCS+=	if_iwm_power.c if_iwm_scan.c if_iwm_led.c if_iwm_notif_wait.c
+SRCS+=  if_iwm_7000.c if_iwm_8000.c
 # bus layer
 SRCS+=	if_iwm_pcie_trans.c
 SRCS+=	device_if.h bus_if.h pci_if.h opt_wlan.h


More information about the freebsd-current mailing list