grub-devel
[Top][All Lists]
Advanced

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

Re: Cannot make under ubuntu 7.10 Alpha 5(Gutsy Gibbon)


From: UrJiZ
Subject: Re: Cannot make under ubuntu 7.10 Alpha 5(Gutsy Gibbon)
Date: Tue, 28 Aug 2007 09:20:01 +0300

I'm not a regular, but this looks like you don't have ncurses headers. You should install ncurses-dev or something like that.

On 8/27/07, Siebren Bakker <address@hidden> wrote:
I downloaded the 1.95 release from the site, managed to get ./configure to work perfectly, no errors there. When I try the 'make' command, everything goes through fine, until the compiler hits the util/console.c file. At this stage, I receive a list of errors, and the make fails.

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_emu-util_console.o util/console.c
util/console.c: In function 'grub_ncurses_putchar':
util/console.c:89: warning: implicit declaration of function 'addch'
util/console.c: In function 'grub_ncurses_setcolor':
util/console.c:121: warning: implicit declaration of function 'color_set'
util/console.c: At top level:
util/console.c:124: error: 'ERR' undeclared here (not in a function)
util/console.c: In function 'grub_ncurses_checkkey':
util/console.c:136: warning: implicit declaration of function 'wtimeout'
util/console.c:136: error: 'stdscr' undeclared (first use in this function)
util/console.c:136: error: (Each undeclared identifier is reported only once
util/console.c:136: error: for each function it appears in.)
util/console.c:137: warning: implicit declaration of function 'getch'
util/console.c: In function 'grub_ncurses_getkey':
util/console.c:161: error: 'stdscr' undeclared (first use in this function)
util/console.c:167: error: 'KEY_LEFT' undeclared (first use in this function)
util/console.c:171: error: 'KEY_RIGHT' undeclared (first use in this function)
util/console.c:175: error: 'KEY_UP' undeclared (first use in this function)
util/console.c:179: error: 'KEY_DOWN' undeclared (first use in this function)
util/console.c:183: error: 'KEY_IC' undeclared (first use in this function)
util/console.c:187: error: 'KEY_DC' undeclared (first use in this function)
util/console.c:191: error: 'KEY_BACKSPACE' undeclared (first use in this function)
util/console.c:198: error: 'KEY_HOME' undeclared (first use in this function)
util/console.c:202: error: 'KEY_END' undeclared (first use in this function)
util/console.c:206: error: 'KEY_NPAGE' undeclared (first use in this function)
util/console.c:210: error: 'KEY_PPAGE' undeclared (first use in this function)
util/console.c: In function 'grub_ncurses_getxy':
util/console.c:224: warning: implicit declaration of function 'getyx'
util/console.c:224: error: 'stdscr' undeclared (first use in this function)
util/console.c: In function 'grub_ncurses_getwh':
util/console.c:235: warning: implicit declaration of function 'getmaxyx'
util/console.c:235: error: 'stdscr' undeclared (first use in this function)
util/console.c: In function 'grub_ncurses_gotoxy':
util/console.c:243: warning: implicit declaration of function 'move'
util/console.c: In function 'grub_ncurses_cls':
util/console.c:249: warning: implicit declaration of function 'clear'
util/console.c:250: warning: implicit declaration of function 'refresh'
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] Error 1
address@hidden:~/Desktop/grub/grub- 1.95$

Not exactly sure what's going on there, I get the exact same error when i try to compile the program with the 1.91, 1.92, 1.93, and 1.94 versions as well.

_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel



-- urjaman

reply via email to

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