View previous topic :: View next topic |
Author |
Message |
xiao n00b
Joined: 10 Jan 2003 Posts: 18
|
Posted: Fri Jan 10, 2003 3:03 am Post subject: Failed to compile Lucent winmodem driver |
|
|
I tried to install driver for my Thinkpad T23 modem under gentoo linux 1.4_rc2. It is a lucent winmodem
So I downloaded the ltmodem-8.26a9.tar.gz
which is compatible with gcc32 from
http://www.physcip.uni-stuttgart.de/heby/ltmodem/#sources .
I tried to install the driver with vanilla kernel 2.4.20 or some other
kernels. I do have a link /usr/src/linux to the /usr/src/linux-2.4.20
or /usr/src/linux-XXX, where XXX is the kernel version I was running.
however, when I manually run
./build_module
I have the following error,
"Using KCFLAGS for gcc version 3.x
gcc -c -o ltmodem.a ltmodem.c
ltmodem.c:27:31: linux/modversions.h: No such file or directory
......"
I do not understand why it complains that no modversions.h, since
I do have the file /usr/src/linux/include/linux/modversions.h
I searched the forum and searched on google, but did not find that other people have these problem.
BTW, I also tried
ACCEPT_KEYWORDS="~x86" emerge ltmodem, also failed.
Your help is highly appreciated. |
|
Back to top |
|
|
xiao n00b
Joined: 10 Jan 2003 Posts: 18
|
Posted: Sat Jan 11, 2003 8:17 am Post subject: |
|
|
Solved!
I just solve it by myself.
After ./build_module failed, I found that
the source.tar.gz was decompressed and there was a
directory source.
cd source
./configure
make
make install
modprobe -a lt_serial
then I was able to use the winmodem. It works like a charm. |
|
Back to top |
|
|
BlackBart Apprentice
Joined: 07 Oct 2002 Posts: 252
|
Posted: Sat Jan 11, 2003 7:28 pm Post subject: |
|
|
just a note, there is a package for a lucent winmodem. It's called ltmodem. |
|
Back to top |
|
|
echo6 Guru
Joined: 04 Jan 2003 Posts: 587
|
Posted: Tue Jun 03, 2003 10:09 am Post subject: |
|
|
There is indeed, and it is masked.
Where do I find details of the mask to emerge it ? |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue Jun 03, 2003 10:27 am Post subject: |
|
|
ACCEPT_KEYWORDS=~x86 emerge ltmodem _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
|