PDA

View Full Version : [kubuntu] Compilazione driver modem adsl conexant


gionnico
11-02-2007, 20:20
Ciao!

Ho un modem adsl che fortunatamente fornisce i driver per linux.

Ho però un problema nella compilazione

usbsndcm.c: In function CmCommandRcv:
usbsndcm.c:184: error: CONFIG_HZ undeclared (first use in this function)
usbsndcm.c: In function CmCommandSend:
usbsndcm.c:259: error: CONFIG_HZ undeclared (first use in this function)
usbsndcm.c: In function CmPacketSend:
usbsndcm.c:327: error: CONFIG_HZ undeclared (first use in this function)
make: *** [usbsndcm.o] Error 1


Questo CONFIG_HZ ... va impostato nel kernel ... ma a quale valore? Non è possibile aggirare la ricompilazione del kernel che su questa distro mi romperebbe ?

PS: Uso un laptop.

VegetaSSJ5
11-02-2007, 22:25
hai installato i sorgenti del kernel?

gionnico
12-02-2007, 12:30
hai installato i sorgenti del kernel?
No: ho installato kubuntu pari pari. Non sò se questo comporta l'installazione in qualche directory dei sorgenti del kernel ...

VegetaSSJ5
12-02-2007, 13:45
ok allora apri adept e installa i pacchetti

kernel-source
kernel-headers
build-essential

e prova a ricompilare quei drivers.