Hi, Robert I try make the compilation I installed some libs and the .config is ok! but there are some wrongs bellow:
util/console.c: In function 'grub_ncurses_setcursor': util/console.c:256: warning: implicit declaration of function 'curs_set' util/console.c: In function 'grub_ncurses_init': util/console.c:268: warning: implicit declaration of function 'initscr' util/console.c:269: warning: implicit declaration of function 'raw' util/console.c:270: warning: implicit declaration of function 'noecho' util/console.c:271: warning: implicit declaration of function 'scrollok' util/console.c:271: error: 'stdscr' undeclared (first use in this function) util/console.c:271: error: 'TRUE' undeclared (first use in this function) util/console.c:273: warning: implicit declaration of function 'nonl' util/console.c:274: warning: implicit declaration of function 'intrflush' util/console.c:274: error: 'FALSE' undeclared (first use in this function) util/console.c:275: warning: implicit declaration of function 'keypad' util/console.c:276: warning: implicit declaration of function 'start_color' util/console.c: In function 'grub_ncurses_fini': util/console.c:284: warning: implicit declaration of function 'endwin' make: ** [grub_emu-util_console.o] Erro 1 my system is FeniX based debian testing uhmm!! What is the problem?? Thanks Gilberto > On Thu, Jan 31, 2008 at 08:39:07PM -0200, [EMAIL PROTECTED] > wrote: >> Could You this rotine in grub2 to me? It´s a bussiness proposal to you! >> If you can't make its. What is the better way? > > I think I told you before, but here it goes again: > > diff -ur grub2.old/kern/i386/pc/init.c grub2/kern/i386/pc/init.c > --- grub2.old/kern/i386/pc/init.c 2008-01-23 12:25:52.000000000 > +0100 > +++ grub2/kern/i386/pc/init.c 2008-01-31 23:53:03.000000000 +0100 > @@ -229,6 +229,11 @@ > } > else > grub_mm_init_region ((void *) mem_regions[i].addr, > mem_regions[i].size); > + > + if (*((grub_uint8_t *) 0x000ffa17)) > + grub_env_set ("default", "1"); > + else > + grub_env_set ("default", "0"); > > if (! grub_os_area_addr) > grub_fatal ("no upper memory"); > > Then just add two menuentries, and grub will pick the default depending on > the value in that memory position. > > Btw, if you don't mind me asking, what is this for? > > -- > Robert Millan > > <GPLv2> I know my rights; I want my phone call! > <DRM> What use is a phone call⦠if you are unable to speak? > (as seen on /.) > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel