Gilberto -Problem Grub2 compilation
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
Quoted 23 lines
Quoted 2 lines · On Thu, Jan 31, 2008 at 10:13:18PM -0200, [email protected] 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
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 2 lines · On Fri, Feb 01, 2008 at 01:23:52AM -0200, [email protected] wrote:
make: *** No rule to make target
/usr/include/asm-i486/errno.h', needed bygrub_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.
Signature · 5 lines
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 /.)