pctel HSP56 modem compilation problem

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun Mar 7 17:18:10 UTC 2004


Am So, den 07.03.2004 schrieb aolinto_list at bignet.com.br um 18:02:
> Hi there,
> 
> This is my first post to the list and I'm a beginner in Linux/Fedora. Sorry 
> for "stupid" questions.
> 
> I have a HSP56 MR modem and I had problems to compile the driver.
> 
> I got pctel-0.9.7-9.tar.gz file and followed the intructions in readme file. 
> I'm not sure what is to have the "lspci in a standard path ".

lspci lists PCI devices, it is in /sbin/, so you may need to run the
script which prints out that requirement as root.

> Thank's for any help. Follows the messages I got.
> 
> Antonio
> 
> ...
> 
> [root at localhost pctel-0.9.7-9]# ./setup
> checking for running kernel version...2.4.22
> checking for ptserial...ptserial-2.4.7.c
> checking for gcc...3.3.2
> searching for kernel includes...found at /usr/src/linux-2.4.22-
> 1.2115.nptl/include/
> checking for modversions.h.../usr/src/linux-2.4.22-
> 1.2115.nptl/include//linux/modversions.h
> checking for kernel_version...UTS_RELEASE is 2.4.22-1.2115.nptl
> detecting your modem...found. Your modem is a sis type modem.
> ** compilation error
> please read the FAQ about reporting compilation problems
> and report this problem.
> [root at localhost pctel-0.9.7-9]#

There is an error. You though go beyond?

> ....
> 
> [root at localhost src]# ./configure -auto
> checking for running kernel version...2.4.22
> checking for ptserial...ptserial-2.4.7.c
> checking for gcc...3.3.2

You need to compile with gcc32! Change at least the Makefile.

> searching for kernel includes...found at /usr/src/linux-2.4.22-
> 1.2115.nptl/inclu de/
> checking for modversions.h.../usr/src/linux-2.4.22-
> 1.2115.nptl/include//linux/mo dversions.h
> checking for kernel_version...UTS_RELEASE is 2.4.22-1.2115.nptl
> detecting your modem...found. Your modem is a sis type modem.
> [root at localhost src]# make
> as vuart.s -o vuart.o
> gcc -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-
> fram e-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DAUDIO_ROUTING -
> DSIS5 40 -DVERSION=\"0.9.7-9\" -DGCC_VERSION=\"3.3.2\" -DMODULE -DMODVERSIONS -
> DEXPORT _SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -D__KERNEL__ -
> I/usr/src/linux-2 .4.22-1.2115.nptl/include/ -DHAL_I8XX -include /usr/src/linux-
> 2.4.22-1.2115.nptl /include//linux/modversions.h -o ptserial.o -c ptserial-
> 2.4.7.c
> ptserial-2.4.7.c: In function `rs_close':
> ptserial-2.4.7.c:2815: error: invalid operands to binary ==
> make: ** [ptserial.o] Erro 1

Might result from using gcc version 3.3. As said above, you need to use
gcc version 3.2 as you compile a kernel module and the kernel is
compiled with gcc 3.2.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 18:14:21 up 16 days, 19:48, load average: 1.38, 1.35, 1.19 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars






More information about the fedora-list mailing list