Find the answer to your Linux question:
Results 1 to 4 of 4
I have recently installed SuSE 10.1 into my system. I used to use FC2 previously where I sucessfully complied the modem driver provided by my modem vendor ( i got ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    Unhappy Problem with Smartlink Modem

    I have recently installed SuSE 10.1 into my system. I used to use FC2 previously where I sucessfully complied the modem driver provided by my modem vendor ( i got the driver along with the modem). It worked fine there. Now I am having problem compiling the driver.

    [Details]:
    Modem Manufacturer : Smart Link
    Hardware Version : ADS-48(Pri) on SL1801 PCI
    Driver Version : 2.9.10

    [Compiling Details]:
    make -C modem all
    make[1]: Entering directory `/root/slmodem-2.9.10/modem'
    rebuild profile...
    gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
    gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c
    gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
    modem.c: In function ‘modem_reset’:
    modem.c:1701: error: invalid storage class for function ‘sregs_init’
    modem.c:1713: warning: implicit declaration of function ‘sregs_init’
    modem.c: At top level:
    modem.c:1727: error: static declaration of ‘sregs_init’ follows non-static declaration
    modem.c:1713: error: previous implicit declaration of ‘sregs_init’ was here
    make[1]: *** [modem.o] Error 1
    make[1]: Leaving directory `/root/slmodem-2.9.10/modem'
    make: *** [modem] Error 2

    _______Can anybody help me?????

  2. #2
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    506
    It worked fine there. Now I am having problem compiling the driver.
    This is ironic. The compiler, gcc, has gotten better and better at catching sloppy, incorrect code. This is good. But as a result, code that used to compile and work just fine now fails to compile. I'll bet that's the issue here.

    Find file modem.c and look at line number 1701. You should see the start of a function named sregs_init(). If you can't figure out what invalid storage class the error refers to, post it here.

    An alternate approach would be to install an older version of gcc and compile it with that. But that's probably more work than cleaning up the code.

  3. #3
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    Have you tried looking for an rpm and installing this way (saves having to compile)? From the impression I get from Google search results, Suse comes with the slmodem package.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  4. #4
    Just Joined!
    Join Date
    Oct 2006
    Posts
    5

    rpm doen't work

    I have tried the rpm that is shipped with SuSE 10 ie smartlink-softmodem-9.xxx.rpm.
    But it does't work either.. not problem with the rpm ... but it just doesn't work .. there is no module "slamr" installed by the rpm... I tried it but it just doesn't work...

    But guess what .. i have found a way around.. I downloaded following packages... and installed them on to my system.. and they work just fine.... I am posting this message from SUSE 10.1 itself .. so hurrah......

    Packages.... i installed (Compiled)

    http://linmodems.technion.ac.il/pack...0060727.tar.gz
    http://linmodems.technion.ac.il/pack...inmodem.tar.gz

    ... Just followed the instructions ...in slmode-2.xxx.gz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...