Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2019 17:14:30 -0800
From:      Enji Cooper <yaneurabeya@gmail.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        current@freebsd.org, erj@FreeBSD.org
Subject:   Re: problem building dev/e1000
Message-ID:  <754B5C21-656B-4A67-BA39-50BB4AF5C0CD@gmail.com>
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 Feb 14, 2019, at 13:24, Robert Huff <roberthuff@rcn.com> wrote:
>=20
>=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:
>=20
>=20
> ctfconvert -L VERSION -g efirtc.o
> cc -target x86_64-unknown-freebsd13.0 --sysroot=3D/usr/obj/usr/src/amd64.a=
md64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict=
-aliasing  -g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/includ=
e -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -incl=
ude 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-mmx -mno=
-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -f=
stack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-=
prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-poi=
nter-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagno=
stics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-=
error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -=
Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packe=
d-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 fo=
und
> #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"?

CCing erj@ for context.
-Enji=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?754B5C21-656B-4A67-BA39-50BB4AF5C0CD>