LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-10-2005, 02:45 AM   #1
dineshnano
LQ Newbie
 
Registered: Sep 2005
Location: india
Posts: 3

Rep: Reputation: 0
Modem Installation


I have smartlink modem
and i have the driver file.
I have mandrake linux and while giving the below command
make KERNEL_INCLUDES:=/usr/include/linux
it gives an error .Please help me.what to do
 
Old 09-10-2005, 10:10 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
...maybe if we could see the error?

it's probably because you are missing kernel-source and headers plus some developpement tools, but hard to tell eh?
 
Old 09-12-2005, 02:41 AM   #3
dineshnano
LQ Newbie
 
Registered: Sep 2005
Location: india
Posts: 3

Original Poster
Rep: Reputation: 0
Hi

I have the full modem driver for linux.
in that installation they have given
make KERNEL_INCLUDES:=/usr/src/.............. for redhat linux

what should be given for mandrake linux 9 in the above command
i have installed first CD alone in mandrake linux.

while make
it shows use -I/lib/modules/'uname -r'/linux
instead of -I/usr/include/linux

what to do if this happens
then how can i install the modem driver for my modem Please reply me.
 
Old 09-12-2005, 06:12 PM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
Quote:
it shows use -I/lib/modules/'uname -r'/linux
instead of -I/usr/include/linux
It shows? Can you be clearer? What show it? It is an error message? Or are you just staring at the make output?
/lib/modules/XX.Y.Z/ (where XX.Y.Z is a kernel version given by "uname -r") is where modules (drivers) are. I never heard about /lib/modules/XX.Y.Z/linux but I suspect this to be a link to your kernel source ( /usr/src/linux usually ). As I said before, my first guess would be to install kernel source if you don't have it.
Still, as I don't have the error, all this is purely speculative. It would be a lot easier if I could see it, could you paste it here? I suppose you don't have internet on that computer yet, but you could copy this on a floppy or something similar... Ask if you don't know how to do.

Try to understand what you ask is quite unclear for someone who is NOT in front of your computer. Read the exact same post to a friend, if he doesn't understand what you are talking about until you clarify, then you are missing _details_. I have very little idea what you a trying to do... I believe you are trying to compile a driver from source ( where did you get it from?) and have to set some kind of weird KERNEL_INCLUDE variable ( why? Have you read this somewhere? in the readme maybe? google? what's that include for? why do you think it is useful? in code or in a bash script?) but this give you an error ( what error? any hints there?) .

...

And by the way... sending me an email TWICE with the EXACT same message that you posted here is not the best way to get helped. I assume you were confused using this and that's why I keep replying here, as this was somehow rude and annoying, plus the fact it was totally useless. I am not paid to be there neither I am forced to help. I rarely reply to private mail as there is very little reason why you should use this utility... sending me 2 copy of your reply on the forum wasn't a good reason.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modem installation Poseidon627 Linux - Newbie 2 03-16-2006 08:06 PM
Modem Installation FattySlack Linux - Hardware 2 02-11-2005 09:28 AM
Modem installation. phishman3579 Linux - Networking 6 09-18-2003 01:04 PM
Modem Installation BigBrittDOGG Linux - Networking 5 09-09-2003 02:21 PM
Modem installation advait Linux - Software 4 04-24-2001 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:53 AM.

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