problem compiling kernel using make-kpkg

1997-01-15 Thread Lawrence Chim
I have problem to compile the Linux kernel 2.0.28 using make-kpkg,
here is a part of the screen dump, it didn't happen when I compiled
2.0.26

MIDI interface support (CONFIG_MIDI) [Y/n/?] 
FM synthesizer (YM3812/OPL-3) support (CONFIG_YM3812) [Y/n/?] 
I/O base for SB Check from manual of the card (SBC_BASE) [220] 

  Sorry, no help available for this option yet.

I/O base for SB Check from manual of the card (SBC_BASE) [220] 

  Sorry, no help available for this option yet.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: problem compiling kernel using make-kpkg

1997-01-15 Thread Jon Rabone
 I have problem to compile the Linux kernel 2.0.28 using make-kpkg,
 here is a part of the screen dump, it didn't happen when I compiled
 2.0.26

This is because the behaviour of GNU expr regexps in shellutils 1.14 has
changed to be more POSIX-like, AND 2.0.28 has started using a different
method to configure the sound driver which uses expr to parse the base
address / irq.

Fix: Edit scripts/Configure, find the lines using expr in the functions
hex and int, put a backslash in front of the + or the ? you find in the
expr line. 

Jon.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: problem compiling kernel using make-kpkg

1997-01-15 Thread Brian Mays
Lawrence Chim [EMAIL PROTECTED] writes:

 I have problem to compile the Linux kernel 2.0.28 using make-kpkg,
 here is a part of the screen dump, it didn't happen when I compiled
 2.0.26
 
 MIDI interface support (CONFIG_MIDI) [Y/n/?] 
 FM synthesizer (YM3812/OPL-3) support (CONFIG_YM3812) [Y/n/?] 
 I/O base for SB Check from manual of the card (SBC_BASE) [220] 
 
   Sorry, no help available for this option yet.
 
 I/O base for SB Check from manual of the card (SBC_BASE) [220] 
 
   Sorry, no help available for this option yet.

This problem is caused by an error in the expr program in the
shellutils package.  I know that this problem no longer exists on my
system where I have installed shellutils v1.14-4 and libc5 v5.4.17-1.
If you want a quick way to fix this problem you can make the following
changes to the linux/scripts/Configure file.  Change the line that reads

if expr $ans : '0$\|-?[1-9][0-9]*$'  /dev/null; then

to

if expr $ans : '0$\|-\?[1-9][0-9]*$'  /dev/null; then

Also change the line that reads

if expr $ans : '[0-9a-fA-F]+$'  /dev/null; then

to

if expr $ans : '[0-9a-fA-F]\+$'  /dev/null; then

-- 
Brian


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]