LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-05-2006, 08:17 AM   #1
tmort
Member
 
Registered: Feb 2006
Posts: 36

Rep: Reputation: 15
linmodem install compile problem


I am new to Linux and just installed Fedora Core 4. My first task was to try and install a linmodem driver for the modem in my Thinkpad T23 notebook. Along the way I learned that I had to install and prepare the source, install rpm-build and a compiler and a .config. I finally got that all done and tried to install the slmodem-2.9.9e-pre1 dirver. When I ran the make command it worked but I could see some errors as it scrolled by and in the page it ended at. A few of the errors include:

Syntax error before ‘{‘ token
Syntax error befor ‘if’
Derefencing pointer to incomplete type
Unkown field ‘release’ specified in initializer
Unkown field ‘llseek’ specified in initializer
Unknowne field ‘poll’ specified in initializer
Error ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
Buffer undeclared

I am using gcc compiler

Does anyone have any ideas what the problem is?

Thanks
 
Old 03-05-2006, 11:34 AM   #2
WoofDeF
Member
 
Registered: Jan 2005
Distribution: Debian3.1, DamnSmallLinux, FC4
Posts: 70

Rep: Reputation: 15
If you haven't already be sure to download, unpack and run the excellent scanModem script from http://linmodems.technion.ac.il/packages/scanModem.gz

Wade through the copious output files - they will tell you exactly how to get your winmodem working. Of course you might have already done this.

If you're lucky like me (different laptop) you will be able to use slmodemd with alsa - this comes precompiled - so you won't have to sort out your compile errors.
 
Old 03-09-2006, 01:31 AM   #3
tmort
Member
 
Registered: Feb 2006
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for the reply.

Sorry I've been under the weather lately and had to put this project down for a few days.

I had run the scanmodem but for some reason used a thread from elswehere to try to tackle the problem - the instructions were shorter I suppose.

I've had a chance to read through all the scanmodem output files and I think I can use the ALSA method but it is not real clear just how to go about this.

Since you have done this could you briefly describe what is involved in this. I see they tell me to download the gcc version of the driver which is a compiled version.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver Install for Linmodem tmort Linux - General 17 03-04-2006 03:35 AM
guide: fix hsf linmodem compile error in fedora core 1 qwijibow Fedora 5 05-17-2004 06:54 AM
linmodem problem dustntime Linux - Software 13 08-14-2003 01:45 AM
Cannot install linmodem driver. lcadwell Linux - Hardware 1 02-17-2003 02:48 PM
I can't install my linmodem Shadow Of Death Linux - Hardware 4 01-02-2003 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration