Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-27 Thread Randy Dunlap
On Fri, 27 Apr 2007 08:03:42 +0200 Mike Galbraith wrote:

> On Fri, 2007-04-27 at 07:40 +0200, Jan Engelhardt wrote:
> > On Apr 26 2007 05:06, Mike Galbraith wrote:
> > >On Wed, 2007-04-25 at 22:30 +0200, Sam Ravnborg wrote:
> > >
> > >> > There are general funnies in the menuconfig world (my preference) here.
> > >> > For instance, I recently had reason to change/test different default IO
> > >> > schedulers, and found that no matter what I did, I couldn't select a
> > >> > default IO scheduler any more, though I used to be able to do so.
> > >
> > >> Tried it now with latest -git from Linus and here it works.
> > >> Notice that you need to make the scheduler a built-in <*>
> > >> before you can select it as default.
> > >> A scheduler selected as a module  cannot be made default.
> > >
> > >Ok, I guess my ncurses is ill.  (all built in)  Thanks.
> > 
> > CONFIG_MODULES=n?
> 
> No, I have more modules that you can shake a stick at.
> 
> CONFIG_MODULES=y
> CONFIG_MODULE_UNLOAD=y
> CONFIG_MODULE_FORCE_UNLOAD=y
> CONFIG_MODULE_SRCVERSION_ALL=y

I don't see a menuconfig problem either.
Perhaps posting your full .config would help.

---
~Randy
*** 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-26 Thread Mike Galbraith
On Fri, 2007-04-27 at 07:40 +0200, Jan Engelhardt wrote:
> On Apr 26 2007 05:06, Mike Galbraith wrote:
> >On Wed, 2007-04-25 at 22:30 +0200, Sam Ravnborg wrote:
> >
> >> > There are general funnies in the menuconfig world (my preference) here.
> >> > For instance, I recently had reason to change/test different default IO
> >> > schedulers, and found that no matter what I did, I couldn't select a
> >> > default IO scheduler any more, though I used to be able to do so.
> >
> >> Tried it now with latest -git from Linus and here it works.
> >> Notice that you need to make the scheduler a built-in <*>
> >> before you can select it as default.
> >> A scheduler selected as a module  cannot be made default.
> >
> >Ok, I guess my ncurses is ill.  (all built in)  Thanks.
> 
> CONFIG_MODULES=n?

No, I have more modules that you can shake a stick at.

CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODULE_SRCVERSION_ALL=y

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-26 Thread Jan Engelhardt

On Apr 26 2007 05:06, Mike Galbraith wrote:
>On Wed, 2007-04-25 at 22:30 +0200, Sam Ravnborg wrote:
>
>> > There are general funnies in the menuconfig world (my preference) here.
>> > For instance, I recently had reason to change/test different default IO
>> > schedulers, and found that no matter what I did, I couldn't select a
>> > default IO scheduler any more, though I used to be able to do so.
>
>> Tried it now with latest -git from Linus and here it works.
>> Notice that you need to make the scheduler a built-in <*>
>> before you can select it as default.
>> A scheduler selected as a module  cannot be made default.
>
>Ok, I guess my ncurses is ill.  (all built in)  Thanks.

CONFIG_MODULES=n?


Jan
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Mike Galbraith
On Wed, 2007-04-25 at 22:30 +0200, Sam Ravnborg wrote:

> > There are general funnies in the menuconfig world (my preference) here.
> > For instance, I recently had reason to change/test different default IO
> > schedulers, and found that no matter what I did, I couldn't select a
> > default IO scheduler any more, though I used to be able to do so.

> Tried it now with latest -git from Linus and here it works.
> Notice that you need to make the scheduler a built-in <*>
> before you can select it as default.
> A scheduler selected as a module  cannot be made default.

Ok, I guess my ncurses is ill.  (all built in)  Thanks.

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Sunil Naidu

On 4/25/07, Michael Tokarev <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig

Don't compile kernel as root.


That was a mistake out of hurry, I never compile as root (sudo).


>  HOSTCC  scripts/kconfig/lxdialog/checklist.o
> In file included from scripts/kconfig/lxdialog/checklist.c:24:
> scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or 
directory

And before doing make menuconfig, install ncurses package (both
the library and development files).



Just got the time to look back to the problem. Silly me (not getting
the thought to cross-check), this kernel work is really blowing up my
nights & mind ;-) Thanks to all.


/mjt


~Akula2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Sam Ravnborg
> > > [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig
> > >   HOSTCC  scripts/kconfig/lxdialog/checklist.o
> > > In file included from scripts/kconfig/lxdialog/checklist.c:24:
> > > scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file
> > > or directory
> > 
> > I guess you need to install the curses development package.  Here it's 
> > called
> > ncurses-devel.
check-lxdialog.sh should be extended to catch this case.
We can link but .h file is not present.
Will take a look at it later.

> There are general funnies in the menuconfig world (my preference) here.
> For instance, I recently had reason to change/test different default IO
> schedulers, and found that no matter what I did, I couldn't select a
> default IO scheduler any more, though I used to be able to do so.
Tried it now with latest -git from Linus and here it works.
Notice that you need to make the scheduler a built-in <*>
before you can select it as default.
A scheduler selected as a module  cannot be made default.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Mike Galbraith
On Wed, 2007-04-25 at 12:07 -0700, Andrew Morton wrote:
> On Wed, 25 Apr 2007 19:54:14 +0530 "Sunil Naidu" <[EMAIL PROTECTED]> wrote:
> 
> > I was trying to compile those kernels with make menuconfig. I am
> > getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the
> > output:
> > 
> > [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig
> >   HOSTCC  scripts/kconfig/lxdialog/checklist.o
> > In file included from scripts/kconfig/lxdialog/checklist.c:24:
> > scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file
> > or directory
> 
> I guess you need to install the curses development package.  Here it's called
> ncurses-devel.

There are general funnies in the menuconfig world (my preference) here.
For instance, I recently had reason to change/test different default IO
schedulers, and found that no matter what I did, I couldn't select a
default IO scheduler any more, though I used to be able to do so.  If I
totally whack my .config, i.e. use default config, I still _can't
select_.  If I take my current .config back to a kernel where I could
select (a 2.6.16 tree i still have lying about) I can't select either,
but with the config I had at the time, I could/can select just fine.  If
I use xconfig (don't really like, but...) I can select, and a manual
edit would likely also work just fine.

Box is P4, with SuSe 10.2.. haven't had time to see if maybe there's
some weird userland ncurses problem.  Just a note in case others are
seeing problems in this area.   Not much of a bug report I know, but
maybe useful for readers and those who keep strange events in the backs
of their minds ;)

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Andrew Morton
On Wed, 25 Apr 2007 19:54:14 +0530 "Sunil Naidu" <[EMAIL PROTECTED]> wrote:

> I was trying to compile those kernels with make menuconfig. I am
> getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the
> output:
> 
> [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig
>   HOSTCC  scripts/kconfig/lxdialog/checklist.o
> In file included from scripts/kconfig/lxdialog/checklist.c:24:
> scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file
> or directory

I guess you need to install the curses development package.  Here it's called
ncurses-devel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Michael Tokarev
Sunil Naidu wrote:
> Hello,
> 
> I was trying to compile those kernels with make menuconfig. I am
> getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the
> output:
> 
> [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig

Don't compile kernel as root.

>  HOSTCC  scripts/kconfig/lxdialog/checklist.o
> In file included from scripts/kconfig/lxdialog/checklist.c:24:
> scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or 
> directory

And before doing make menuconfig, install ncurses package (both
the library and development files).

/mjt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Dan Kruchinin

On 4/25/07, Sunil Naidu <[EMAIL PROTECTED]> wrote:

Hello,


Hi


I was trying to compile those kernels with make menuconfig. I am
getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the
output:

[EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file
or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected
specifier-qualifier-list before
 'chtype'
scripts/kconfig/lxdialog/dialog.h:187: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:193: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:195: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:200: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c: In function 'dialog_checklist':
scripts/kconfig/lxdialog/checklist.c:116: error: 'WINDOW' undeclared
(first use in th
is function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared
identifier is repor
ted only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it
appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: 'dialog' undeclared
(first use in th
is function)
scripts/kconfig/lxdialog/checklist.c:116: error: 'list' undeclared
(first use in this
 function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand
of comma express
ion has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit
declaration of function '
getmaxy'
scripts/kconfig/lxdialog/checklist.c:129: error: 'stdscr' undeclared
(first use in th
is function)
scripts/kconfig/lxdialog/checklist.c:130: error: 'KEY_MAX' undeclared
(first use in t
his function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit
declaration of function '
getmaxx'
scripts/kconfig/lxdialog/checklist.c:137: error: 'COLS' undeclared
(first use in this
 function)
scripts/kconfig/lxdialog/checklist.c:138: error: 'LINES' undeclared
(first use in thi
s function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit
declaration of function '
draw_shadow'
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit
declaration of function '
newwin'
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit
declaration of function '
keypad'
scripts/kconfig/lxdialog/checklist.c:143: error: 'TRUE' undeclared
(first use in this
 function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit
declaration of function '
draw_box'
scripts/kconfig/lxdialog/checklist.c:146: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:146: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit
declaration of function '
wattrset'
scripts/kconfig/lxdialog/checklist.c:147: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit
declaration of function '
mvwaddch'
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit
declaration of function '
waddch'
scripts/kconfig/lxdialog/checklist.c:151: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit
declaration of function '
print_title'
scripts/kconfig/lxdialog/checklist.c:156: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit
declaration of function '
print_autowrap'
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit
declaration of function '
subwin'
scripts/kconfig/lxdialog/checklist.c:171: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:171: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit
declaration of function '
print_item'
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit
declaration of function '
print_arrows'
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit
declaration of function '
print_buttons'
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit
declaration of function '
wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit
declaration of function '
doupdate'
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit
declaration of function '
wgetch'
scripts/kconfig/lxdialog/checklist.c:210: error

menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Sunil Naidu

Hello,

I was trying to compile those kernels with make menuconfig. I am
getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the
output:

[EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig
 HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file
or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected
specifier-qualifier-list before
'chtype'
scripts/kconfig/lxdialog/dialog.h:187: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:193: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:195: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:200: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c: In function 'dialog_checklist':
scripts/kconfig/lxdialog/checklist.c:116: error: 'WINDOW' undeclared
(first use in th
is function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared
identifier is repor
ted only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it
appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: 'dialog' undeclared
(first use in th
is function)
scripts/kconfig/lxdialog/checklist.c:116: error: 'list' undeclared
(first use in this
function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand
of comma express
ion has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit
declaration of function '
getmaxy'
scripts/kconfig/lxdialog/checklist.c:129: error: 'stdscr' undeclared
(first use in th
is function)
scripts/kconfig/lxdialog/checklist.c:130: error: 'KEY_MAX' undeclared
(first use in t
his function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit
declaration of function '
getmaxx'
scripts/kconfig/lxdialog/checklist.c:137: error: 'COLS' undeclared
(first use in this
function)
scripts/kconfig/lxdialog/checklist.c:138: error: 'LINES' undeclared
(first use in thi
s function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit
declaration of function '
draw_shadow'
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit
declaration of function '
newwin'
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit
declaration of function '
keypad'
scripts/kconfig/lxdialog/checklist.c:143: error: 'TRUE' undeclared
(first use in this
function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit
declaration of function '
draw_box'
scripts/kconfig/lxdialog/checklist.c:146: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:146: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit
declaration of function '
wattrset'
scripts/kconfig/lxdialog/checklist.c:147: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit
declaration of function '
mvwaddch'
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit
declaration of function '
waddch'
scripts/kconfig/lxdialog/checklist.c:151: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit
declaration of function '
print_title'
scripts/kconfig/lxdialog/checklist.c:156: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit
declaration of function '
print_autowrap'
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit
declaration of function '
subwin'
scripts/kconfig/lxdialog/checklist.c:171: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:171: error: 'struct dialog_color'
has no member
named 'atr'
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit
declaration of function '
print_item'
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit
declaration of function '
print_arrows'
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit
declaration of function '
print_buttons'
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit
declaration of function '
wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit
declaration of function '
doupdate'
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit
declaration of function '
wgetch'
scripts/kconfig/lxdialog/checklist.c:210: error: 'KEY_UP' undeclared
(first use in th