Problem building kernel STABLE12 amd64 arch

David Wolfskill david at catwhisker.org
Sun Feb 17 16:06:48 UTC 2019


On Sun, Feb 17, 2019 at 09:11:46AM +0000, Filippo Moretti via freebsd-stable wrote:
> I tried to update stable to yesterday build and I get the following error on amd64 arch
> linking kernel
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_legacy_intr)
> 
> ld: error: undefined symbol: iflib_admin_intr_deferred
> ...
> Stop.
> make: stopped in /usr/src
> 
> Any help appreciatedsincerelyFilippo
> ....

It appears that your kernel configuration file -- unlike that of GENERIC
-- does not include the entry:

| # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
| device          iflib

This is pointed out in src/UPDATING:

| 20190214:
|         Iflib is no longer unconditionally compiled into the kernel.  Drivers
|         using iflib and statically compiled into the kernel, now require
|         the 'device iflib' config option.  For the same drivers loaded as
|         modules on kernels not having 'device iflib', the iflib.ko module
|         is loaded automatically.

A way to avoid the problem (and others of a similar nature) is to
have your custom kernel configuration

| include         GENERIC

and then customize from that point.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
There's a "national security emergency" all right -- at 1600 Pennsylvania Ave.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20190217/bd95c75f/attachment.sig>


More information about the freebsd-stable mailing list