Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 14:54:08 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        <src-committers@FreeBSD.org>, <svn-src-all@FreeBSD.org>, <svn-src-head@FreeBSD.org>
Subject:   Re: svn commit: r284370 - head/usr.bin/kdump
Message-ID:  <20557.1434318848@chaos>
In-Reply-To: <038E4912-D9DD-4306-8429-15054B15AFCE@FreeBSD.org>
References:  <201506140330.t5E3Udm8097264@svn.freebsd.org> <038E4912-D9DD-4306-8429-15054B15AFCE@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@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
> 



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