This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cpp fails sanity check


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]