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

Re: kernel-config



Tim Sailer wrote:
> > On Mon, 10 Mar 1997, Mikael Hallendal wrote:

> > > I try to get the sound working i linux and when I do make config in th 
> > > kernel-source I'm aksed
> > > to enter the I/O-base but the only thing that happens is that it says 
> > > 'no help is available.
> > > 
> > > Can anyone help me, please!

> Nope.. this is a known bug (I think). No matter what you enter, it
> gives the 'no help' message. A newer version of the kernel-source
> package will help (I think again).

This is nearly a FAQ ;-)
You may want to read /usr/doc/kernel-package/Problems.gz about what happens.
I include the patch from Manoj Srivastava that you'll find there.

--- scripts/Configure.dist	Mon Jan 20 14:43:24 1997
+++ scripts/Configure	Tue Jan 21 05:41:30 1997
@@ -288,7 +288,7 @@
 	def=${old:-$3}
 	while :; do
 	  readln "$1 ($2) [$def] " "$def" "$old"
-	  if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then
+	  if expr "$ans" : '0$\|-\?[1-9][0-9]*$' > /dev/null; then
 	    define_int "$2" "$ans"
 	    break
 	  else
@@ -319,7 +319,7 @@
 	while :; do
 	  readln "$1 ($2) [$def] " "$def" "$old"
 	  ans=${ans#*[x,X]}
-	 if expr "$ans" : '[0-9a-fA-F]+$' > /dev/null; then
+	 if expr "$ans" : '[0-9a-fA-F]\+$' > /dev/null; then
 	   define_hex "$2" "$ans"
 	   break
 	 else

HTH,

  Ulf

--

 #include <signature>


Reply to: