Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2019 10:48:33 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        current@freebsd.org
Subject:   Re: problem building dev/e1000
Message-ID:  <20190215084833.GL24863@kib.kiev.ua>
In-Reply-To: <23653.56460.521599.489556@jerusalem.litteratus.org>
References:  <23653.56460.521599.489556@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 14, 2019 at 04:24:28PM -0500, Robert Huff wrote:
>=20
> 	On a system running:
>=20
> FreeBSD 13.0-CURRENT r343080  amd64
>=20
> 	with source tree updated at midnight last night, attempts to
> build a kernel with "device em" die with:
Did you added 'device iflib' to your kernel config ?

>=20
>=20
> ctfconvert -L VERSION -g efirtc.o
> cc -target x86_64-unknown-freebsd13.0 --sysroot=3D/usr/obj/usr/src/amd64.=
amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-stri=
ct-aliasing  -g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/inc=
lude -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -=
include opt_global.h   -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer=
 -MD  -MF.depend.if_em.o -MTif_em.o -mcmodel=3Dkernel -mno-red-zone -mno-mm=
x -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fw=
rapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -=
Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef=
 -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dir=
s -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-co=
mpare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unus=
ed-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-ad=
dress-of-packed-member  -mno-ae
>  s -mno-avx  -std=3Diso9899:1999 -Werror  /usr/src/sys/dev/e1000/if_em.c =
-I/usr/src/sys/dev/e1000
> In file included from /usr/src/sys/dev/e1000/if_em.c:30:
> /usr/src/sys/dev/e1000/if_em.h:91:10: fatal error: 'ifdi_if.h' file not f=
ound
> #include "ifdi_if.h"
>          ^~~~~~~~~~~
> 1 error generated.
> *** Error code 1
>=20
>=20
> 	'ifdi_if.h' is not in the local e1000 direstory, nor is it in the
> equavalent place in the svn repository on FreeBSD.org.
> 	Is this something I'm doing wrong?  Or is there a problem in
> "if_em.h"?
>=20
>=20
> 			Respectfully,
>=20
>=20
> 				Robert Huff
> _______________________________________________
> 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"



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