Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chromium 67/68 - problems compiling (clang include paths)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
actionbuddha
n00b
n00b


Joined: 22 May 2008
Posts: 6

PostPosted: Wed Jun 20, 2018 12:03 pm    Post subject: chromium 67/68 - problems compiling (clang include paths) Reply with quote

I am having trouble compiling chromium, which fails with the following error:

Code:

In file included from ../../build/build_config.h:45:
/usr/include/unistd.h:229:10: fatal error: 'stddef.h' file not found
#include <stddef.h>
         ^~~~~~~~~~
2 warnings and 1 error generated.
ninja: build stopped: subcommand failed.


This is reproducible on two machines, with both clang 5.0.2 and 6.0.0.

I've found plenty of references to clang include path locations online but have no clear idea how to fix things here. I did try amending CLAGS with '-I /usr/lib/llvm/$version/include/' which caused the build to break in other ways, and anyway seems a rather brute force approach.

I do typically have distcc enabled but get the same result with it disabled.

This forum isn't littered with posts like this so I suspect I am doing something obvious wrong, but I have run out of ideas.

Any help appreciated.

Cheers
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum