Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 08:06:38 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Filippo Moretti <filippomore@yahoo.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Problem building kernel STABLE12 amd64 arch
Message-ID:  <20190217160638.GJ1168@albert.catwhisker.org>
In-Reply-To: <2017527668.472217.1550394706121@mail.yahoo.com>
References:  <2017527668.472217.1550394706121.ref@mail.yahoo.com> <2017527668.472217.1550394706121@mail.yahoo.com>

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

--zkC76Fx3DIm/XDBj
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 17, 2019 at 09:11:46AM +0000, Filippo Moretti via freebsd-stabl=
e 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
> >>>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if_vmx.o:(vmxnet3_legacy_in=
tr)
>=20
> ld: error: undefined symbol: iflib_admin_intr_deferred
> ...
> Stop.
> make: stopped in /usr/src
>=20
> 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.  Dri=
vers
|         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
--=20
David H. Wolfskill				david@catwhisker.org
There's a "national security emergency" all right -- at 1600 Pennsylvania A=
ve.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--zkC76Fx3DIm/XDBj
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAlxpho1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PclmcwgAuG9atLE5UFaun/VVKE7Qxt4lzAsofdSl72YII+99mtaoqibURrSlFDwb
0rXGyTuRq+nYdhXbHXFqYTy18UVcSag8UuAOE7r7s5KZ2U6UeKAWCExkFQOipHlL
tHUhUfu5S7a79+1Xs+2W03KOhE5+WCPIYmzuKEwUuu0DbmorCjmcnY8KGA3VNtMn
Gn8X6ei3/eeKgRzqS7bt2pKCEt89B/nIs/p4J1oIic1WHlRpz0PnIDbMuQDgVd3f
Xu+qzQOEmQ0xed3KZntHzC9iXuogFQhUXlAJ04VVyKRcb9pFd4SJfEoFFOhRs4El
c2B95DYPXvTDH6EnOm9lCdqa4rS67g==
=lKmF
-----END PGP SIGNATURE-----

--zkC76Fx3DIm/XDBj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190217160638.GJ1168>