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? :newbie: |
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. |
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 following:" /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 ry" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t o" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl ude/linux/version.h" /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 clude" /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 ngly." Which has me stuck. Any ideas? |
I've the same errors with MDK 9.0 and my usb modem with smartlink chipset... :((
|
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
|
All times are GMT -5. The time now is 07:27 AM. |