danielcrvg
(usa Slackware)
Enviado em 30/07/2012 - 10:57h
galera tava seguindo os passos de uma dica, podem ta dando erro na hora do # make menuconfig que relato abaixo...
root@f3nix:/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:106:23: error: sys/types.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:107:22: error: sys/stat.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:108:22: error: sys/mman.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:109:20: error: unistd.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:110:19: error: fcntl.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:111:20: error: string.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:112:20: error: stdlib.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:113:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.4.5/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.4.5/include-fixed/limits.h:11,
from scripts/basic/fixdep.c:114:
/usr/lib/gcc/i486-linux-gnu/4.4.5/include-fixed/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:115:19: error: ctype.h: Arquivo ou diretório não encontrado
scripts/basic/fixdep.c:116: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:138: warning: implicit declaration of function ‘printf’
scripts/basic/fixdep.c:138: warning: incompatible implicit declaration of built-in function ‘printf’
scripts/basic/fixdep.c: In function ‘is_defined_config’:
scripts/basic/fixdep.c:170: warning: implicit declaration of function ‘memcmp’
scripts/basic/fixdep.c: In function ‘define_config’:
scripts/basic/fixdep.c:181: warning: implicit declaration of function ‘malloc’
scripts/basic/fixdep.c:181: warning: incompatible implicit declaration of built-in function ‘malloc’
scripts/basic/fixdep.c:184: warning: implicit declaration of function ‘perror’
scripts/basic/fixdep.c:185: warning: incompatible implicit declaration of built-in function ‘exit’
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 ‘clear_config’:
scripts/basic/fixdep.c:205: warning: implicit declaration of function ‘free’
scripts/basic/fixdep.c:205: warning: incompatible implicit declaration of built-in function ‘free’
scripts/basic/fixdep.c:207: error: ‘NULL’ undeclared (first use in this function)
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:224: warning: incompatible implicit declaration of built-in function ‘printf’
scripts/basic/fixdep.c:230: warning: implicit declaration of function ‘tolower’
scripts/basic/fixdep.c:231: warning: implicit declaration of function ‘putchar’
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:236: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:238: error: ‘len’ undeclared (first use in this function)
scripts/basic/fixdep.c:244: warning: implicit declaration of function ‘ntohl’
scripts/basic/fixdep.c:255: warning: implicit declaration of function ‘isalnum’
scripts/basic/fixdep.c: In function ‘strrcmp’:
scripts/basic/fixdep.c:272: warning: implicit declaration of function ‘strlen’
scripts/basic/fixdep.c:272: warning: incompatible implicit declaration of built-in function ‘strlen’
scripts/basic/fixdep.c: In function ‘do_config_file’:
scripts/basic/fixdep.c:283: error: storage size of ‘st’ isn’t known
scripts/basic/fixdep.c:287: warning: implicit declaration of function ‘open’
scripts/basic/fixdep.c:287: error: ‘O_RDONLY’ undeclared (first use in this function)
scripts/basic/fixdep.c:289: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/basic/fixdep.c:289: error: ‘stderr’ undeclared (first use in this function)
scripts/basic/fixdep.c:291: warning: incompatible implicit declaration of built-in function ‘exit’
scripts/basic/fixdep.c:293: warning: implicit declaration of function ‘fstat’
scripts/basic/fixdep.c:295: warning: implicit declaration of function ‘close’
scripts/basic/fixdep.c:298: warning: implicit declaration of function ‘mmap’
scripts/basic/fixdep.c:298: error: ‘NULL’ undeclared (first use in this function)
scripts/basic/fixdep.c:298: error: ‘PROT_READ’ undeclared (first use in this function)
scripts/basic/fixdep.c:298: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
scripts/basic/fixdep.c:305: error: too many arguments to function ‘parse_config_file’
scripts/basic/fixdep.c:307: warning: implicit declaration of function ‘munmap’
scripts/basic/fixdep.c:283: warning: unused variable ‘st’
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:317: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:320: error: ‘len’ undeclared (first use in this function)
scripts/basic/fixdep.c:322: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/basic/fixdep.c:325: warning: implicit declaration of function ‘strchr’
scripts/basic/fixdep.c:325: warning: incompatible implicit declaration of built-in function ‘strchr’
scripts/basic/fixdep.c:327: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/basic/fixdep.c:327: error: ‘stderr’ undeclared (first use in this function)
scripts/basic/fixdep.c:328: warning: incompatible implicit declaration of built-in function ‘exit’
scripts/basic/fixdep.c:330: warning: incompatible implicit declaration of built-in function ‘memcpy’
scripts/basic/fixdep.c:357: warning: incompatible implicit declaration of built-in function ‘printf’
scripts/basic/fixdep.c:360: warning: incompatible implicit declaration of built-in function ‘printf’
scripts/basic/fixdep.c:366: warning: incompatible implicit declaration of built-in function ‘printf’
scripts/basic/fixdep.c:322: warning: unused variable ‘s’
scripts/basic/fixdep.c: In function ‘print_deps’:
scripts/basic/fixdep.c:372: error: storage size of ‘st’ isn’t known
scripts/basic/fixdep.c:376: error: ‘O_RDONLY’ undeclared (first use in this function)
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’
scripts/basic/fixdep.c:383: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/basic/fixdep.c:385: warning: incompatible implicit declaration of built-in function ‘exit’
scripts/basic/fixdep.c:388: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/basic/fixdep.c:392: error: ‘NULL’ undeclared (first use in this function)
scripts/basic/fixdep.c:392: error: ‘PROT_READ’ undeclared (first use in this function)
scripts/basic/fixdep.c:392: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
scripts/basic/fixdep.c:399: error: too many arguments to function ‘parse_dep_file’
scripts/basic/fixdep.c:372: warning: unused variable ‘st’
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:412: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/basic/fixdep.c:412: error: ‘stderr’ undeclared (first use in this function)
scripts/basic/fixdep.c:414: warning: incompatible implicit declaration of built-in function ‘exit’
make[1]: ** [scripts/basic/fixdep] Erro 1
make: ** [scripts_basic] Erro 2
root@f3nix:/usr/src/linux#