Re: PCTEL - problems kernel >=2.4.0
Basilio Kublik <sourcer <at> terra.cl>
1996-01-01 04:20:18 GMT
> configure:2585: checking for Linux kernel version >= 2.4.0
> configure:2824: result: no
> configure:2826: error: You should have linux kernel >= 2.4.0 installed
so i have a similar problem with the 0.8.6 driver and 2.4.19-pre1-ac1
kernel, i fix this problen in a very ugly but eficient way :), i edit the
configure script by adding some few lines to the check part, so if you see
this at the configure file, at the 2590 line i think:
k_version="`echo $real_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`"
k_patch="`echo $real_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`"
k_sub="`echo $real_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`"
v_min="`echo $min_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`"
p_min="`echo $min_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`"
s_min="`echo $min_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`"
add the following parameters to the check, \([a-zA-Z0-9]*\), to the 6
lines, and you see something like this :)
k_version="`echo $real_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\([a-zA-Z0-9]*\)/\1/'`"
k_patch="`echo $real_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\([a-zA-Z0-9]*\)/\2/'`"
k_sub="`echo $real_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\([a-zA-Z0-9]*\)/\3/'`"
v_min="`echo $min_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\([a-zA-Z0-9]*\)/\1/'`"
p_min="`echo $min_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\([a-zA-Z0-9]*\)/\2/'`"
s_min="`echo $min_kernel_version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\([a-zA-Z0-9]*\)/\3/'`"
If this solve your problem at the 2.4.0 kernel check, probably you must do
the same to the 2.4.7 kernel version check, this check begin at the line
(Continue reading)