This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build failure: No rule to make target '/usr/include/linux/limits.h'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]