Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-30-2002, 11:00 AM   #1
LQ Newbie
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
Modem setup

I have successfully installed SuSe 8.1 on my advent laptop but during the instal my modem was not recognised. I have downloaded the Smartlink driver files for the modem but have been unable to get them to work using the instructions in the readme file. I have unpacked the tar file and changed to its directory. The next instruction says to correct the makefile path to my local linux kernel header files. This is where I am stuck. Where are these files?

I have tried the make command without the change to the makefile and I get errors. Can anyone help?

Old 11-30-2002, 12:38 PM   #2
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Start yast2 and find the package called kernel-sources or something similar to that. It'll be quite large, use the search facility if you can't find it (search for kernel to show all packages with that word in its name). Make sure it's installed. The kernel sources are normally installed to

/usr/src/linux/ .....

somewhere like that anyway. Step through the directories until you find the base directory where the source starts. if you can't find it, use kpackage to look at the file list of the kernel sources rpm.

Finally, use an editor (vi or kate will be installed, vi is hard, kate is easy to edit the Makefile and alter the path (it should be clearly labelled where to edit) to point to that directory.
Old 12-01-2002, 08:30 AM   #3
LQ Newbie
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for that. I have done all that - I think, bu tget this error on running the make command:

linux:~ # make
make: *** No targets specified and no makefile found. Stop.
linux:~ # cd slmdm-2.7.6
linux:~/slmdm-2.7.6 # make
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/
usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modv
ersions.h -o amrmo_init.o -c amrmo_init.c
<command line>:1075387971:7820: /usr/src/linux/include/linux/modversions.h: No s
uch file or directory
In file included from /usr/include/linux/module.h:297,
from amrmo_init.c:47:
/usr/include/linux/version.h:2:2: #error "======================================
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi

Which has me stuck. Any ideas?
Old 02-27-2003, 05:04 PM   #4
LQ Newbie
Registered: Feb 2003
Location: Italy
Distribution: Mandrake 9.0
Posts: 7

Rep: Reputation: 0
I've the same errors with MDK 9.0 and my usb modem with smartlink chipset... (
Old 02-27-2003, 05:42 PM   #5
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
First off are you using the kernel 2.4.x (x= what ever ) Becuase it would work with that kernel ( it should anyway) if it's a USB


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
how to setup more than one same modem together? kite Linux - Hardware 0 10-27-2005 04:57 AM
help need help on modem setup shamz SUSE / openSUSE 1 12-26-2004 12:22 AM
Modem setup for dial up? matthewf Slackware 3 09-10-2003 03:31 AM
Knoppix 3.1 - Modem Setup OldBob Linux - Newbie 0 06-26-2003 08:01 AM
modem setup in RH 7.3 Frosty Linux - Networking 5 08-30-2002 11:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 AM.

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