Ho aperto il file ...
e ho apportato queste modifiche ...
1) ALLA RIGA :
Codice: Seleziona tutto
CNXT_KERNELSRC := /usr/src/kernel-headers-$(shell uname -r)
tolgo la parola 'kernel-headers' e la sostituisco con 'linux-headers'
2) ALLA RIGA : '/include/linux/config.h' la sostituisco con '/include/linux/configfs.h'
Riprovo a compilare il driver con 'make install' e ora non ho problemi, sembra aver installato tutto senza errori, ok!
Lancio ora 'hsfconfig' ... e qui ottengo un problema :
Codice: Seleziona tutto
hsfconfigConexant HSF softmodem driver, version 7.80.02.06x86_64oem
If you need assistance or more information, please go to:
http://www.linuxant.com/
When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".
modprobe: invalid option -- 'l'
modprobe: invalid option -- 'l'
No pre-built modules for: Ubuntu-18.04.6 linux-4.15.0-171-generic x86_64-SMP
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/lib/modules/4.15.0-171-generic/build]
WARNING: missing file /lib/modules/4.15.0-171-generic/build/include/linux/version.h
The cause of this is usually a missing or unconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
However, proper /boot/config-4.15.0-171-generic was found.
Would you like to try using it (in a temporary kernel tree)? [yes]
Unable to prepare temporary kernel tree
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
Verify that the proper options for your system are selected.
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".
Provo a vedere se si riesce ad aprire e modificare il file '/usr/sbin/hsfconfig' ma non si riesce ad aprire con un normale file di testo ...
Sembra che cerchi e non trovi il file
Codice: Seleziona tutto
/lib/modules/4.15.0-171-generic/build/include/linux/version.h
ed effettivamente il file 'version.h' non c'e' ...
Qualche alternativa per collegare il file 'version.h' al comando 'hsfconfig' ??