Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GF21: C preprocessor "/lib/cpp" fails sanity check
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Feb 12, 2005 11:00 am    Post subject: GF21: C preprocessor "/lib/cpp" fails sanity check Reply with quote

Navigation: [Gentoo Fundamentals] [Table of Contents]

Q: Why am I getting the following error?
Code:
configure: error: C preprocessor "/lib/cpp" fails sanity check


A: This problem is very probably caused by the lack of kernel headers on your system.

  • If you're doing a stage 1 install, this might mean you've missed out the bootstrap phase, which is described here: (Example from the x86 installation handbook).

  • If you've finished the installation and this error still occurs, then you should install the headers manually.
    Code:
    emerge --ask --verbose --oneshot linux-headers


Edit: Removed reference to now-defunct linux26-headers.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions 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