[COMPILATIO NOYAU] erreur

Bonjour,

Suite à un problème hdmi (image mais pas de son - post http://www.debian-fr.org/plus-de-son-t45891.html) je souhaiterais tenter de recompiler mon noyau.

Voici ma version actuelle :
uname -a

Lorsque j’essaye d’accéder a la config, je rencontre plusieurs erreurs :
make menuconfig

[quote] HOSTLD scripts/kconfig/mconf
scripts/kconfig/lxdialog/checklist.o: In function print_arrows': checklist.c:(.text+0x41): undefined reference towmove’
checklist.c:(.text+0x69): undefined reference to waddch' checklist.c:(.text+0x7b): undefined reference towaddnstr’
checklist.c:(.text+0x8c): undefined reference to wmove' checklist.c:(.text+0xbb): undefined reference towaddch’
checklist.c:(.text+0x113): undefined reference to waddch' checklist.c:(.text+0x122): undefined reference towaddch’
checklist.c:(.text+0x131): undefined reference to waddch' checklist.c:(.text+0x18b): undefined reference towaddch’
scripts/kconfig/lxdialog/checklist.o:checklist.c:(.text+0x19a): more undefined references to waddch' follow scripts/kconfig/lxdialog/checklist.o: In functionprint_item’:
checklist.c:(.text+0x245): undefined reference to wmove' checklist.c:(.text+0x26d): undefined reference towaddch’
checklist.c:(.text+0x287): undefined reference to wmove' checklist.c:(.text+0x2e0): undefined reference towmove’
checklist.c:(.text+0x2f2): undefined reference to waddch' checklist.c:(.text+0x31e): undefined reference towaddnstr’
checklist.c:(.text+0x337): undefined reference to wmove' checklist.c:(.text+0x33f): undefined reference towrefresh’
checklist.c:(.text+0x378): undefined reference to wprintw' scripts/kconfig/lxdialog/checklist.o: In functionprint_buttons’:
checklist.c:(.text+0x433): undefined reference to wmove' scripts/kconfig/lxdialog/checklist.o: In functiondialog_checklist’:
checklist.c:(.text+0x64f): undefined reference to newwin' checklist.c:(.text+0x6a7): undefined reference towmove’
checklist.c:(.text+0x6bb): undefined reference to waddch' checklist.c:(.text+0x6ee): undefined reference towaddch’
checklist.c:(.text+0x720): undefined reference to waddch' checklist.c:(.text+0x781): undefined reference tosubwin’
checklist.c:(.text+0x928): undefined reference to wnoutrefresh' checklist.c:(.text+0x930): undefined reference townoutrefresh’
checklist.c:(.text+0x935): undefined reference to doupdate' checklist.c:(.text+0x961): undefined reference towgetch’
checklist.c:(.text+0xaa1): undefined reference to doupdate' checklist.c:(.text+0xabd): undefined reference todelwin’
checklist.c:(.text+0xac5): undefined reference to delwin' checklist.c:(.text+0xb2d): undefined reference toscrollok’
checklist.c:(.text+0xb3c): undefined reference to wscrl' checklist.c:(.text+0xb48): undefined reference toscrollok’
checklist.c:(.text+0xb9f): undefined reference to wnoutrefresh' checklist.c:(.text+0xba9): undefined reference towrefresh’
checklist.c:(.text+0xc2c): undefined reference to wnoutrefresh' checklist.c:(.text+0xc36): undefined reference towrefresh’
checklist.c:(.text+0xce8): undefined reference to delwin' checklist.c:(.text+0xcf0): undefined reference todelwin’
checklist.c:(.text+0xd49): undefined reference to delwin' checklist.c:(.text+0xd51): undefined reference todelwin’
checklist.c:(.text+0xd79): undefined reference to doupdate' checklist.c:(.text+0xe0d): undefined reference toscrollok’
checklist.c:(.text+0xe1c): undefined reference to wscrl' checklist.c:(.text+0xe28): undefined reference toscrollok’
checklist.c:(.text+0xe84): undefined reference to wnoutrefresh' checklist.c:(.text+0xe8e): undefined reference towrefresh’
checklist.c:(.text+0xea8): undefined reference to doupdate' checklist.c:(.text+0xec5): undefined reference todoupdate’
checklist.c:(.text+0xf12): undefined reference to wrefresh' checklist.c:(.text+0xf17): undefined reference todoupdate’
checklist.c:(.text+0xf2a): undefined reference to waddch' scripts/kconfig/lxdialog/checklist.o: In functionprint_arrows’:
checklist.c:(.text+0xef): undefined reference to waddnstr' checklist.c:(.text+0x162): undefined reference towaddch’
scripts/kconfig/lxdialog/checklist.o: In function print_buttons': checklist.c:(.text+0x457): undefined reference towrefresh’
scripts/kconfig/lxdialog/util.o: In function on_key_esc': util.c:(.text+0x91f): undefined reference towgetch’
util.c:(.text+0x92a): undefined reference to wgetch' util.c:(.text+0x934): undefined reference towgetch’
util.c:(.text+0x98a): undefined reference to ungetch' scripts/kconfig/lxdialog/util.o: In functiondraw_box’:
util.c:(.text+0xae8): undefined reference to wmove' util.c:(.text+0xb5f): undefined reference towaddch’
util.c:(.text+0xb92): undefined reference to waddch' util.c:(.text+0xbda): undefined reference towaddch’
util.c:(.text+0xbfc): undefined reference to waddch' util.c:(.text+0xc24): undefined reference towaddch’
scripts/kconfig/lxdialog/util.o:util.c:(.text+0xc55): more undefined references to waddch' follow scripts/kconfig/lxdialog/util.o: In functiondraw_shadow’:
util.c:(.text+0xcad): undefined reference to has_colors' util.c:(.text+0xcd8): undefined reference towmove’
util.c:(.text+0xcf0): undefined reference to winch' util.c:(.text+0xcfc): undefined reference towaddch’
util.c:(.text+0xd21): undefined reference to wmove' util.c:(.text+0xd2c): undefined reference towinch’
util.c:(.text+0xd38): undefined reference to waddch' util.c:(.text+0xd40): undefined reference towinch’
util.c:(.text+0xd4c): undefined reference to waddch' scripts/kconfig/lxdialog/util.o: In functionprint_title’:
util.c:(.text+0xdeb): undefined reference to wmove' util.c:(.text+0xdfd): undefined reference towaddch’
util.c:(.text+0xe0a): undefined reference to wmove' util.c:(.text+0xe1c): undefined reference towaddnstr’
scripts/kconfig/lxdialog/util.o: In function print_button': util.c:(.text+0xe93): undefined reference towmove’
util.c:(.text+0xec0): undefined reference to waddnstr' util.c:(.text+0xf24): undefined reference towaddch’
util.c:(.text+0xf53): undefined reference to waddch' util.c:(.text+0xf74): undefined reference towaddnstr’
util.c:(.text+0xf91): undefined reference to waddnstr' util.c:(.text+0xfd0): undefined reference towaddch’
util.c:(.text+0xff1): undefined reference to waddnstr' util.c:(.text+0x100c): undefined reference towaddch’
util.c:(.text+0x1021): undefined reference to waddnstr' scripts/kconfig/lxdialog/util.o: In functionprint_autowrap’:
util.c:(.text+0x11d3): undefined reference to wmove' util.c:(.text+0x11e3): undefined reference towaddnstr’
util.c:(.text+0x12b7): undefined reference to wmove' util.c:(.text+0x12c7): undefined reference towaddnstr’
scripts/kconfig/lxdialog/util.o: In function end_dialog': util.c:(.text+0x12ee): undefined reference towmove’
util.c:(.text+0x12fa): undefined reference to wrefresh' scripts/kconfig/lxdialog/util.o: In functioninit_one_color’:
util.c:(.text+0x132f): undefined reference to init_pair' scripts/kconfig/lxdialog/util.o: In functionattr_clear’:
util.c:(.text+0x13a1): undefined reference to wmove' util.c:(.text+0x13bd): undefined reference towaddch’
scripts/kconfig/lxdialog/util.o: In function dialog_clear': util.c:(.text+0x146a): undefined reference towmove’
util.c:(.text+0x1487): undefined reference to waddnstr' util.c:(.text+0x14d6): undefined reference towmove’
util.c:(.text+0x1547): undefined reference to waddch' util.c:(.text+0x155d): undefined reference towaddch’
util.c:(.text+0x157b): undefined reference to waddch' util.c:(.text+0x15b1): undefined reference towaddnstr’
util.c:(.text+0x15c2): undefined reference to waddch' util.c:(.text+0x15e4): undefined reference towaddnstr’
scripts/kconfig/lxdialog/util.o: In function init_dialog': util.c:(.text+0x1615): undefined reference toinitscr’
util.c:(.text+0x1825): undefined reference to noecho' util.c:(.text+0x1b9f): undefined reference tohas_colors’
util.c:(.text+0x1bac): undefined reference to start_color' util.c:(.text+0x1d15): undefined reference toendwin’
scripts/kconfig/lxdialog/util.o: In function draw_shadow': util.c:(.text+0xd67): undefined reference townoutrefresh’
scripts/kconfig/lxdialog/util.o: In function print_title': util.c:(.text+0xe41): undefined reference towaddch’
scripts/kconfig/lxdialog/util.o: In function print_button': util.c:(.text+0xfaf): undefined reference towmove’
scripts/kconfig/lxdialog/util.o: In function end_dialog': util.c:(.text+0x1303): undefined reference toendwin’
scripts/kconfig/lxdialog/util.o: In function attr_clear': util.c:(.text+0x13f3): undefined reference towtouchln’
scripts/kconfig/lxdialog/util.o: In function dialog_clear': util.c:(.text+0x159a): undefined reference townoutrefresh’
scripts/kconfig/lxdialog/inputbox.o: In function print_buttons': inputbox.c:(.text+0xa3): undefined reference towmove’
scripts/kconfig/lxdialog/inputbox.o: In function dialog_inputbox': inputbox.c:(.text+0x1e0): undefined reference tonewwin’
inputbox.c:(.text+0x232): undefined reference to wmove' inputbox.c:(.text+0x246): undefined reference towaddch’
inputbox.c:(.text+0x267): undefined reference to waddch' inputbox.c:(.text+0x28f): undefined reference towaddch’
inputbox.c:(.text+0x31c): undefined reference to wmove' inputbox.c:(.text+0x3d0): undefined reference towaddch’
inputbox.c:(.text+0x3f5): undefined reference to wmove' inputbox.c:(.text+0x3fd): undefined reference towrefresh’
inputbox.c:(.text+0x42c): undefined reference to wgetch' inputbox.c:(.text+0x484): undefined reference todelwin’
inputbox.c:(.text+0x526): undefined reference to wmove' inputbox.c:(.text+0x56a): undefined reference todelwin’
inputbox.c:(.text+0x615): undefined reference to wmove' inputbox.c:(.text+0x683): undefined reference towaddch’
inputbox.c:(.text+0x6a5): undefined reference to wmove' inputbox.c:(.text+0x6ad): undefined reference towrefresh’
inputbox.c:(.text+0x72e): undefined reference to waddnstr' inputbox.c:(.text+0x7b5): undefined reference todelwin’
inputbox.c:(.text+0x7d1): undefined reference to delwin' inputbox.c:(.text+0x8be): undefined reference towmove’
inputbox.c:(.text+0x93b): undefined reference to waddch' inputbox.c:(.text+0x970): undefined reference towmove’
inputbox.c:(.text+0x978): undefined reference to wrefresh' inputbox.c:(.text+0x9a4): undefined reference towmove’
inputbox.c:(.text+0x9ac): undefined reference to wrefresh' inputbox.c:(.text+0x9ec): undefined reference todelwin’
inputbox.c:(.text+0xa0a): undefined reference to waddch' inputbox.c:(.text+0xa7d): undefined reference towmove’
inputbox.c:(.text+0xad9): undefined reference to wmove' inputbox.c:(.text+0xae1): undefined reference towrefresh’
inputbox.c:(.text+0xb4d): undefined reference to wmove' inputbox.c:(.text+0xbc3): undefined reference towaddch’
inputbox.c:(.text+0xbf1): undefined reference to wmove' inputbox.c:(.text+0xc5a): undefined reference towaddch’
inputbox.c:(.text+0xc73): undefined reference to wmove' inputbox.c:(.text+0xcb6): undefined reference towaddch’
inputbox.c:(.text+0xcc4): undefined reference to flash' inputbox.c:(.text+0xcee): undefined reference towmove’
inputbox.c:(.text+0xd67): undefined reference to waddch' inputbox.c:(.text+0xd94): undefined reference towmove’
inputbox.c:(.text+0xdbe): undefined reference to waddch' inputbox.c:(.text+0xde8): undefined reference towaddch’
scripts/kconfig/lxdialog/inputbox.o: In function print_buttons': inputbox.c:(.text+0xc7): undefined reference towrefresh’
scripts/kconfig/lxdialog/textbox.o: In function refresh_text_box': textbox.c:(.text+0x21a): undefined reference towmove’
textbox.c:(.text+0x227): undefined reference to waddch' textbox.c:(.text+0x245): undefined reference towaddnstr’
textbox.c:(.text+0x24d): undefined reference to wclrtoeol' textbox.c:(.text+0x27e): undefined reference townoutrefresh’
textbox.c:(.text+0x2a8): undefined reference to wbkgdset' textbox.c:(.text+0x2f8): undefined reference towmove’
textbox.c:(.text+0x30b): undefined reference to wprintw' textbox.c:(.text+0x31d): undefined reference towmove’
textbox.c:(.text+0x350): undefined reference to wbkgdset' scripts/kconfig/lxdialog/textbox.o: In functiondialog_textbox’:
textbox.c:(.text+0x4dd): undefined reference to newwin' textbox.c:(.text+0x507): undefined reference tosubwin’
textbox.c:(.text+0x52c): undefined reference to wbkgdset' textbox.c:(.text+0x57c): undefined reference towmove’
textbox.c:(.text+0x590): undefined reference to waddch' textbox.c:(.text+0x5be): undefined reference towaddch’
textbox.c:(.text+0x5f0): undefined reference to wbkgdset' textbox.c:(.text+0x5ff): undefined reference towaddch’
textbox.c:(.text+0x64c): undefined reference to wnoutrefresh' textbox.c:(.text+0x6a5): undefined reference towgetch’
textbox.c:(.text+0x71d): undefined reference to delwin' textbox.c:(.text+0x725): undefined reference todelwin’
textbox.c:(.text+0xba2): undefined reference to delwin' textbox.c:(.text+0xbaa): undefined reference todelwin’
textbox.c:(.text+0xbd0): undefined reference to wbkgdset' textbox.c:(.text+0xbde): undefined reference towaddch’
textbox.c:(.text+0xc2e): undefined reference to wnoutrefresh' scripts/kconfig/lxdialog/textbox.o: In functionrefresh_text_box’:
textbox.c:(.text+0x335): undefined reference to wrefresh' scripts/kconfig/lxdialog/yesno.o: In functionprint_buttons’:
yesno.c:(.text+0xa4): undefined reference to wmove' scripts/kconfig/lxdialog/yesno.o: In functiondialog_yesno’:
yesno.c:(.text+0x1bf): undefined reference to newwin' yesno.c:(.text+0x211): undefined reference towmove’
yesno.c:(.text+0x225): undefined reference to waddch' yesno.c:(.text+0x23f): undefined reference towaddch’
yesno.c:(.text+0x267): undefined reference to waddch' yesno.c:(.text+0x2be): undefined reference towgetch’
yesno.c:(.text+0x306): undefined reference to delwin' yesno.c:(.text+0x33a): undefined reference todelwin’
yesno.c:(.text+0x3ab): undefined reference to wrefresh' yesno.c:(.text+0x3ca): undefined reference todelwin’
yesno.c:(.text+0x424): undefined reference to delwin' yesno.c:(.text+0x452): undefined reference towaddch’
yesno.c:(.text+0x48c): undefined reference to delwin' scripts/kconfig/lxdialog/yesno.o: In functionprint_buttons’:
yesno.c:(.text+0xc8): undefined reference to wrefresh' scripts/kconfig/lxdialog/menubox.o: In functiondo_scroll’:
menubox.c:(.text+0x22): undefined reference to scrollok' menubox.c:(.text+0x2d): undefined reference towscrl’
menubox.c:(.text+0x37): undefined reference to scrollok' scripts/kconfig/lxdialog/menubox.o: In functionprint_arrows’:
menubox.c:(.text+0xba): undefined reference to wmove' menubox.c:(.text+0xe1): undefined reference towaddch’
menubox.c:(.text+0xf3): undefined reference to waddnstr' menubox.c:(.text+0x103): undefined reference towmove’
menubox.c:(.text+0x10b): undefined reference to wrefresh' menubox.c:(.text+0x13f): undefined reference towaddch’
menubox.c:(.text+0x14e): undefined reference to waddch' menubox.c:(.text+0x15d): undefined reference towaddch’
menubox.c:(.text+0x16c): undefined reference to waddch' menubox.c:(.text+0x17b): undefined reference towmove’
menubox.c:(.text+0x1cb): undefined reference to waddch' menubox.c:(.text+0x1dd): undefined reference towaddnstr’
menubox.c:(.text+0x203): undefined reference to waddch' menubox.c:(.text+0x212): undefined reference towaddch’
menubox.c:(.text+0x221): undefined reference to waddch' menubox.c:(.text+0x230): undefined reference towaddch’
scripts/kconfig/lxdialog/menubox.o: In function do_print_item': menubox.c:(.text+0x2dd): undefined reference towmove’
menubox.c:(.text+0x2e5): undefined reference to wclrtoeol' menubox.c:(.text+0x30b): undefined reference towmove’
menubox.c:(.text+0x320): undefined reference to waddnstr' menubox.c:(.text+0x353): undefined reference towmove’
menubox.c:(.text+0x368): undefined reference to waddch' menubox.c:(.text+0x380): undefined reference towmove’
menubox.c:(.text+0x3c7): undefined reference to wmove' menubox.c:(.text+0x3ce): undefined reference towclrtoeol’
scripts/kconfig/lxdialog/menubox.o: In function print_buttons': menubox.c:(.text+0x4f5): undefined reference towmove’
scripts/kconfig/lxdialog/menubox.o: In function dialog_menu': menubox.c:(.text+0x617): undefined reference tonewwin’
menubox.c:(.text+0x66f): undefined reference to wmove' menubox.c:(.text+0x683): undefined reference towaddch’
menubox.c:(.text+0x6af): undefined reference to waddch' menubox.c:(.text+0x6dd): undefined reference towbkgdset’
menubox.c:(.text+0x6ec): undefined reference to waddch' menubox.c:(.text+0x74c): undefined reference tosubwin’
menubox.c:(.text+0x8c5): undefined reference to wnoutrefresh' menubox.c:(.text+0x924): undefined reference towmove’
menubox.c:(.text+0x92c): undefined reference to wrefresh' menubox.c:(.text+0x94b): undefined reference towgetch’
menubox.c:(.text+0xae6): undefined reference to wnoutrefresh' menubox.c:(.text+0xaee): undefined reference towrefresh’
menubox.c:(.text+0xb04): undefined reference to delwin' menubox.c:(.text+0xb0c): undefined reference todelwin’
menubox.c:(.text+0xb68): undefined reference to delwin' menubox.c:(.text+0xb70): undefined reference todelwin’
menubox.c:(.text+0xe49): undefined reference to wrefresh' menubox.c:(.text+0xeef): undefined reference todelwin’
menubox.c:(.text+0xef7): undefined reference to delwin' menubox.c:(.text+0x1170): undefined reference towbkgdset’
menubox.c:(.text+0x117e): undefined reference to waddch' menubox.c:(.text+0x1224): undefined reference toscrollok’
scripts/kconfig/lxdialog/menubox.o: In function do_scroll': menubox.c:(.text+0x55): undefined reference towrefresh’
scripts/kconfig/lxdialog/menubox.o: In function print_arrows': menubox.c:(.text+0x1a5): undefined reference towrefresh’
scripts/kconfig/lxdialog/menubox.o: In function do_print_item': menubox.c:(.text+0x3b2): undefined reference towrefresh’
scripts/kconfig/lxdialog/menubox.o: In function print_buttons': menubox.c:(.text+0x505): undefined reference towrefresh’
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/mconf] Erreur 1
make: *** [menuconfig] Erreur 2[/quote]

Cette erreur apparait quelque soit le noyau (telechargé sur les depots debian ou sur kernel.org). Je n’ai rien trouvé sur le net, et a priori, tous les paquets sont installés. Pourriez vous m’aider ?

Merci

Salut,

Il y a un très bon tuto de notre wiki sur la manière de compiler son noyau :slightly_smiling:

wiki.debian-fr.org/

Merci ggoodluck47, j’ai bien entendu essayé de le suivre, mais ca bloque au niveau du make menuconfig (idem pour make xconfig, gconfig, etc …)

‘ça bloque’ ne nous fourni pas beaucoup d’information concernant le problème rencontré durant la compilation du kernel.

As-tu essayer de simplement prendre un kernel provenant des dépôts Debian, un kernel 2.6.32 c’est pour squeeze.
Les kernel xenifié existait du temps de la branche 2.6, la branche actuellement utilisait 3.2 les a incorporé donc pas de souci de ce côté là.

D’ailleurs un NAS avec un kernel Xenifié :think:

J’ai affiché le message d’erreur plus haut, après, je ne suis pas contre vous envoyer d’autres infos …
Que vous faudrait il de plus ?

J’ai aussi noté que j’avais tenté de mettre un kernel a partir des dépots (le 3.2) mais même message.

Problème au moment du lien de [mono]menuconfig[/mono], dû à une lib manquante ([mono]undefined reference[/mono]). Vu les symboles concernés, j’ai l’impression que c’est en rapport avec [mono]ncurses[/mono]. Vérifie que tu as bien [mono]libncurses5-dev[/mono] et [mono]libncursesw5-dev[/mono] qui sont installés.

SUPER SYAM. Il me manquait effectivement la librairie libncursesw5-dev (moi qui m’acharnait sur la librairie libncurses5-dev, je ne savais pasqu’il en fallait 2).

Merci bien

Faut dire, tous ces [mono]w[/mono] dans les symboles manquants me semblaient louches… :wink:
Et puis un bon vieux [mono]aptitude search ncurses[/mono] a fait le reste.

M’enfin, je me ferai jamais à [mono]ncurses[/mono], la seule lib à ma connaissance où on peut compiler du code l’utilisant sans avoir le paquet [mono]-dev[/mono] correspondant (mais qui bien sûr pose problème à la liaison, sinon c’est pas drôle).

Salut,

Ne serait-il pas bon de mettre à jour le wiki ? Je ne maitrise pas assez pour le faire :angry: