View previous topic :: View next topic |
Author |
Message |
alexwade n00b
Joined: 22 Aug 2002 Posts: 47 Location: Orlando, FL
|
Posted: Tue Dec 17, 2002 4:49 am Post subject: configure script not accepting kernel version |
|
|
I am trying to compile PCTel Modem drivers on my system running kernel 2.4.19-gentoo-r10. When I run ./configure, I get this output:
Code: | checking for Linux kernel version >= 2.4.0...
./configure: line 3344: test: 2-gentoo: integer expression expected
configure: error: You should have linux kernel >= 2.4.0 installed | I know that I'm getting this output because the script's kernel version detection doesn't like the fact that there's anything after the "2.4.19" in the version string. What I would like to know is how can I edit this script (or do anything else) so that it accepts my kernel version string and i can compile the program. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Dec 17, 2002 7:17 am Post subject: |
|
|
Can you post the part of configure.in that makes this test? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
alexwade n00b
Joined: 22 Aug 2002 Posts: 47 Location: Orlando, FL
|
Posted: Tue Dec 17, 2002 11:54 pm Post subject: |
|
|
I fixed it by manually putting the kernel version into the script |
|
Back to top |
|
|
djrobx n00b
Joined: 09 Jan 2003 Posts: 4
|
Posted: Mon Jan 13, 2003 3:42 am Post subject: |
|
|
I also had that problem. I got it to compile, but modprobe complains of it being compiled in GCC version 2 while the kernel is compiled in 3. After doing some digging, the PCTel driver apparnetly contains some preompiled modules that are linked in, so modprobe rejects it.
You can get it to load by doing
Code: | insmod -f pctel && insmod -f ptserial |
but I'm not sure where to put that so that it loads correctly on startup. You can't put it in modules.autoload because of the -f parameter. Other documentation suggests rc.d/rc.local, which my gentoo install doesn't appear to have. Help?
-- Rob |
|
Back to top |
|
|
alexwade n00b
Joined: 22 Aug 2002 Posts: 47 Location: Orlando, FL
|
|
Back to top |
|
|
|