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

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Sep 6 12:05:00 GMT 2017


On 06/09/17 12:57, Andreas Schwab wrote:
> On Sep 06 2017, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> 
>> On 06/09/17 11:58, Andreas Schwab wrote:
>>> On Sep 06 2017, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
>>>
>>>> stracing make it seems make fstats about 400 different
>>>> paths ending in /linux before it finds
>>>>
>>>> D/build/../include/linux/limits.h
>>>
>>> Where does that file come from?
>>>
>>
>> there must be a broken
>>
>> $(prefix)/include/%.h: ../include/%.h
>> 	install ...
>>
>> rule somewhere that is invoked from D/build.
> 
> No, that rule does not create that file.
> 

D/build/../include/linux/limits.h already exists
(it's a file outside of the build dir hence it
should not affect anything)





More information about the Libc-alpha mailing list