LTmodem driver on Linux implementation of Lucent winmodem on IBM Thinkpad problem
From: newbiemcca (newbie2_at_hotmail.com)
Date: 04/29/04
- Next message: Paul: "Re: Trying to understand FTP"
- Previous message: John Thompson: "Kernel mode to User mode Pipe"
- Next in thread: Ayaz Ahmed Khan: "Re: LTmodem driver on Linux implementation of Lucent winmodem on IBM Thinkpad problem"
- Reply: Ayaz Ahmed Khan: "Re: LTmodem driver on Linux implementation of Lucent winmodem on IBM Thinkpad problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 08:13:39 +0800
Learned scholars,
I have tried installing LTmodem driver on Linux implementation of Lucent
winmodem on IBM Thinkpad but was reported during the build_module session
that my gcc version is too high (3.3) instead of the required 2.9
Naturally the driver compiling effort failed.
Modem is Lucent Winmodem and is within the range of the driver. Kernel
headers are present.
Kernel is 2.4.22-1.2115.npt 1 Fedora Core 1
Pentium3 600mhz with 386mb RAM..
Modem works on Win98.
Same distro was installed on Athlon 1.2gHz desktop and external Hayes Accura
modem was detected and working.
Thanks.
Below are the error messages
> Next checking utilty versions,
> Version_min
> Utility or range for kernels
> name 2.2.16 2.4.18 Actual_version
> -------------------------------------------------------------------
> Gnu C 2.7.2.3 2.95.3-2.9.99 3.3.2
> Gnu make 3.79.1 3.77 3.79.1
> binutils 2.8.1.0.23 2.9.1.0.25 2.14.90.0.6
>
> -------------------------------------------------------------------
> Sorry, versions of 3 and greater are not yet compatible with the source
code.
> While the compilation may will succeed, the drives most likely will not be
functional.
> Aborting with Ctrl-C is RECOMMENDED. But to continue:
> Enter
>
> To begin compilation of lt_modem.o and lt_serial.o, Enter
>
>
gcc -D__KERNEL__ -I/lib/modules/2.4.22-1.2115.nptl/build/include -Wall -Wstr
ict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-stre
ngth-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=
586 -DMODULE -DLT_VERSION=8.22a5 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_s
erial -c -o ltmodem.a ltmodem.c
> `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> ld -r -o lt_modem.o ltmodem.a ltmdmobj.o
>
gcc -D__KERNEL__ -I/lib/modules/2.4.22-1.2115.nptl/build/include -Wall -Wstr
ict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-stre
ngth-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=
586 -DMODULE -DLT_VERSION=8.22a5 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_s
erial -c -o serial-lt-2.4.a serial-lt-2.4.c
> `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> serial-lt-2.4.c: In function `rs_close':
> serial-lt-2.4.c:2995: error: invalid operands to binary ==
> serial-lt-2.4.c: At top level:
> serial-lt-2.4.c:2585: warning: `rs_break' defined but not used
> make: *** [serial-lt-2.4.a] Error 1
>
> Checking for driver products:
> -rw-r--r-- 1 root root 559481 Apr 25 07:17 lt_modem.o
>
> Compilation of lt_serial.o failed,
> Do assess whether your utilities are up to date as listed within 1ST-READ!
> Read Compile_properly.txt from DOCs/.
> If you cannot solve the problem, send BLDrecord.txt to:
discuss@linmodems.org
>
reply from ltmodem moderator
Please first Browse http://linmodems.technion.ac.il
Download http://linmodems.technion.ac.il/packages/scanModem.gz
Within a Linux partition only:
$ gunzip scanModem.gz
It might be necessary to make executable with:
$ chmod a+x scanModem
before running diagnostics with:
$ ./scanModem
Thinkpads may contain either an Agere soft modem or a Lucent/Agere DSP
modem,
and the ltmodem drivers support Only the DSP modem type.
The scanModem diagnostic will distinguish between the two,
and output other useful information.
If yours is the DSP type there is a matching installer at
http://ltmodem.heby.de
ltmodem-kv_2.4.22_1.2115.nptl-8.26a9-1.i686.rpm
RE: serial-lt-2.4.c: In function `rs_close':
serial-lt-2.4.c:2995: error: invalid operands to binary ==
serial-lt-2.4.c: At top level:
serial-lt-2.4.c:2585: warning: `rs_break' defined but not used
make: *** [serial-lt-2.4.a] Error 1
=======
This is a fedora related failure, I think.
The ltmodem-8.30a2.tar.gz just mounted at http://ltmodem.heby.de should
eliminate it.
BUT, kernel-source must first be prepared followed the
ModemDriverCompiling.txt output from scanModem.
ltmodem co-maintainer
- Next message: Paul: "Re: Trying to understand FTP"
- Previous message: John Thompson: "Kernel mode to User mode Pipe"
- Next in thread: Ayaz Ahmed Khan: "Re: LTmodem driver on Linux implementation of Lucent winmodem on IBM Thinkpad problem"
- Reply: Ayaz Ahmed Khan: "Re: LTmodem driver on Linux implementation of Lucent winmodem on IBM Thinkpad problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|