This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build failure: No rule to make target '/usr/include/linux/limits.h'
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, <nd at arm dot com>
- Date: Tue, 5 Sep 2017 20:56:22 +0000
- Subject: Re: build failure: No rule to make target '/usr/include/linux/limits.h'
- Authentication-results: sourceware.org; auth=none
- References: <59AEEBE6.5030708@arm.com>
On Tue, 5 Sep 2017, Szabolcs Nagy wrote:
> somehow glibc managed to include stuff from outside of
> the source or build tree.. i don't immediately see why.
Are there any .d files containing references to files from D/include?
(Depending on whether you're using --with-headers to point to an external
set of kernel headers, references to kernel headers in /usr/include may be
expected.)
> anyway it would be nice if glibc *never* tried to overwrite
> headers in /usr/include/* while i'm running make.
Dependencies for such files are how "make install" works. There are lots
of such rules, both in the checked-in sources and in sysd-rules, but I
don't know why one would involve a dependency on
D/build/../include/linux/limits.h.
--
Joseph S. Myers
joseph@codesourcery.com