[cfe-users] Failed building Clang: use of undeclared identifier '__NR_rename'

Jeffrey Walton noloader at gmail.com
Mon Oct 6 14:09:38 PDT 2014


On Wed, Sep 10, 2014 at 4:27 PM, Christopher Nardi
<christopherncarmel at hotmail.com> wrote:
> Hello,
>
> When building Clang with ninja, I'm getting errors like "use of undeclared
> identifier '__NR_*'". I'm not sure why I'm getting these. I'm building on
> x86 Ubuntu 14.04.
>
> Here's the full error:
> https://gist.github.com/hichris1234/22b48da0464883f6eb66.
>
> How can I fix this? Thank you for your help!
>
It sounds like you need to install the kernel headers.



More information about the cfe-users mailing list