lkml.org 
[lkml]   [1997]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Some problems with 2.1.x........
Date
> I can't get any kernel past 2.1.17 to compile.
> the make config gets stuck at a Sound Blaster address and never stops.

This problem could be caused by your version of expr. Try the
enclosed patch.

> on bootup, I get route forgot to specify route netmask.

IIRC, this is a warning message, not an error, correct? In any case,
your startup scripts should contain a call to /sbin/route:

/sbin/route add -net w.x.y.z

So just add your netmask:

/sbin/route add -net w.x.y.z netmask a.b.c.d

If you don't know what your netmask is, you could try running ifconfig
to deduce it.
--- linux/scripts/Configure.orig Fri May 31 06:46:27 1996
+++ linux/scripts/Configure Tue Jan 14 17:19:29 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
--- linux/scripts/Menuconfig.orig Tue Oct 29 23:19:18 1996
+++ linux/scripts/Menuconfig Tue Jan 14 17:20:30 1997
@@ -400,7 +400,7 @@
answer="`cat MCdialog.out`"
answer="${answer:-$3}"

- if expr $answer : '0$\|-?[1-9][0-9]*$' >/dev/null
+ if expr $answer : '0$\|-\?[1-9][0-9]*$' >/dev/null
then
eval $2="$answer"
else
@@ -433,7 +433,7 @@
answer="${answer:-$3}"
answer="${answer##*[x,X]}"

- if expr $answer : '[0-9a-fA-F]+$' >/dev/null
+ if expr $answer : '[0-9a-fA-F]\+$' >/dev/null
then
eval $2="$answer"
else
\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.031 / U:1.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site