tag:blogger.com,1999:blog-13864200.post113976897611823059..comments2023-10-06T10:52:07.395+02:00Comments on mis cosas: Compilar kernel al modo debianLuis Ángel Ortega Martínhttp://www.blogger.com/profile/04991930863691046591noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-13864200.post-6130400260917646182008-07-26T18:06:00.000+02:002008-07-26T18:06:00.000+02:00Realizando los pasos me da error, aquí está descri...Realizando los pasos me da error, aquí está descrito lo que hice:<BR/><BR/>#aptitude search kernel-package ncurses-dev fakeroot wget bzip2<BR/><BR/>Con eso verifico que sólo me falta el kernel-package, entonces lo instalo.<BR/><BR/>#aptitude install kernel-package<BR/><BR/>luego:<BR/><BR/>#cd /usr/src<BR/><BR/>#ls<BR/>...<BR/>linux-source-2.6.18.tar.bz2<BR/>...<BR/><BR/>Imagino que ese es el archivo que necesito, entonces<BR/><BR/>tar xvjf linux-source-2.6.18.tar.bz2<BR/><BR/>#ln -s linux-source-2.6.18 linuxsou<BR/><BR/>#cd linux-source-2.6.18<BR/><BR/>Este paso creo q lo hago bien, pero no estoy seguro, verifico que tenga la configuración actual del kernel con:<BR/><BR/>#more /boot/config-2.6.18-6-686<BR/><BR/>Pues por encima se ve bien, imagino que no tengo que hacer más nada sino:<BR/><BR/>#make mrproper //no bota ninguna salida<BR/><BR/>#make menuconfig //este comando bota esta salida:<BR/> HOSTCC scripts/basic/fixdep<BR/> HOSTCC scripts/basic/docproc<BR/> HOSTCC scripts/kconfig/conf.o<BR/> HOSTCC scripts/kconfig/kxgettext.o<BR/> HOSTCC scripts/kconfig/mconf.o<BR/> SHIPPED scripts/kconfig/zconf.tab.c<BR/> SHIPPED scripts/kconfig/lex.zconf.c<BR/> SHIPPED scripts/kconfig/zconf.hash.c<BR/> HOSTCC scripts/kconfig/zconf.tab.o<BR/> HOSTLD scripts/kconfig/mconf<BR/> HOSTCC scripts/kconfig/lxdialog/checklist.o<BR/>In file included from scripts/kconfig/lxdialog/checklist.c:24:<BR/>scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: No existe el fichero o el directorio<BR/>In file included from scripts/kconfig/lxdialog/checklist.c:24:<BR/>scripts/kconfig/lxdialog/dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’<BR/>scripts/kconfig/lxdialog/dialog.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’<BR/>scripts/kconfig/lxdialog/dialog.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’<BR/>scripts/kconfig/lxdialog/dialog.h:143: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/dialog.h:146: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/dialog.h:147: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/dialog.h:148: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/dialog.h:149: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/dialog.h:151: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token<BR/>scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:<BR/>scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once<BR/>scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)<BR/>scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression has no effect<BR/>scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’<BR/>scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’<BR/>scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’<BR/>scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘draw_shadow’<BR/>scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’<BR/>scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’<BR/>scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘draw_box’<BR/>scripts/kconfig/lxdialog/checklist.c:148: error: ‘attributes’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ‘wattrset’<BR/>scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘mvwaddch’<BR/>scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ‘waddch’<BR/>scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ‘print_title’<BR/>scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ‘print_autowrap’<BR/>scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’<BR/>scripts/kconfig/lxdialog/checklist.c:191: warning: implicit declaration of function ‘print_item’<BR/>scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘print_arrows’<BR/>scripts/kconfig/lxdialog/checklist.c:200: warning: implicit declaration of function ‘print_buttons’<BR/>scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wnoutrefresh’<BR/>scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘doupdate’<BR/>scripts/kconfig/lxdialog/checklist.c:207: warning: implicit declaration of function ‘wgetch’<BR/>scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_UP’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_DOWN’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:224: error: ‘FALSE’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:225: warning: implicit declaration of function ‘scrollok’<BR/>scripts/kconfig/lxdialog/checklist.c:226: warning: implicit declaration of function ‘wscrl’<BR/>scripts/kconfig/lxdialog/checklist.c:235: warning: implicit declaration of function ‘wrefresh’<BR/>scripts/kconfig/lxdialog/checklist.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’<BR/>scripts/kconfig/lxdialog/checklist.c:286: warning: implicit declaration of function ‘delwin’<BR/>scripts/kconfig/lxdialog/checklist.c:290: error: ‘KEY_LEFT’ undeclared (first use in this function)<BR/>scripts/kconfig/lxdialog/checklist.c:291: error: ‘KEY_RIGHT’ undeclared (first use in this function)<BR/>make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1<BR/>make[1]: *** [menuconfig] Error 2<BR/>make: *** [menuconfig] Error 2<BR/><BR/><BR/>Y ahí me quede pegado porque me imagino que debería ejecutarse un script para completar los pasos que describes después.<BR/><BR/>¿Qué significa ese error?, ¿qué debería hacer?HORSE_POWERhttps://www.blogger.com/profile/16885603022465119567noreply@blogger.com