简体   繁体   中英

Errors installing GCC 4.3.4 on ubuntu 11.10

When installing GCC 4.3.4 on Ubuntu 11.10, following these instructions , I am encountering many errors at the make stage. The full dump is here , but the important parts seem to be some missing files, starting with:

/usr/include/features.h:323:26: error: bits/predefs.h: No such file or directory
/usr/include/features.h:356:25: error: sys/cdefs.h: No such file or directory
/usr/include/features.h:388:23: error: gnu/stubs.h: No such file or directory
In file included from ../../.././libgcc/../gcc/tsystem.h:90,
                 from ../../.././libgcc/../gcc/libgcc2.c:33:
/usr/include/stdio.h:36:25: error: bits/types.h: No such file or directory
In file included from ../../.././libgcc/../gcc/tsystem.h:90,
                 from ../../.././libgcc/../gcc/libgcc2.c:33:

Does anyone have any ideas why these can't be found? A google search indicates they are standard C headers.

(Nb at the configure stage I had to install dependencies GNU MPFR and GMP).

您必须安装libc-dev软件包。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM