LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2005, 06:04 AM   #1
silver05
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Rep: Reputation: 0
C preprocessor "/lib/cpp" fails sanity check


Hi Guys,

I have read the posts already on here about the " C preprocessor "/lib/cpp" fails sanity check" error. I have followed everything people have said about having the right things installed. But no luck.

This is what i have got installed i did the whereis command:

gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz

g++: /usr/include/g++

cpp: /usr/bin/cpp /lib/cpp /usr/share/man/man1/cpp.1.gz

c++: /usr/include/c++

Okay i have struggled with this for about 6 hours now with no fix or result. I have tried installing gcc g++ c++ cpp again and again but it still doesn't work.

My system in fedora core 3 64 bit. Can anyone help or at least give me some clues on what this could be?


Silve05
 
Old 08-22-2005, 12:01 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
have you compiled a custom kernel??

that "sanity check error" usually means that the gcc version you have installed IS NOT the gcc version used to compile the current running kernel.......
 
Old 08-23-2005, 05:11 PM   #3
silver05
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,

Thanks for your reply. Nope just a standard install.


Silver
 
Old 08-25-2005, 05:02 AM   #4
silver05
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Okay, how can i check what my kernal was compiled with ie the version of gcc. Whats the command?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: C++ preprocessor "/lib/cpp" fails sanity check marek345 Linux - Software 4 11-06-2008 09:49 AM
c++ preprocessor "/lib/cpp" fails sanity check... siuyiu Mandriva 1 10-06-2005 05:49 PM
C++ preprocessor "/lib/cpp" fails sanity check Rundi Linux - Networking 2 07-07-2005 08:21 AM
C++ preprocessor "/lib/cpp" fails sanity check Julian Fidge Linux - Software 29 03-15-2005 01:18 AM
error: C preprocessor "/lib/cpp" fails sanity check Master Fox Linux - Software 0 10-14-2004 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration