Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KKVqo-00069s-R0 for mharc-grub-devel@gnu.org; Sun, 20 Jul 2008 06:09:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKVqm-00069d-8l for grub-devel@gnu.org; Sun, 20 Jul 2008 06:09:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKVql-00069L-JK for grub-devel@gnu.org; Sun, 20 Jul 2008 06:09:07 -0400 Received: from [199.232.76.173] (port=35241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKVql-00069H-Ah for grub-devel@gnu.org; Sun, 20 Jul 2008 06:09:07 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:58868) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKVqk-0004gf-R1 for grub-devel@gnu.org; Sun, 20 Jul 2008 06:09:07 -0400 Received: from fz (e180026197.adsl.alicedsl.de [85.180.26.197]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1KKVqj480S-0001dY; Sun, 20 Jul 2008 12:09:06 +0200 Message-ID: From: "Felix Zielcke" To: Date: Sun, 20 Jul 2008 12:08:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-Provags-ID: V01U2FsdGVkX1/kkL5iYaKsW/NvPA7petbpcacKSJA7eTv7f6h 6nCGSvO798K3ARkL8VS5wDtPvjFm4TvyoBfquEfDnZ1pq5Ot50 AZakae3ulrnMk3DX+YTY93ZGU56jC8a X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: I've a problem to compile i386 grub-emu X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 10:09:08 -0000 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