Error at 6.15, compiling GCC

pieter blomme pieter.blomme at gmail.com
Mon Nov 9 12:12:01 PST 2009


Hi,

Me again.  Thanks already for all the help I got!  I ran into some more
errors while running make for GCC.

configure: error: in `/sources/gcc-build/i686-pc-linux-gnu/libgcc':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/sources/gcc-build'
make: *** [all] Error 2

I went to look into the config.log file, where I found evidence of the
following errors (some appeared multiple times)

configure:3287: gcc -V </dev/null >&5
gcc: '-V' option must have argument

conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'me'
configure:3763: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:4215: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }

-- 
Groeten,
Pieter

Frontal Noize Mailorder
http://frontalnoize.blogspot.com -
http://www.myspace.com/frontalnoizedistribution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091109/f6c75c91/attachment.html>


More information about the lfs-support mailing list