public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Sanity Check
@ 2005-03-27  6:20 Schuyler Lambert
  0 siblings, 0 replies; only message in thread
From: Schuyler Lambert @ 2005-03-27  6:20 UTC (permalink / raw)
  To: gcc-help

For the last two weeks or so I have been struggling with this problem
and have been to a few Linux forums but I still don't have any luck.
whenever I try to configure something, it throws this at me :

configure:3440: error: C preprocessor "/lib/cpp" fails sanity check

When I look through the config.log I keep seeing this :

| 		     Syntax error
configure:3365: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i386-redhat-
linux/3.4.2/include/limits.h:122,
                 from /usr/lib/gcc/i386-redhat-
linux/3.4.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-
linux/3.4.2/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
directory
configure:3371: $? = 1
configure: failed program was:
| /* confdefs.h.  */

Every program I have tried to compile gives me the same cpp sanity check
error. I'm running Fedora Core 3 and I have installed all of the
devlopment packages.


Any help would be great.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-27  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-27  6:20 Sanity Check Schuyler Lambert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).