* make menuconfig fails
@ 2002-03-01 17:26 John Peel
2002-03-01 18:33 ` Thang T. Mai
2002-03-02 1:21 ` Keith Owens
0 siblings, 2 replies; 6+ messages in thread
From: John Peel @ 2002-03-01 17:26 UTC (permalink / raw)
To: linux-kernel
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
checklist.c: In function `dialog_checklist':
checklist.c:154: `TRUE' undeclared (first use in this function)
checklist.c:154: (Each undeclared identifier is reported only once
checklist.c:154: for each function it appears in.)
checklist.c:241: `FALSE' undeclared (first use in this function)
make[1]: *** [checklist.o] Error 1
make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
make: *** [menuconfig] Error 2
[root@localhost linux]#
Can anyone shed some light on what's going on. I could just use 'make
config' but it's so time consuming and on most of my boxes I upgrade
kernels quite often. Thanks in advance and i apologize if I'm looking in
the wrong place for solutions. -peel
john peel
jrp@thepeel.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make menuconfig fails
2002-03-01 17:26 make menuconfig fails John Peel
@ 2002-03-01 18:33 ` Thang T. Mai
2002-03-01 20:13 ` John Peel
2002-03-02 1:21 ` Keith Owens
1 sibling, 1 reply; 6+ messages in thread
From: Thang T. Mai @ 2002-03-01 18:33 UTC (permalink / raw)
To: John Peel; +Cc: linux-kernel
Do you have perl installed?
Cheers!
On Fri, 1 Mar 2002, 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
> checklist.c: In function `dialog_checklist':
> checklist.c:154: `TRUE' undeclared (first use in this function)
> checklist.c:154: (Each undeclared identifier is reported only once
> checklist.c:154: for each function it appears in.)
> checklist.c:241: `FALSE' undeclared (first use in this function)
> make[1]: *** [checklist.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> [root@localhost linux]#
>
> Can anyone shed some light on what's going on. I could just use 'make
> config' but it's so time consuming and on most of my boxes I upgrade
> kernels quite often. Thanks in advance and i apologize if I'm looking in
> the wrong place for solutions. -peel
>
> john peel
> jrp@thepeel.org
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make menuconfig fails
2002-03-01 18:33 ` Thang T. Mai
@ 2002-03-01 20:13 ` John Peel
0 siblings, 0 replies; 6+ messages in thread
From: John Peel @ 2002-03-01 20:13 UTC (permalink / raw)
To: Thang T. Mai; +Cc: linux-kernel
On Fri, 1 Mar 2002, Thang T. Mai wrote:
>
> Do you have perl installed?
> Cheers!
[root@localhost root]# which perl
/usr/bin/perl
>
> On Fri, 1 Mar 2002, 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
> > checklist.c: In function `dialog_checklist':
> > checklist.c:154: `TRUE' undeclared (first use in this function)
> > checklist.c:154: (Each undeclared identifier is reported only once
> > checklist.c:154: for each function it appears in.)
> > checklist.c:241: `FALSE' undeclared (first use in this function)
> > make[1]: *** [checklist.o] Error 1
> > make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
> > make: *** [menuconfig] Error 2
> > [root@localhost linux]#
> >
> > Can anyone shed some light on what's going on. I could just use 'make
> > config' but it's so time consuming and on most of my boxes I upgrade
> > kernels quite often. Thanks in advance and i apologize if I'm looking in
> > the wrong place for solutions. -peel
> >
> > john peel
> > jrp@thepeel.org
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make menuconfig fails
2002-03-01 17:26 make menuconfig fails John Peel
2002-03-01 18:33 ` Thang T. Mai
@ 2002-03-02 1:21 ` Keith Owens
2002-03-02 16:54 ` John Peel
1 sibling, 1 reply; 6+ messages in thread
From: Keith Owens @ 2002-03-02 1:21 UTC (permalink / raw)
To: John Peel; +Cc: linux-kernel
On Fri, 1 Mar 2002 11:26:02 -0600 (CST),
John Peel <jrp@thepeel.org> 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
>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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make menuconfig fails
2002-03-02 1:21 ` Keith Owens
@ 2002-03-02 16:54 ` John Peel
0 siblings, 0 replies; 6+ messages in thread
From: John Peel @ 2002-03-02 16:54 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
On Sat, 2 Mar 2002, Keith Owens wrote:
> On Fri, 1 Mar 2002 11:26:02 -0600 (CST),
> John Peel <jrp@thepeel.org> 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
> >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
>
Mine looks very similar to this. I'm not sure if you just snipped info or
if I need to change something to get it to work right. Here's the output:
/* 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.
*
* A further complication is that <stdbool.h> may declare 'bool' to be a
* different type, such as an enum which is not necessarily compatible with
* C++. If we have <stdbool.h>, make 'bool' a macro, so users may #undef it.
* Otherwise, let it remain a typedef to avoid conflicts with other #define's.
* In either case, make a typedef for NCURSES_BOOL which can be used if needed
* from either C or C++.
*/
#ifdef SVR4_CURSES
#undef TRUE
#define TRUE 1
#undef FALSE
#define FALSE 0
#endif
Like I said everything else looks pretty much the same. I'm jus ttrying to
figure this out wihtout having to do any scewy upgrading on the system.
Thanks, -peel
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Make menuconfig fails
@ 2004-04-05 7:01 Richard Harke
0 siblings, 0 replies; 6+ messages in thread
From: Richard Harke @ 2004-04-05 7:01 UTC (permalink / raw)
To: linux-kernel
Messages says lxdialog is bad, probably because of a problem
with ncurses
I have:
/lib/libncurses.so.5 -> libncurses.so.5.4
/lib/libncurses.so.5.4
/usr/lib/libncurses.a
/usr/lib/libncurses.so -> /lib/libncurses.so.5
/usr/lib/libncurses.so.5 -> libtermcap.so
/usr/include/ncurses.h -> curses.h
/usr/include/ncurses_dll.h
/usr/include/curses.h
I don't see any other ncurses lib's or headers
System ia64 (zx2000) running Debian 2.4.19
trying to build 2.4.25 from debian kernel-source-2.4.25
with kernel-patches-2.4.25-ia64
Also have
/lib/libc-2.3.2.so
/lib/libc.so.6.1 -> libc-2.3.2.so
I tried removing /usr/lib/libncurses.a as it is not part of the
ncurses5 package but did not make a difference
The message also suggests that you can rebuild lxdialog
by cd'ing to /usr/src/linux/scripts/lxdialog and
running make clean all
This will never work as HOSTGCC is not defined unless make
is run in /usr/src/linux
Iwould appreciate any help or suggestions.
Richard Harke
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-05 6:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-01 17:26 make menuconfig fails John Peel
2002-03-01 18:33 ` Thang T. Mai
2002-03-01 20:13 ` John Peel
2002-03-02 1:21 ` Keith Owens
2002-03-02 16:54 ` John Peel
2004-04-05 7:01 Make " Richard Harke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®