[Lugge] R: Re: Problemi di installazione modem 56K USB

  • From: "Alessandro Mortola" <a.mortola@xxxxxxxxxxx>
  • To: <lugge@xxxxxxxxxxxxx>
  • Date: Sun, 7 Mar 2004 23:43:49 +0100

> Hai installato i sorgenti del kernel o per lo meno i suoi include?
Si, ho controllato.

Ho scaricato come mi hai suggerito la versione aggiornata
slmdm-2.7.14.tar.gz e seguendo le istruzioni del readme non ho fatto
particolari progressi. Il make ora mi dà il seguente errore:

You should not include /usr/include/{linux,asm}/ header
files directly for the compilation of kernel modules.
glibc now uses kernel header files from a well-defined
working kernel version (as recommended by Linus Torvalds)
These files are glibc internal and may not match the
currently running kernel. They should only be
included via other system header files - user space
programs should not directly include <linux/*.h> or <asm/*.h> as well.
To build kernel modules please do the following:

 o Have the kernel sources installed

 o Make sure that the symbolic link
   /lib/modules/`uname -r`/build exists and points to
   the matching kernel source directory

 o Now copy /boot/vmlinuz.version.h to
   /lib/modules/`uname -r`/build/include/linux/version.h

 o When compiling, make sure to use the following
   compiler option to use the correct include files:

   -I/lib/modules/`uname -r`/build/include

   instead of

   -I/usr/include/linux

   Please adjust the Makefile accordingly.
--------------------------------------------------------------------

Senza contare il fatto che il file /boot/vmlinuz.version.h non esiste.

Ho tentato quindi la strada numero 2 descritta nel readme ovvero l'utilizzo
di rpm.

Il punto 1 (# rpm -ta slmdm-2.X.X.tar.gz) è andato bene.

Nel punto 2 (# rpm -i /path/to/slmdm-2.X.X-Y.i386.rpm) ho avuto un altro
problema. Innanzi tutto il file che trovo si chiama ...i586.rpm. Vabbè, non
avranno aggiornato il readme.

Il problema è che mi da errore perchè in /dev crea il seguente "file":
c---------    1 root     root     212,   0 mar  7 22:43 /dev/ttySL0;404b978f


sul quale non riesce poi ad operare in quanto non ha i permessi.

Speriamo che la notte porti consiglio...

Ciao

Alex

Other related posts: