Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/kdump
> On 2. Jun 2018, at 22:07, matthew green <mrg%netbsd.org@localhost> wrote:
>
> Module Name: src
> Committed By: mrg
> Date: Sat Jun 2 20:07:15 UTC 2018
>
> Modified Files:
> src/usr.bin/kdump: mkioctls
>
> Log Message:
> just include <sys/mutex.h> for mkioctls. this works fine for me
> for several platforms and fixes the clang build.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.50 -r1.51 src/usr.bin/kdump/mkioctls
This breaks the build:
In file included from /build/devel/src/sys/net/if.h:99:0,
from kdump-ioctl.c:23:
/build/devel/src/sys/altq/if_altq.h:48:2: error: unknown type name 'kmutex_t'
kmutex_t *ifq_lock;
^~~~~~~~
The real problem seems the sys include search path:
#include <...> search starts here:
/build/devel/obj/dist.amd64/usr/X11R7/include/libdrm
/build/devel/obj/dist.amd64/usr/X11R7/include/pixman-1
/build/devel/obj/dist.amd64/usr/X11R7/include
/build/devel/src/external/cddl/osnet/sys
/build/devel/src/external/cddl/osnet/dist/uts/common
/build/devel/src/usr.bin/ktrace
/build/devel/src/sys
/build/devel/obj/dist.amd64/usr/include/gcc-6
/build/devel/obj/tools.amd64/lib/gcc/x86_64--netbsd/6.4.0/include-fixed
/build/devel/obj/dist.amd64/usr/include
Most <sys/XXX.h> includes come from "cddl/osnet/sys/sys" which looks wrong.
Suppose the search better starts with "-I${NETBSDSRCDIR}/sys" ...
--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germa
Home |
Main Index |
Thread Index |
Old Index