Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to compile Lucent winmodem driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
xiao
n00b
n00b


Joined: 10 Jan 2003
Posts: 18

PostPosted: Fri Jan 10, 2003 3:03 am    Post subject: Failed to compile Lucent winmodem driver Reply with quote

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
View user's profile Send private message
xiao
n00b
n00b


Joined: 10 Jan 2003
Posts: 18

PostPosted: Sat Jan 11, 2003 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message
BlackBart
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 252

PostPosted: Sat Jan 11, 2003 7:28 pm    Post subject: Reply with quote

just a note, there is a package for a lucent winmodem. It's called ltmodem.
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Tue Jun 03, 2003 10:09 am    Post subject: Reply with quote

There is indeed, and it is masked.

Where do I find details of the mask to emerge it ?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Tue Jun 03, 2003 10:27 am    Post subject: Reply with quote

ACCEPT_KEYWORDS=~x86 emerge ltmodem
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum