Newsgroup: it.comp.os.linux.iniziare
Titolo: problema modem usb trust 56k

Uso suse 8.1 e ho un modem trust 56k usb. Tempo fa sono riuscito a farlo 
funzionare su mandrake tranquillamente grazie a una persona che in 
questo newsgroup mi ha detto quale era il chip e mi ha dato la pagina 
dove scaricare il relativo driver(cioč 
www.smlink.com
).
Ho provato a rinstallare il driver ma quando vado a compilare mi da il 
seguente errore:
linux:/home/anastasg/driver/slmdm-2.7.14 # 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/modversions.h -o amrmo_init.o -c amrmo_init.c
amrmo_init.c: /usr/src/linux/include/linux/modversions.h: No such file 
or directory
In file included from amrmo_init.c:46:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.h: No such 
file or directory
In file included from /usr/src/linux/include/linux/prefetch.h:13,
                  from /usr/src/linux/include/linux/list.h:6,
                  from /usr/src/linux/include/linux/module.h:12,
                  from amrmo_init.c:47:
/usr/src/linux/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' 
undeclared here (not in a function)
/usr/src/linux/include/asm/processor.h:56: requested alignment is not a 
constantIn file included from /usr/src/linux/include/linux/module.h:298,
                  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/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source 
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
-r`/build/include/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 the 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/include"
/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 
accordingly."
/usr/include/linux/version.h:35:2: #error 
"======================================================="
In file included from amrmo_init.c:47:
/usr/src/linux/include/linux/module.h:300: parse error before "UTS_RELEASE"
In file included from amrmo_init.c:48:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source 
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
-r`/build/include/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 the 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/include"
/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 
accordingly."
/usr/include/linux/version.h:35:2: #error 
"======================================================="
In file included from linux_compat.h:50,
                  from amrmo_init.c:53:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,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 from 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 files - 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: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."
/usr/include/linux/version.h:35:2: #error 
"=====================================
=================="
In file included from amrmo_init.c:53:
linux_compat.h:55:40: missing binary operator before '('
linux_compat.h:77:40: missing binary operator before '('
linux_compat.h:91:40: missing binary operator before '('
linux_compat.h:98:41: missing binary operator before '('
amrmo_init.c: In function `amrmo_probe':
amrmo_init.c:311: warning: implicit declaration of function 
`pci_request_regions
'
amrmo_init.c:317: warning: implicit declaration of function 
`pci_release_regions
'
amrmo_init.c: In function `amrmo_init':
amrmo_init.c:378: warning: implicit declaration of function `pci_dev_driver'
make: *** [amrmo_init.o] Error 1
linux:/home/anastasg/driver/slmdm-2.7.14 #
Se qualcuno sa dirmi cosa fare gli sono immensamente grato.

 Se qualcuno sa dirmi cosa fare gli sono immensamente grato.
installa i sorgenti del kernel ;-)
ciao


cioč?

Gio wrote:

devi installare un pacchetto che si chiama tipo kernel-source , ma nn so' il
nome preciso perche' nn uso suse.
ciao.