* Gilberto -Problem Grub2 compilation
2008-01-31 22:54 ` Robert Millan
@ 2008-02-01 0:05 ` gilberto
2008-02-01 0:13 ` gilberto
2008-02-01 0:14 ` gilberto
0 siblings, 2 replies; 8+ messages in thread
From: gilberto @ 2008-02-01 0:05 UTC (permalink / raw)
To: The development of GRUB 2
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, gilberto@sistemafenix.com.br
> 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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
2008-02-01 0:05 ` Gilberto -Problem Grub2 compilation gilberto
@ 2008-02-01 0:13 ` gilberto
2008-02-01 0:52 ` Robert Millan
2008-02-01 0:14 ` gilberto
1 sibling, 1 reply; 8+ messages in thread
From: gilberto @ 2008-02-01 0:13 UTC (permalink / raw)
To: The development of GRUB 2
People already can resolv the problem with compilatin. I only need
libncurses5-dev
Thanks
> 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, gilberto@sistemafenix.com.br
>> 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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
2008-02-01 0:05 ` Gilberto -Problem Grub2 compilation gilberto
2008-02-01 0:13 ` gilberto
@ 2008-02-01 0:14 ` gilberto
1 sibling, 0 replies; 8+ messages in thread
From: gilberto @ 2008-02-01 0:14 UTC (permalink / raw)
To: The development of GRUB 2
People already can resolve the problem with compilatin. I only need
libncurses5-dev
Robert will send report to you. And I will make pay in your accont if this
will be correct!! It's serius!
Thanks again!!
Gilberto
> 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, gilberto@sistemafenix.com.br
>> 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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
2008-02-01 0:13 ` gilberto
@ 2008-02-01 0:52 ` Robert Millan
2008-02-01 1:20 ` gilberto
0 siblings, 1 reply; 8+ messages in thread
From: Robert Millan @ 2008-02-01 0:52 UTC (permalink / raw)
To: The development of GRUB 2
On Thu, Jan 31, 2008 at 10:13:18PM -0200, gilberto@sistemafenix.com.br wrote:
> People already can resolv the problem with compilatin. I only need
> libncurses5-dev
Does it work now?
Anyway, you don't have to build with --enable-grub-emu, that's an optional
feature.
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
2008-02-01 0:52 ` Robert Millan
@ 2008-02-01 1:20 ` gilberto
2008-02-01 11:51 ` Robert Millan
0 siblings, 1 reply; 8+ messages in thread
From: gilberto @ 2008-02-01 1:20 UTC (permalink / raw)
To: The development of GRUB 2
oot@fenix:/etc/apt# grub-install /dev/hda
cannot find a GRUB drive for /dev/ide/host0/bus0/target0/lun0/part4.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
Report bugs to <bug-grub@gnu.org>.
root@fenix:/etc/apt# grub-install --modules=ext3 /dev/hda
cannot find a GRUB drive for /dev/ide/host0/bus0/target0/lun0/part4.
grub-mkimage: error: cannot stat /usr/local/lib/grub/i386-pc/ext3.mod
Why happen this?
It's strange!!
Regards
Gilberto
On Thu, Jan 31, 2008 at 10:13:18PM -0200, gilberto@sistemafenix.com.br
> wrote:
>> People already can resolv the problem with compilatin. I only need
>> libncurses5-dev
>
> Does it work now?
>
> Anyway, you don't have to build with --enable-grub-emu, that's an optional
> feature.
>
> --
> 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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
@ 2008-02-01 3:23 gilberto
2008-02-01 11:53 ` Robert Millan
0 siblings, 1 reply; 8+ messages in thread
From: gilberto @ 2008-02-01 3:23 UTC (permalink / raw)
To: The development of GRUB 2; +Cc: rmh
Hi, I compiled with you teached. Compiltation is ok. But I have many
problems with installation of the grub2.The grub say unknow system file
problem with --modules I put --module ext2 and create the grub in my first
time. But didn't find the grub.cfg look like only grub-rescue em picture.
and now???
Because this I have been tring make others compilation, but I had problems.
libncurses5
The following NEW packages will be installed:
libncurses5-dev
The following NEW packages will be installed:
liblzo2-dev
autoconf
libzlo-dev
bison
I have been instaling the packages above.
./configure pass
onfig.status: creating Makefile
config.status: creating gensymlist.sh
config.status: creating genkernsyms.sh
config.status: creating stamp-h
config.status: creating config.h
config.status: linking ./include/grub/i386 to include/grub/cpu
config.status: linking ./include/grub/i386/pc to include/grub/machine
root@fenix:/home/fenix/grub-1.95#
make
root@fenix:/home/fenix/grub-1.95# make
gcc -Iutil/i386/pc -I./util/i386/pc -I. -Iinclude -I./include -Wall -W
-DGRUB_LIBDIR=\"/usr/local/lib/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1 -MD -c
-o grub_mkimage-util_i386_pc_grub_mkimage.o util/i386/pc/grub-mkimage.c
gcc -Iutil -I./util -I. -Iinclude -I./include -Wall -W
-DGRUB_LIBDIR=\"/usr/local/lib/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1 -MD -c
-o grub_mkimage-util_misc.o util/misc.c
gcc -Iutil -I./util -I. -Iinclude -I./include -Wall -W
-DGRUB_LIBDIR=\"/usr/local/lib/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1 -MD -c
-o grub_mkimage-util_resolve.o util/resolve.c
gcc -o grub-mkimage grub_mkimage-util_i386_pc_grub_mkimage.o
grub_mkimage-util_misc.o grub_mkimage-util_resolve.o -llzo2
gcc -Iutil/i386/pc -I./util/i386/pc -I. -Iinclude -I./include -Wall -W
-DGRUB_LIBDIR=\"/usr/local/lib/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1 -MD -c
-o grub_setup-util_i386_pc_grub_setup.o util/i386/pc/grub-setup.c
util/i386/pc/grub-setup.c: In function 'setup':
util/i386/pc/grub-setup.c:102: warning: 'root_dev' may be used
uninitialized in this function
make: *** No rule to make target `/usr/include/asm-i486/errno.h', needed
by `grub_setup-util_i386_pc_biosdisk.o'. Stop.
root@fenix:/home/fenix/grub-1.95#
well I can compile one time, bet had problems with modules-- in grub
because this I make update in gcc and now I have problems, please see
above.
Regards
Gilberto
> On Thu, Jan 31, 2008 at 10:13:18PM -0200, gilberto@sistemafenix.com.br
> wrote:
>> People already can resolv the problem with compilatin. I only need
>> libncurses5-dev
>
> Does it work now?
>
> Anyway, you don't have to build with --enable-grub-emu, that's an optional
> feature.
>
> --
> 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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
2008-02-01 1:20 ` gilberto
@ 2008-02-01 11:51 ` Robert Millan
0 siblings, 0 replies; 8+ messages in thread
From: Robert Millan @ 2008-02-01 11:51 UTC (permalink / raw)
To: The development of GRUB 2
On Thu, Jan 31, 2008 at 11:20:57PM -0200, gilberto@sistemafenix.com.br wrote:
> oot@fenix:/etc/apt# grub-install /dev/hda
> cannot find a GRUB drive for /dev/ide/host0/bus0/target0/lun0/part4.
What's in your /boot/grub/device.map ?
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Gilberto -Problem Grub2 compilation
2008-02-01 3:23 Gilberto -Problem Grub2 compilation gilberto
@ 2008-02-01 11:53 ` Robert Millan
0 siblings, 0 replies; 8+ messages in thread
From: Robert Millan @ 2008-02-01 11:53 UTC (permalink / raw)
To: The development of GRUB 2
On Fri, Feb 01, 2008 at 01:23:52AM -0200, gilberto@sistemafenix.com.br wrote:
> make: *** No rule to make target `/usr/include/asm-i486/errno.h', needed
> by `grub_setup-util_i386_pc_biosdisk.o'. Stop.
Are the Linux headers installed? In Debian, you can make sure all standard
build components are installed with `apt-get install build-essential'. I
don't know about others, but it should be simple too.
--
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 /.)
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-02-01 11:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 3:23 Gilberto -Problem Grub2 compilation gilberto
2008-02-01 11:53 ` Robert Millan
-- strict thread matches above, loose matches on Subject: below --
2008-01-31 21:53 who want money???? gilberto
2008-01-31 22:18 ` Robert Millan
2008-01-31 22:39 ` gilberto
2008-01-31 22:54 ` Robert Millan
2008-02-01 0:05 ` Gilberto -Problem Grub2 compilation gilberto
2008-02-01 0:13 ` gilberto
2008-02-01 0:52 ` Robert Millan
2008-02-01 1:20 ` gilberto
2008-02-01 11:51 ` Robert Millan
2008-02-01 0:14 ` gilberto
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.