[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem compiling kernel using make-kpkg



Lawrence Chim <ychim@yallara.cs.rmit.edu.au> 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
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: