|
新问题:
[font color=red]我的ALSA安装不成功,请看最新回复
今天我得我以前编译的LFS6.2宿主系统上,
根据CLFS-1.1.0的文档编译CLFS,走到了5.4.1这一步,
出错了,
执行make ARCH=i386 headers_check
提示好多出错。
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
In file included from scripts/basic/fixdep.c:107:
/usr/include/sys/types.h:27:22: error: features.h: No such file or directory
In file included from /usr/include/bits/types.h:31,
from /usr/include/sys/types.h:31,
from scripts/basic/fixdep.c:107:
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h:214: error: syntax error before 'typedef'
/usr/include/sys/types.h:133:18: error: time.h: No such file or directory
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
In file included from scripts/basic/fixdep.c:108:
/usr/include/sys/stat.h:103: error: syntax error before '__BEGIN_DECLS'
In file included from /usr/include/sys/stat.h:105,
from scripts/basic/fixdep.c:108:
/usr/include/bits/stat.h:36: error: syntax error before 'struct'
In file included from scripts/basic/fixdep.c:108:
/usr/include/sys/stat.h:208: error: syntax error before '__THROW'
/usr/include/sys/stat.h:212: error: syntax error before '__THROW'
/usr/include/sys/stat.h:257: error: syntax error before '__THROW'
/usr/include/sys/stat.h:275: error: syntax error before '__THROW'
/usr/include/sys/stat.h:285: error: syntax error before '__THROW'
/usr/include/sys/stat.h:298: error: syntax error before '__THROW'
/usr/include/sys/stat.h:325: error: syntax error before '__THROW'
/usr/include/sys/stat.h:327: error: syntax error before '__THROW'
/usr/include/sys/stat.h:329: error: syntax error before '__THROW'
/usr/include/sys/stat.h:358: error: syntax error before '__THROW'
/usr/include/sys/stat.h:364: error: syntax error before '(' token
/usr/include/sys/stat.h:378: error: syntax error before '(' token
In file included from scripts/basic/fixdep.c:109:
/usr/include/sys/mman.h:58: error: syntax error before 'extern'
/usr/include/sys/mman.h:59: error: syntax error before '__THROW'
/usr/include/sys/mman.h:77: error: syntax error before '__THROW'
/usr/include/sys/mman.h:82: error: syntax error before '__THROW'
/usr/include/sys/mman.h:104: error: syntax error before '__THROW'
/usr/include/sys/mman.h:107: error: syntax error before '__THROW'
/usr/include/sys/mman.h:112: error: syntax error before '__THROW'
/usr/include/sys/mman.h:116: error: syntax error before '__THROW'
scripts/basic/fixdep.c:110:20: error: unistd.h: No such file or directory
scripts/basic/fixdep.c:111:19: error: fcntl.h: No such file or directory
scripts/basic/fixdep.c:112:20: error: string.h: No such file or directory
scripts/basic/fixdep.c:113:20: error: stdlib.h: No such file or directory
scripts/basic/fixdep.c:114:19: error: stdio.h: No such file or directory
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from scripts/basic/fixdep.c:115:
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122:61: error: limits.h: No such file or directory
scripts/basic/fixdep.c:116:19: error: ctype.h: No such file or directory
In file included from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/netinet/in.h:23:20: error: stdint.h: No such file or directory
In file included from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/sys/socket.h:25: error: syntax error before '__BEGIN_DECLS'
In file included from /usr/include/sys/uio.h:29,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/uio.h:42: error: syntax error before 'struct'
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:36: error: syntax error before 'typedef'
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:237: error: syntax error before '__flexarr'
/usr/include/bits/socket.h:258: error: syntax error before '__THROW'
In file included from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/sys/socket.h:65:43: error: missing binary operator before token "("
In file included from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/sys/socket.h:100: error: syntax error before '__THROW'
/usr/include/sys/socket.h:107: error: syntax error before '__THROW'
/usr/include/sys/socket.h:111: error: syntax error before '__THROW'
/usr/include/sys/socket.h:115: error: syntax error before '__THROW'
/usr/include/sys/socket.h:129: error: syntax error before '__THROW'
/usr/include/sys/socket.h:187: error: syntax error before '__THROW'
/usr/include/sys/socket.h:193: error: syntax error before '__THROW'
/usr/include/sys/socket.h:199: error: syntax error before '__THROW'
/usr/include/sys/socket.h:218: error: syntax error before '__THROW'
In file included from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/netinet/in.h:28: error: syntax error before '__BEGIN_DECLS'
/usr/include/netinet/in.h:31: error: syntax error before 'enum'
/usr/include/netinet/in.h:92: error: syntax error before 'in_port_t'
/usr/include/netinet/in.h:136: error: syntax error before 'in_addr_t'
/usr/include/netinet/in.h:139: error: syntax error before 'in_addr_t'
/usr/include/netinet/in.h:197: error: syntax error before 'uint8_t'
/usr/include/netinet/in.h:199: error: syntax error before 'u6_addr32'
/usr/include/netinet/in.h:200: error: syntax error before '}' token
/usr/include/netinet/in.h:204: error: syntax error before '}' token
/usr/include/netinet/in.h:222: error: syntax error before 'in_port_t'
/usr/include/netinet/in.h:229: error: invalid application of 'sizeof' to incomplete type 'struct in_addr'
/usr/include/netinet/in.h:230: error: syntax error before '}' token
/usr/include/netinet/in.h:236: error: syntax error before 'in_port_t'
/usr/include/netinet/in.h:239: error: syntax error before 'sin6_scope_id'
/usr/include/netinet/in.h:247: error: field 'imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:250: error: field 'imr_interface' has incomplete type
/usr/include/netinet/in.h:256: error: field 'imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:259: error: field 'imr_interface' has incomplete type
/usr/include/netinet/in.h:262: error: field 'imr_sourceaddr' has incomplete type
/usr/include/netinet/in.h:269: error: field 'ipv6mr_multiaddr' has incomplete type
/usr/include/netinet/in.h:280: error: syntax error before 'uint32_t'
/usr/include/netinet/in.h:284: error: syntax error before '}' token
/usr/include/netinet/in.h:289: error: syntax error before 'uint32_t'
/usr/include/netinet/in.h:296: error: syntax error before '}' token
/usr/include/netinet/in.h:303: error: field 'imsf_multiaddr' has incomplete type
/usr/include/netinet/in.h:306: error: field 'imsf_interface' has incomplete type
/usr/include/netinet/in.h:309: error: syntax error before 'uint32_t'
/usr/include/netinet/in.h:314: error: array type has incomplete element type
/usr/include/netinet/in.h:315: error: syntax error before '}' token
/usr/include/netinet/in.h:324: error: syntax error before 'uint32_t'
/usr/include/netinet/in.h:330: error: syntax error before 'gf_fmode'
/usr/include/netinet/in.h:333: error: syntax error before 'gf_numsrc'
/usr/include/netinet/in.h:336: error: syntax error before '}' token
In file included from /usr/include/netinet/in.h:345,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/in.h:84: error: field 'ip_dst' has incomplete type
/usr/include/bits/in.h:91: error: field 'imr_multiaddr' has incomplete type
/usr/include/bits/in.h:92: error: field 'imr_address' has incomplete type
/usr/include/bits/in.h:100: error: field 'ipi_spec_dst' has incomplete type
/usr/include/bits/in.h:101: error: field 'ipi_addr' has incomplete type
In file included from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/netinet/in.h:354: error: syntax error before 'ntohl'
/usr/include/netinet/in.h:354: error: syntax error before '__netlong'
/usr/include/netinet/in.h:355: error: syntax error before 'ntohs'
/usr/include/netinet/in.h:355: error: syntax error before '__netshort'
/usr/include/netinet/in.h:357: error: syntax error before 'htonl'
/usr/include/netinet/in.h:357: error: syntax error before '__hostlong'
/usr/include/netinet/in.h:359: error: syntax error before 'htons'
/usr/include/netinet/in.h:359: error: syntax error before '__hostshort'
In file included from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/netinet/in.h:362:20: error: endian.h: No such file or directory
In file included from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/netinet/in.h:428: error: syntax error before '__THROW'
/usr/include/netinet/in.h:432: error: syntax error before '__THROW'
/usr/include/netinet/in.h:458: error: field 'ipi6_addr' has incomplete type
In file included from scripts/basic/fixdep.c:117:
/usr/include/arpa/inet.h:31: error: syntax error before '__BEGIN_DECLS'
/usr/include/arpa/inet.h:35: error: syntax error before 'extern'
/usr/include/arpa/inet.h:35: error: syntax error before '__THROW'
/usr/include/arpa/inet.h:38: error: syntax error before 'inet_lnaof'
/usr/include/arpa/inet.h:38: error: syntax error before '__THROW'
/usr/include/arpa/inet.h:42: error: syntax error before '__net'
/usr/include/arpa/inet.h:46: error: syntax error before 'inet_netof'
/usr/include/arpa/inet.h:46: error: syntax error before '__THROW'
/usr/include/arpa/inet.h:50: error: syntax error before 'inet_network'
/usr/include/arpa/inet.h:50: error: syntax error before '__THROW'
/usr/include/arpa/inet.h:54: error: syntax error before '__THROW'
/usr/include/arpa/inet.h:60: error: syntax error before '__THROW'
/usr/include/arpa/inet.h:67: error: syntax error before '__THROW'
scripts/basic/fixdep.c:124: error: syntax error before 'char'
scripts/basic/fixdep.c: In function 'usage':
scripts/basic/fixdep.c:131: warning: implicit declaration of function 'fprintf'
scripts/basic/fixdep.c:131: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:131: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:131: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:131: error: for each function it appears in.)
scripts/basic/fixdep.c:132: warning: implicit declaration of function 'exit'
scripts/basic/fixdep.c:132: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c: In function 'print_cmdline':
scripts/basic/fixdep.c:140: warning: implicit declaration of function 'printf'
scripts/basic/fixdep.c:140: warning: incompatible implicit declaration of built-in function 'printf'
scripts/basic/fixdep.c: In function 'grow_config':
scripts/basic/fixdep.c:156: warning: implicit declaration of function 'realloc'
scripts/basic/fixdep.c:156: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:158: warning: implicit declaration of function 'perror'
scripts/basic/fixdep.c:158: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c: In function 'is_defined_config':
scripts/basic/fixdep.c:174: warning: implicit declaration of function 'memcmp'
scripts/basic/fixdep.c: In function 'define_config':
scripts/basic/fixdep.c:187: warning: implicit declaration of function 'memcpy'
scripts/basic/fixdep.c:187: warning: incompatible implicit declaration of built-in function 'memcpy'
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:206: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:214: warning: incompatible implicit declaration of built-in function 'memcpy'
scripts/basic/fixdep.c:220: warning: implicit declaration of function 'tolower'
scripts/basic/fixdep.c:222: warning: incompatible implicit declaration of built-in function 'printf'
scripts/basic/fixdep.c:206: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'parse_config_file':
scripts/basic/fixdep.c:244: warning: implicit declaration of function 'isalnum'
scripts/basic/fixdep.c: In function 'strrcmp':
scripts/basic/fixdep.c:261: warning: implicit declaration of function 'strlen'
scripts/basic/fixdep.c:261: warning: incompatible implicit declaration of built-in function 'strlen'
scripts/basic/fixdep.c: In function 'do_config_file':
scripts/basic/fixdep.c:276: warning: implicit declaration of function 'open'
scripts/basic/fixdep.c:276: error: 'O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:278: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:278: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:280: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c:282: warning: implicit declaration of function 'fstat'
scripts/basic/fixdep.c:284: warning: implicit declaration of function 'close'
scripts/basic/fixdep.c:287: warning: implicit declaration of function 'mmap'
scripts/basic/fixdep.c:287: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:296: warning: implicit declaration of function 'munmap'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:306: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:308: warning: implicit declaration of function 'strchr'
scripts/basic/fixdep.c:308: warning: incompatible implicit declaration of built-in function 'strchr'
scripts/basic/fixdep.c:310: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:310: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:311: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c:313: warning: incompatible implicit declaration of built-in function 'memcpy'
scripts/basic/fixdep.c:314: warning: incompatible implicit declaration of built-in function 'printf'
scripts/basic/fixdep.c:306: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'print_deps':
scripts/basic/fixdep.c:347: error: 'O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:349: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:349: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:351: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c:355: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:359: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c: In function 'traps':
scripts/basic/fixdep.c:378: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:378: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:380: warning: incompatible implicit declaration of built-in function 'exit'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
我的系统缺什么?
这个lfs6.2我一直用得很好的。 |
|