[lkml]   [2007]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Small problem with kernel 2.6.20 and make menuconfig
On Tue, 13 Feb 2007 09:17:51 +0000 Dominic Newton wrote:

> Just a small issue with the latest kernel 2.6.20. When compiling make
> menuconfig our ncurses library is not being detected. I currently use
> 2.6.15 with no problem and comparing the 2 I found a script (
> scripts/kconfig/lxdialog/ ) in the lxdialog directory
> that checks for the ncurses lib and sets compiler flags. For some reason
> it will not find the ncurses library and thus menuconfig will not
> compile and run.
> I have ncurses installed (and symlinked) in the usual locations (/lib,
> /usr/lib, /usr/include). I tried compiling the stock kernel in various
> locations ( /, /usr /usr/src ) - same problem every time. I fixed the
> problem by editing the scripts/kconfig/Makefile line 88-89 to ignore the
> script and set HOST_EXTRACFLAGS = -DCURSES_LOC="<ncurses.h>" and
> HOST_LOADLIBES = -lncurses.
> menuconfig runs perfectly now ! I'm hopeless at scripts which is why I
> gave up trying to get to work properly - sorry...
> Any queries please let me know,

What does this print? (from top of linux source tree)

$ sh scripts/kconfig/lxdialog/ -ccflags

$ sh scripts/kconfig/lxdialog/ -ldflags gcc

*** Remember to use Documentation/SubmitChecklist when testing your code ***
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: 2007-02-13 18:23    [W:0.029 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site