[lkml]   [2002]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: make menuconfig fails
On Fri, 1 Mar 2002 11:26:02 -0600 (CST), 
John Peel <> wrote:
>I just setup a new box running RH7.2 and I am trying to compile kernel
>2.4.18. I did a minimal install on this box as it is only going to function as a router. When I
>initially did a 'make menuconfig' it gave me an error regarding ncurses
>being missing. I installed ncurses, ncurses4, and ncurses-devel. Now when
>I do a 'make menuconfig' I get the following output:
>[root@localhost linux]# make menuconfig
>rm -f include/asm
>( cd include ; ln -sf asm-i386 asm)
>make -C scripts/lxdialog all
>make[1]: Entering directory `/usr/src/linux/scripts/lxdialog'
>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
>-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o checklist.o
>checklist.c: In function `dialog_checklist':
>checklist.c:154: `TRUE' undeclared (first use in this function)

TRUE should be defined in /usr/include/ncurses/ncurses.h, like this

/* XSI and SVr4 specify that curses implements 'bool'. However, C++ may also
* implement it. If so, we must use the C++ compiler's type to avoid conflict
* with other interfaces.

#undef TRUE
#define TRUE 1

#undef FALSE
#define FALSE 0

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.041 / U:59.936 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site