Re: I can't install gcc 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 Jul 2019 at 16:51, Dorian ROSSE <dorianbrice@xxxxxxxxxx> wrote:

> I have Following errors :
>
> *In file included from /usr/include/bits/errno.h:26,*
>
> *                 from /usr/include/errno.h:28,*
>
> *                 from ../../.././libgcc/../gcc/tsystem.h:93,*
>
> *                 from ../../.././libgcc/generic-morestack-thread.c:27:*
>
> */usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file
> or directory*
>
> *    1 | #include <asm/errno.h>*
>
> *      |          ^~~~~~~~~~~~~*
>

You don't have the linux kernel headers installed. Install a package like
kernel-headers or the equivalent for your distro.



> *compilation terminated.*
>
> *../../.././libgcc/shared-object.mk:14 <http://shared-object.mk:14>:
> recipe for target 'generic-morestack-thread.o' failed*
>
> *make[5]: *** [generic-morestack-thread.o] Error 1*
>
> *make[5]: Leaving directory '/opt/gcc-9.1.0/x86_64-pc-linux-gnu/32/libgcc'*
>
> *Makefile:1210: recipe for target 'multi-do' failed*
>
> *make[4]: *** [multi-do] Error 1*
>
> *make[4]: Leaving directory '/opt/gcc-9.1.0/x86_64-pc-linux-gnu/libgcc'*
>
> *Makefile:125: recipe for target 'all-multi' failed*
>
> *make[3]: *** [all-multi] Error 2*
>
> *make[3]: *** Waiting for unfinished jobs....*
>
> *make[3]: Leaving directory '/opt/gcc-9.1.0/x86_64-pc-linux-gnu/libgcc'*
>
> *Makefile:22617: recipe for target 'all-stage1-target-libgcc' failed*
>
> *make[2]: *** [all-stage1-target-libgcc] Error 2*
>
> *make[2]: Leaving directory '/opt/gcc-9.1.0'*
>
> *Makefile:28290: recipe for target 'stage1-bubble' failed*
>
> *make[1]: *** [stage1-bubble] Error 2*
>
> *make[1]: Leaving directory '/opt/gcc-9.1.0'*
>
> *Makefile:1001: recipe for target 'all' failed*
>
> *make: *** [all] Error 2*
>
>
> I launch Following in the gcc-9.1 folder because in objdir It doesn’t
> works :
>
>
>
> *$PWD/../gcc-9.1.0/configure --enable-languages=c,c++,fortran,go *then I
> launch the Following where I happen Bottom errors paste :
>
> *make -j 6* (It is an AMD 6300 FX)
>
> Do you know why I can’t launch in objdir ?
>

You must be doing something wrong.


> Do you know why I should now ?
>


Install the kernel headers. Or get somebody who knows what they're doing to
help you.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux