svn commit: r284370 - head/usr.bin/kdump
Simon J. Gerraty
sjg at juniper.net
Mon Jun 15 00:28:23 UTC 2015
Dimitry Andric <dim at FreeBSD.org> wrote:
> > head/usr.bin/kdump/Makefile
>
> Is this supposed to fix things? Even at r284381, I get:
I did for me ...
>
> ===> usr.bin/kdump (depend)
> sh /usr/src/usr.bin/kdump/mksubr /usr/obj/usr/src/tmp/usr/include >kdump_subr.c
> env MACHINE=i386 CPP="cpp " sh /usr/src/usr.bin/kdump/mkioctls print /usr/obj/usr/src/tmp/usr/include > ioctl.c
> <stdin>:1:10: fatal error: 'cam/cam_compat.h' file not found
> #include <cam/cam_compat.h>
> ^
> 1 error generated.
Yes I saw that too (before these changes IIRC) it appeared to be ignored.
> rm -f .depend
> CC='cc ' mkdep -f .depend -a -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. -I. -DHAVE_LIBCAPSICUM -DPF -std=gnu99 kdump_subr.c /usr/src/usr.bin/kdump/kdump.c ioctl.c /usr/src/usr.bin/kdump/../ktrace/subr.c
> /usr/src/usr.bin/kdump/kdump.c:153:10: fatal error: 'linux_syscalls.c' file not found
That's why I added the explicit target.
> #include <linux_syscalls.c>
> ^
> 1 error generated.
> mkdep: compile failed
Ah, they likely need to be hooked to beforedepend.
My flight is boarding, will look when I get back on line.
Sorry for the hiccup
> Any idea? I obviously do not see any linux_syscalls.c in the objdir.
>
> -Dimitry
>
More information about the svn-src-all
mailing list