Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2017 14:52:38 +0100
From:      Andreas Nilsson <andrnils@gmail.com>
To:        Jakob Alvermark <jakob@alvermark.net>
Cc:        current@freebsd.org
Subject:   Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined
Message-ID:  <CAPS9%2BSvF=sGdjAS8zu8Mp=y8XSqJtRmab0gE=ASppqMPY0e1vQ@mail.gmail.com>
In-Reply-To: <CAPS9%2BSvBo%2Bg=8VjXfrw_NU1jqekrvm30Z7=3sTc6B5xbQdVL7g@mail.gmail.com>
References:  <54525.193.12.143.142.1487852988.squirrel@webmail.alvermark.net> <CAPS9%2BSvBo%2Bg=8VjXfrw_NU1jqekrvm30Z7=3sTc6B5xbQdVL7g@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson <andrnils@gmail.com> wrote:

>
>
> On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark <jakob@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@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@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

[-- Attachment #2 --]
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
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSvF=sGdjAS8zu8Mp=y8XSqJtRmab0gE=ASppqMPY0e1vQ>