Erro na compilação do kernel

Iniciado por lfernandosg, 21 de Março de 2006, 08:30

tópico anterior - próximo tópico

lfernandosg

Recentemente instalei o kernel 2.6.16 no meu Desktop e compilei ele todo tudo blz, mas quando baixei esse kernel para meu notebook e dei o comando "make xconfig" deu esse erro:

HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:105:23: error: sys/types.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:106:22: error: sys/stat.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:107:22: error: sys/mman.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:108:20: error: unistd.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:109:19: error: fcntl.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:110:20: error: string.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:111:20: error: stdlib.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:112:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/syslimits.h:7,
                from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:11,
                from scripts/basic/fixdep.c:113:
/usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:114:19: error: ctype.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:115:23: error: arpa/inet.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c: In function 'usage':
scripts/basic/fixdep.c:129: warning: implicit declaration of function 'fprintf'
scripts/basic/fixdep.c:129: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:129: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:129: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:129: error: for each function it appears in.)
scripts/basic/fixdep.c:130: warning: implicit declaration of function 'exit'
scripts/basic/fixdep.c:130: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c: In function 'print_cmdline':
scripts/basic/fixdep.c:142: warning: implicit declaration of function 'printf'
scripts/basic/fixdep.c:142: warning: incompatible implicit declaration of built-in function 'printf'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:151: error: 'NULL' undeclared here (not in a function)
scripts/basic/fixdep.c: In function 'grow_config':
scripts/basic/fixdep.c:164: warning: implicit declaration of function 'realloc'
scripts/basic/fixdep.c:164: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:166: warning: implicit declaration of function 'perror'
scripts/basic/fixdep.c:166: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c: In function 'is_defined_config':
scripts/basic/fixdep.c:182: warning: implicit declaration of function 'memcmp'
scripts/basic/fixdep.c: In function 'define_config':
scripts/basic/fixdep.c:195: warning: implicit declaration of function 'memcpy'
scripts/basic/fixdep.c:195: warning: incompatible implicit declaration of built-in function 'memcpy'
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:214: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:222: warning: incompatible implicit declaration of built-in function 'memcpy'
scripts/basic/fixdep.c:228: warning: implicit declaration of function 'tolower'
scripts/basic/fixdep.c:230: warning: incompatible implicit declaration of built-in function 'printf'
scripts/basic/fixdep.c:214: warning: unused variable 's'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:233: error: syntax error before 'size_t'
scripts/basic/fixdep.c:234: warning: function declaration isn't a prototype
scripts/basic/fixdep.c: In function 'parse_config_file':
scripts/basic/fixdep.c:235: error: 'map' undeclared (first use in this function)
scripts/basic/fixdep.c:235: error: 'len' undeclared (first use in this function)
scripts/basic/fixdep.c:241: warning: implicit declaration of function 'ntohl'
scripts/basic/fixdep.c:252: warning: implicit declaration of function 'isalnum'
scripts/basic/fixdep.c: In function 'strrcmp':
scripts/basic/fixdep.c:265: warning: implicit declaration of function 'strlen'
scripts/basic/fixdep.c:265: warning: incompatible implicit declaration of built-in function 'strlen'
scripts/basic/fixdep.c: In function 'do_config_file':
scripts/basic/fixdep.c:276: error: storage size of 'st' isn't known
scripts/basic/fixdep.c:280: warning: implicit declaration of function 'open'
scripts/basic/fixdep.c:280: error: 'O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:282: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:282: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:284: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c:286: warning: implicit declaration of function 'fstat'
scripts/basic/fixdep.c:288: warning: implicit declaration of function 'close'
scripts/basic/fixdep.c:291: warning: implicit declaration of function 'mmap'
scripts/basic/fixdep.c:291: error: 'PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:291: error: 'MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:291: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:300: warning: implicit declaration of function 'munmap'
scripts/basic/fixdep.c:276: warning: unused variable 'st'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:305: error: syntax error before 'size_t'
scripts/basic/fixdep.c:306: warning: function declaration isn't a prototype
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:307: error: 'map' undeclared (first use in this function)
scripts/basic/fixdep.c:308: error: 'len' undeclared (first use in this function)
scripts/basic/fixdep.c:310: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:312: warning: implicit declaration of function 'strchr'
scripts/basic/fixdep.c:312: warning: incompatible implicit declaration of built-in function 'strchr'
scripts/basic/fixdep.c:314: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:314: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:315: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c:317: warning: incompatible implicit declaration of built-in function 'memcpy'
scripts/basic/fixdep.c:318: warning: incompatible implicit declaration of built-in function 'printf'
scripts/basic/fixdep.c:310: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'print_deps':
scripts/basic/fixdep.c:347: error: storage size of 'st' isn't known
scripts/basic/fixdep.c:351: error: 'O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:353: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:353: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:355: warning: incompatible implicit declaration of built-in function 'exit'
scripts/basic/fixdep.c:359: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:363: error: 'PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:363: error: 'MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:363: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:347: warning: unused variable 'st'
scripts/basic/fixdep.c: In function 'traps':
scripts/basic/fixdep.c:382: warning: incompatible implicit declaration of built-in function 'fprintf'
scripts/basic/fixdep.c:382: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:384: warning: incompatible implicit declaration of built-in function 'exit'
make[1]: ** [scripts/basic/fixdep] Erro 1
make: ** [scripts_basic] Erro 2

o que será isso?
Dell Xps M1330/c2d 2.0Ghz/4GB ddr2/320GB sata/etc...

steelroot

já conseguiu a resposta? também estou nesse dilema.


vlw.

lfernandosg

faltava instalar o essential-build.
Dell Xps M1330/c2d 2.0Ghz/4GB ddr2/320GB sata/etc...