BOn je galère avec la compilation du noyau et je n'y comprends plus rien.
Voilà, j'ai décidé de réinstaller ma Debian depuis 0.
Installation nickel de la woody (oui le CD de la sarge n'a jamais voulu reconnaitre mon matos standard). Attention, je n'ai installé que le stricte minimum, autrement dit pas de logiciel, pas d'interface graphique.
Modification du source-list pour passer en sarge.
Ensuite j'ai installé make, gcc (3.3.4), kernel-source-2.6.8, y'avait modutils avec.
Bon je fait make menuconfig et là je n'ai que des erreurs.
Ces erreurs sont dans le script scripts/basic/fixedep.c.
j'ai une erreur du style (je recopie, je ne peux faire de copier/coller de puis ma Debian en mode console):
- Code: Tout sélectionner
HOSTCC scripts/basic/fixedep
scripts/basic/fixedep.c:97:23: sys/types.h No such file or directory
scripts/basic/fixedep.c:98:22: sys/stat.h No such file or directory
scripts/basic/fixedep.c:99:22: sys/mman.h No such file or directory
scripts/basic/fixedep.c:100:20: unistd.h No such file or directory
scripts/basic/fixedep.c:101:19: fcntl.h No such file or directory
scripts/basic/fixedep.c:102:20: string.h No such file or directory
scripts/basic/fixedep.c:103:20: stdlib.h No such file or directory
scripts/basic/fixedep.c:104:19: stdio.h No such file or directory
In file included from /usr/lib/gcc-lib/i486-linux/3.3.4/include/syslimis.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:1,
from scripts/basic/fixedep.c:105:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:122:75: limis.h No such fil
e or directory
scripts/basic/fixedep.c:106:19: ctype.h No such file or directory
scripts/basic/fixedep.c:107:24: netinet/in.h No such file or directory
scripts/basic/fixedep.c: In function 'usage' :
scripts/basic/fixedep.c:121: warning: implicit declaration of funciont 'fprintf'
'
scripts/basic/fixedep.c:121: error: 'stderr' undeclared (first use in function)
scripts/basic/fixedep.c:121: error: (Each undeclared indentifier is reported only once
scripts/basic/fixedep.c:121: error: for each function it appears in.)
scripts/basic/fixedep.c:122: warning: implicit declaration of function 'exit'
scripts/basic/fixedep.c: In function 'print_cmdline' :
scripts/basic/fixedep.c:127: warning: implicit declaration of function 'printf'
scripts/basic/fixedep.c: At top level :
scripts/basic/fixedep.c:130: error: 'NULL' undeclared here (not a function)
scripts/basic/fixedep.c: In function 'grow_config'
scripts/basic/fixedep.c:143: warning: implicit declaration of function 'realloc'
scripts/basic/fixedep.c:143: warning: assignement makes pointer from integer without a cast
scripts/basic/fixedep.c:144: error: 'NULL' undeclared (first use in this function)
scripts/basic/fixedep.c:145: warning: implicit declaration of function 'perror'
scripts/basic/fixedep.c: In function 'is_defined_config'
scripts/basic/fixedep.c:161: warning: implicit declaration of function 'memcmp'
scripts/basic/fixedep.c: In function 'defined_config'
scripts/basic/fixedep.c:174: warning: implicit declaration of function 'memcpy'
... ...
scripts/basic/fixedep.c: In function 'parse_dep_file'
scripts/basic/fixedep.c:286: error: 'map' undeclared (first use in this function)
scripts/basic/fixedep.c:287: error: 'len' undeclared (first use in this function)
scripts/basic/fixedep.c:289: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixedep.c:291: warning: implicit declaration of function 'strchr'
scripts/basic/fixedep.c:293: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixedep.c:289: warning: unused variable 's'
scripts/basic/fixedep.c: In function 'print_deps'
scripts/basic/fixedep.c:325: error: storage size of 'st' isn't know
scripts/basic/fixedep.c:329: error: 'O_RDONLY' undeclared (first use in this function)
scripts/basic/fixedep.c:331: error: 'stderr' undeclared (first use in this function)
scripts/basic/fixedep.c:341: error: 'NULL' undeclared (first use in this function)
scripts/basic/fixedep.c:341: error: 'PROT_READ' undeclared (first use in this function)
scripts/basic/fixedep.c:341: error: 'MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixedep.c:341: warning: assignement makes pointer from integer without a cast
scripts/basic/fixedep.c:325: warning: unused variable 'st'
scripts/basic/fixedep.c: In function 'traps'
scripts/basic/fixedep.c:360: error: 'MAP_PRIVATE' undeclared (first use in this function)
make[1]: *** [scripts/basic/fixedep] Error 1
make: *** [scripts_basic] Error 2
Clairement il me manque un librairie, mais laquelle?
J'ai installé les headers, rien n'y change.
D'avance merci pour votre aide/suggestions.