Probleme de config du noyau


#1

Bonsoir, je souhaiterais passer de ma version 2.6.7 a la version 2.6.8 de ma debian sarge je vais donc recuperer les sources et d’apres le post desktop-linux.net/debkernel.htm ensuite je tape make menuconfig et j’ai les erreus suivantes qui apparaissent d’ou cela peut il provenir et comment y remedier merci je suis bien en root (cf le diese le prouve)

debian:/usr/src/kernel-source-2.6.8# make menuconfig HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:97:23: sys/types.h: No such file or directory scripts/basic/fixdep.c:98:22: sys/stat.h: No such file or directory scripts/basic/fixdep.c:99:22: sys/mman.h: No such file or directory scripts/basic/fixdep.c:100:20: unistd.h: No such file or directory scripts/basic/fixdep.c:101:19: fcntl.h: No such file or directory scripts/basic/fixdep.c:102:20: string.h: No such file or directory scripts/basic/fixdep.c:103:20: stdlib.h: No such file or directory scripts/basic/fixdep.c:104:19: stdio.h: No such file or directory In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, from scripts/basic/fixdep.c:105: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory scripts/basic/fixdep.c:106:19: ctype.h: No such file or directory scripts/basic/fixdep.c:107:24: netinet/in.h: No such file or directory scripts/basic/fixdep.c: In function `usage': scripts/basic/fixdep.c:121: warning: implicit declaration of function `fprintf' scripts/basic/fixdep.c:121: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:121: error: (Each undeclared identifier is reported only once scripts/basic/fixdep.c:121: error: for each function it appears in.) scripts/basic/fixdep.c:122: warning: implicit declaration of function `exit' scripts/basic/fixdep.c: In function `print_cmdline': scripts/basic/fixdep.c:127: warning: implicit declaration of function `printf' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:130: error: `NULL' undeclared here (not in a function) scripts/basic/fixdep.c: In function `grow_config': scripts/basic/fixdep.c:143: warning: implicit declaration of function `realloc' scripts/basic/fixdep.c:143: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:144: error: `NULL' undeclared (first use in this function) scripts/basic/fixdep.c:145: warning: implicit declaration of function `perror' scripts/basic/fixdep.c: In function `is_defined_config': scripts/basic/fixdep.c:161: warning: implicit declaration of function `memcmp' scripts/basic/fixdep.c: In function `define_config': scripts/basic/fixdep.c:174: warning: implicit declaration of function `memcpy' scripts/basic/fixdep.c: In function `use_config': scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:207: warning: implicit declaration of function `tolower' scripts/basic/fixdep.c:193: warning: unused variable `s' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:212: error: parse error before "size_t" scripts/basic/fixdep.c:213: warning: function declaration isn't a prototype scripts/basic/fixdep.c: In function `parse_config_file': scripts/basic/fixdep.c:214: error: `map' undeclared (first use in this function) scripts/basic/fixdep.c:214: error: `len' undeclared (first use in this function) scripts/basic/fixdep.c:220: warning: implicit declaration of function `ntohl' scripts/basic/fixdep.c:231: warning: implicit declaration of function `isalnum' scripts/basic/fixdep.c: In function `strrcmp': scripts/basic/fixdep.c:244: warning: implicit declaration of function `strlen' scripts/basic/fixdep.c: In function `do_config_file': scripts/basic/fixdep.c:255: error: storage size of `st' isn't known scripts/basic/fixdep.c:259: warning: implicit declaration of function `open' scripts/basic/fixdep.c:259: error: `O_RDONLY' undeclared (first use in this function) scripts/basic/fixdep.c:261: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:265: warning: implicit declaration of function `fstat' scripts/basic/fixdep.c:267: warning: implicit declaration of function `close' scripts/basic/fixdep.c:270: warning: implicit declaration of function `mmap' scripts/basic/fixdep.c:270: error: `NULL' undeclared (first use in this function) scripts/basic/fixdep.c:270: error: `PROT_READ' undeclared (first use in this function) scripts/basic/fixdep.c:270: error: `MAP_PRIVATE' undeclared (first use in this function) scripts/basic/fixdep.c:270: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:279: warning: implicit declaration of function `munmap' scripts/basic/fixdep.c:255: warning: unused variable `st' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:284: error: parse error before "size_t" scripts/basic/fixdep.c:285: warning: function declaration isn't a prototype scripts/basic/fixdep.c: In function `parse_dep_file': scripts/basic/fixdep.c:286: error: `map' undeclared (first use in this function) scripts/basic/fixdep.c:287: error: `len' undeclared (first use in this function) scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:291: warning: implicit declaration of function `strchr' scripts/basic/fixdep.c:293: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:289: warning: unused variable `s' scripts/basic/fixdep.c: In function `print_deps': scripts/basic/fixdep.c:325: error: storage size of `st' isn't known scripts/basic/fixdep.c:329: error: `O_RDONLY' undeclared (first use in this function) scripts/basic/fixdep.c:331: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:341: error: `NULL' undeclared (first use in this function) scripts/basic/fixdep.c:341: error: `PROT_READ' undeclared (first use in this function) scripts/basic/fixdep.c:341: error: `MAP_PRIVATE' undeclared (first use in this function) scripts/basic/fixdep.c:341: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:325: warning: unused variable `st' scripts/basic/fixdep.c: In function `traps': scripts/basic/fixdep.c:360: error: `stderr' undeclared (first use in this function) make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2


#2

debian:/usr/src/kernel-source-2.6.8# make menuconfig HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:97:23: sys/types.h: No such file or directory
J’ai cherché sur le net et j’ai trouvé ça :
lists.naos.co.nz/pipermail/welly … 07365.html
As-tu installé libc6-dev sur ton système (apt-get install libc6-dev) ?


#3

Merci bien c’etait ca j’ai cherché mais pas trouvé n’ayant pas beaucoup dormis cette nuit ca doit etre pour ca. Je pousserais un peu plus mes investigations la prochaine fois car la je suis bien aveugle :confused:


#4

Ca y est, j’en ai aidé un !!!
J’suis hyper content :blush:


#5

Tu veux pas en aider un autre :laughing: ?
Je n’arrive pas à faire reconnaître make-kpkg par mon ordi :cry:
Ds le tuto Debian, ils disent que c’est avec cette commande qu’il faut pratiquer pour compiler le noyau.
MattOTop dit pareil.


#6

Oui Ricardo, j’ai bien vu ton problème, mais de là à savoir le résoudre, il y a un long chemin.
Chez moi, make-kpkg marche.
Par contre, je cherche toujours comment redimensionner mes partitions ext3…


#7

Je ne sais pas si ca va pouvoir t’aider mais tu peut redimensionner tes partitions avec cfdisk (cf delafond.org/traducmanfr/man … isk.8.html )

Ricardo tu peut en dire plus sur ton probleme quel sont les messages d’erreurs ou autres?


#8

Aie ! Attention !!! :angry:

Redimentionner, oui mais il perdra tout … Et ca il faut en être conscient avant de lancer la commande … Donc avant, ne pas oublier le backup !

Je me souviens d’une commande fips mais je ne sais pas si ca existe toujours.
Il me semble que j’avais entendu parler de Qtparted dans cettte discussion.

Qtparted est à ma connaissance un “front-end” à la command-line “parted”.
Pour l’avoir essayé par curiosité, juste pour visualiser les partitions existantes je dirais que ca donne un “joli visu” graphique mais personnellement, je ne l’utiliserais pas pour redimentionner, il me semble encore passablement buggé … (plantages). Donc à la place peut-être utiliser parted…


#9

Ben j’essaie de compiler un noyau selon la methode Debian et il est précisé que le faire avec
make-kpkg

[quote]ricardod@debian:~$ make-kpkg
bash: make-kpkg: command not found
ricardod@debian:~$[/quote]


AFFAIRE RÉSOLUE = rechargé kernel-package