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

does "make oldconfig" work for anyone else?



I was just trying to rebuild the pcmcia packages (yeah, they're out of
sync with the kernel again, at least in unstable, even though the
version numbers are in sync) and couldn't do a simple "make oldconfig"
in the kernel-source-2.0.29 package.  It would get stuck at the prompt
for CONFIG_SCSI_U14_34F_MAX_TAGS, which is the only "int" value used
in the default debian config... well, it turns out that
scripts/Configure, in function "int" (line 291) says
	  if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then

This always fails. Turns out that ? is not magic, at least in the
shellutils-1.16-1 version of expr! Changing this line to the following:

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

ie, changing ? to \? makes it work.  But is this a bug in expr, a bug
in the kernel-source package, or some confusion on my part?  (and has
anyone else successfully used the pcmcia modules this time around,
without building them from source?)


Reply to: