grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I've a problem to compile i386 grub-emu


From: Felix Zielcke
Subject: I've a problem to compile i386 grub-emu
Date: Sun, 20 Jul 2008 12:08:48 +0200

I have a x86_64 Kernel and want to have a 32bit grub-emu so modules are working.
Even in a 32bit chroot running a shell with linux32 so uname -m reports i686 I 
can't get it to compile

Btw. make distclean didn't worked for my already used 64bit grub2 SVN directory 
I needed to do a clean checkout


# ./configure --enable-grub-emu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

# make grub-emu
cd . && autoheader
echo timestamp > ./stamp-h.in
gcc -Iutil -I./util -I. -Iinclude -I./include -Wall -W -DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -g -O2 -DGRUB_UTIL=1 -MD -c -o grub_emu-util_console.o util/console.c
util/console.c: In function 'grub_ncurses_putchar':
util/console.c:88: warning: implicit declaration of function 'addch'
util/console.c: In function 'grub_ncurses_setcolor':
util/console.c:120: warning: implicit declaration of function 'color_set'
util/console.c: At top level:
util/console.c:123: error: 'ERR' undeclared here (not in a function)
util/console.c: In function 'grub_ncurses_checkkey':
util/console.c:135: warning: implicit declaration of function 'wtimeout'
util/console.c:135: error: 'stdscr' undeclared (first use in this function)
util/console.c:135: error: (Each undeclared identifier is reported only once
util/console.c:135: error: for each function it appears in.)
util/console.c:136: warning: implicit declaration of function 'getch'
util/console.c: In function 'grub_ncurses_getkey':
util/console.c:160: error: 'stdscr' undeclared (first use in this function)
util/console.c:166: error: 'KEY_LEFT' undeclared (first use in this function)
util/console.c:170: error: 'KEY_RIGHT' undeclared (first use in this function)
util/console.c:174: error: 'KEY_UP' undeclared (first use in this function)
util/console.c:178: error: 'KEY_DOWN' undeclared (first use in this function)
util/console.c:182: error: 'KEY_IC' undeclared (first use in this function)
util/console.c:186: error: 'KEY_DC' undeclared (first use in this function)
util/console.c:190: error: 'KEY_BACKSPACE' undeclared (first use in this 
function)
util/console.c:197: error: 'KEY_HOME' undeclared (first use in this function)
util/console.c:201: error: 'KEY_END' undeclared (first use in this function)
util/console.c:205: error: 'KEY_NPAGE' undeclared (first use in this function)
util/console.c:209: error: 'KEY_PPAGE' undeclared (first use in this function)
util/console.c: In function 'grub_ncurses_getxy':
util/console.c:223: warning: implicit declaration of function 'getyx'
util/console.c:223: error: 'stdscr' undeclared (first use in this function)
util/console.c: In function 'grub_ncurses_getwh':
util/console.c:234: warning: implicit declaration of function 'getmaxyx'
util/console.c:234: error: 'stdscr' undeclared (first use in this function)
util/console.c: In function 'grub_ncurses_gotoxy':
util/console.c:242: warning: implicit declaration of function 'move'
util/console.c: In function 'grub_ncurses_cls':
util/console.c:248: warning: implicit declaration of function 'clear'
util/console.c:249: warning: implicit declaration of function 'refresh'
util/console.c: In function 'grub_ncurses_setcursor':
util/console.c:255: warning: implicit declaration of function 'curs_set'
util/console.c: In function 'grub_ncurses_init':
util/console.c:267: warning: implicit declaration of function 'initscr'
util/console.c:268: warning: implicit declaration of function 'raw'
util/console.c:269: warning: implicit declaration of function 'noecho'
util/console.c:270: warning: implicit declaration of function 'scrollok'
util/console.c:270: error: 'stdscr' undeclared (first use in this function)
util/console.c:270: error: 'TRUE' undeclared (first use in this function)
util/console.c:272: warning: implicit declaration of function 'nonl'
util/console.c:273: warning: implicit declaration of function 'intrflush'
util/console.c:273: error: 'FALSE' undeclared (first use in this function)
util/console.c:274: warning: implicit declaration of function 'keypad'
util/console.c:275: warning: implicit declaration of function 'start_color'
util/console.c: In function 'grub_ncurses_fini':
util/console.c:283: warning: implicit declaration of function 'endwin'
make: *** [grub_emu-util_console.o] Fehler 1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]