No meu sistema Ubuntu 14.05.5 (YMMV), /usr/include/asm/errno.h
é fornecido pelos seguintes pacotes:
linux-headers-*
linux-libc-dev:amd64
linux-libc-dev:i386
Eu tentei make
o gcc4.6.2 para construir o sistema android 2.3.7.
Instalei linux-libc-dev
com versão diferente ( 3.8.0
& amp; 4.4.0
) e arquitetura diferente ( linux-libc-dev
& linux-libc-dev:i386
), mas ainda encontrei os seguintes erros:
Eu não sei como consertar o making of do gcc4.6.2 depois de ver todos os tipos de discussão sobre este problema no site. Alguém pode me dar uma mão para me mostrar como consertar isso?
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make[3]: *** [_muldi3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make[3]: *** [_negdi2.o] Error 1
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directoryIn file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make[3]: *** [_ucmpdi2.o] Error 1
compilation terminated.
make[3]: *** [_lshrdi3.o] Error 1
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directoryIn file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from ../../../gcc-4.6.2/libgcc/../gcc/tsystem.h:93,
from ../../../gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directorymake[3]: *** [_ashldi3.o] Error 1
compilation terminated.
make[3]: *** [_cmpdi2.o] Error 1
compilation terminated.
make[3]: *** [_ashrdi3.o] Error 1
make[5]: Entering directory '/home/paultsai/gcc/x86_64-linux-gnu/32/libgcc'
# If this is the top-level multilib, build all the other
No meu sistema Ubuntu 14.05.5 (YMMV), /usr/include/asm/errno.h
é fornecido pelos seguintes pacotes:
linux-headers-*
linux-libc-dev:amd64
linux-libc-dev:i386