LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Help with PCTel modem Driver (https://www.linuxquestions.org/questions/linux-hardware-18/help-with-pctel-modem-driver-161634/)

Talosescribe 03-23-2004 10:13 PM

Help with PCTel modem Driver
 
Hi everyone!

Ok, i have Mandrake 9.1 (Bamboo) running in a Pentium III 1.13 Ghz, 128 MB RAM, but infortunally, a PCTel HSP56 Micromodem (CM8738). i tried with the PCTel Driver 0.9.4, used "./configure" an then "make". I have the kernel source under "/usr/src/linux" and already used "make xconfig" and "make dep" in it. When i used "make" to the PCTel Driver it doesn't work giving me an odd error. I'm new in this, so this is the output:

make[3]: Entering directory `/home/daniel/pctel-0.9.4/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_CM8738 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE=\"pctel\" -DVERSION=\"0.9.4\" -c -o ptserial.o ptserial.c
<command line>:1:13: multi-line string literals are deprecated
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/home/daniel/pctel-0.9.4/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/daniel/pctel-0.9.4/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/daniel/pctel-0.9.4/src'
make: *** [all-recursive] Error 1

and then, nothing happens. What most i do?. Unlucky, i don't have enough money now to buy another modem, and i need internet every day. Anybody can help me?

guygriffiths 03-24-2004 03:53 AM

What version of gcc are you using? (Do "gcc -v") to find out. Now it's just a though, but if it's a new version, that may be why you are getting deprecated warnings/errors. You probably have version 2.95 somewhere on your system - most distros do - and this is recommended for building the kernel. Therefore you should also use ut for building any kernel modules. This may solve your problem.
Otherwise, usually when you get deprecated headers, you just need to change a couple of lines in the code. but this can be a big pain if you have a lot of source files.

Talosescribe 03-24-2004 11:44 PM

Finally i solve it!
 
I have gcc 3.2.2. But i'm a lucky man!, because i found the last version of the driver, that comes with an auto-installer! it recognize my chipset and a few moments later, i was navigating! Thanks a lot for your help! I'm writing this message in Konqueror, in my linux. I'll never come back to Windows!

To everybody who have troubles with them PCtel modems, just look for the last version, it rocks!


Thanks again.

Powerman 04-19-2004 06:47 PM

Re: Finally i solve it!
 
Quote:

Originally posted by Talosescribe
I have gcc 3.2.2. But i'm a lucky man!, because i found the last version of the driver, that comes with an auto-installer! it recognize my chipset and a few moments later, i was navigating! Thanks a lot for your help! I'm writing this message in Konqueror, in my linux. I'll never come back to Windows!

To everybody who have troubles with them PCtel modems, just look for the last version, it rocks!


Thanks again.

got a link by any chance?


All times are GMT -5. The time now is 09:08 PM.