[PLUTO-help] Ndiswrapper... errori di compilazione

JeKO jko2001 a tiscalinet.it
Lun 6 Feb 2006 12:15:16 CET


Salve ha tutti, dopo qualche settimana passata a litigare con
l'installazione del nuovo kernel 2.6.15.1 (si ok è uscito il .2
litigherò anche con lui a breve) e delle terrificanti
module-init-tools-3.2 mi trovo nella necessità di far funzionare la mia
scheda WiFi, ndiswrapper sembra l'unica soluzione fino ad ora, ma
purtroppo non riesco ad installarlo, mi da degli errori in compilazione
che non riesco ad interpretare. Premetto che sto facendo tutto questo su
una vecchia distribuzione della RH la 8.0 se non sbaglio su un pc
portatile non proprio recentissimo (P4 3.2 della fuji mi sembra)... ora
penso di averlo scritto già da qualche altra parte su questa lista,
questo è un esperimento per farmi del male, quindi non accetto risposte
tipo "Cambia distribuzione" o "Installa qualcosa di più recente"...
sarebbe troppo semplice. Senza contare che ormai ho quasi finito di
adattarlo alle mie esigenze e reiniziare tutto da capo mi darebbe
alquanto fastidio. 
Ok scusatemi per questa mia piccola divagazione... tornando al problema,
avevo letto da qualche parte sul sito ufficiale di ndiswrapper che
c'eran dei problemi di compatibilità con la mia distro e che venivano
"aggirati" usando la versione 1.1, detto questo scarico questa versione
e mi accingo a seguire tutte le istruzioni per la compilazione:

$ make distclean

nessun errore,

[root a Ratiel ndiswrapper-1.1]# make
make -C driver
make[1]: Entering directory `/root/x_Linux/ndiswrapper-1.1/driver'
make -C /lib/modules/2.6.15.1/build SUBDIRS=/root/x_Linux/ndiswrapper-1.1/driver \
        NDISWRAPPER_VERSION=1.1 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.15.1'
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/hal.o
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/iw_ndis.o
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/loader.o
/root/x_Linux/ndiswrapper-1.1/driver/loader.c: In function `register_devices':
/root/x_Linux/ndiswrapper-1.1/driver/loader.c:861: warning: assignment from incompatible pointer type
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/misc_funcs.o
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/ndis.o
/root/x_Linux/ndiswrapper-1.1/driver/ndis.c:1637:5: warning: "LINUX_KERNEL_VERSION" is not defined
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/ntoskernel.o
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/pe_linker.o
/root/x_Linux/ndiswrapper-1.1/driver/pe_linker.c:104:5: warning: "DEBUG" is not
defined
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/proc.o
  CC [M]  /root/x_Linux/ndiswrapper-1.1/driver/wrapper.o
/root/x_Linux/ndiswrapper-1.1/driver/wrapper.c:286:53: macro "halt" passed 1 arguments, but takes just 0
/root/x_Linux/ndiswrapper-1.1/driver/wrapper.c: In function `miniport_halt':
/root/x_Linux/ndiswrapper-1.1/driver/wrapper.c:286: warning: statement with no effect
make[3]: *** [/root/x_Linux/ndiswrapper-1.1/driver/wrapper.o] Error 1
make[2]: *** [_module_/root/x_Linux/ndiswrapper-1.1/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.15.1'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/x_Linux/ndiswrapper-1.1/driver'
make: *** [all] Error 2

Non contento di questo risultato, ritorno sul sito di ndiswrapper e
scarico la ultima relese.. la 1.9 e:

[root a Ratiel ndiswrapper-1.9]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.9/driver'
make -C /lib/modules/2.6.15.1/build SUBDIRS=/root/ndiswrapper-1.9/driver \
        DRIVER_VERSION=1.9
make[2]: Entering directory `/usr/src/linux-2.6.15.1'
  CC [M]  /root/ndiswrapper-1.9/driver/hal.o
In file included from /root/ndiswrapper-1.9/driver/hal.c:166:
/root/ndiswrapper-1.9/driver/hal_exports.h:25: warning: implicit declaration of
function `tWRAP_EXPORT_SYMBOL'
/root/ndiswrapper-1.9/driver/hal_exports.h:25: warning: missing braces around initializer
/root/ndiswrapper-1.9/driver/hal_exports.h:25: warning: (near initialization for `hal_exports[0]')
/root/ndiswrapper-1.9/driver/hal_exports.h:25: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:25: (near initialization for `hal_exports[0].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:26: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:26: (near initialization for `hal_exports[0].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:27: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:27: (near initialization for `hal_exports[0]')
/root/ndiswrapper-1.9/driver/hal_exports.h:27: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:27: (near initialization for `hal_exports[1].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:28: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:28: (near initialization for `hal_exports[1].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:29: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:29: (near initialization for `hal_exports[1]')
/root/ndiswrapper-1.9/driver/hal_exports.h:29: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:29: (near initialization for `hal_exports[2].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:30: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:30: (near initialization for `hal_exports[2].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:31: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:31: (near initialization for `hal_exports[2]')
/root/ndiswrapper-1.9/driver/hal_exports.h:31: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:31: (near initialization for `hal_exports[3].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:32: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:32: (near initialization for `hal_exports[3].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:33: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:33: (near initialization for `hal_exports[3]')
/root/ndiswrapper-1.9/driver/hal_exports.h:33: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:33: (near initialization for `hal_exports[4].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:34: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:34: (near initialization for `hal_exports[4].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:35: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:35: (near initialization for `hal_exports[4]')
/root/ndiswrapper-1.9/driver/hal_exports.h:35: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:35: (near initialization for `hal_exports[5].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:36: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:36: (near initialization for `hal_exports[5].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:37: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:37: (near initialization for `hal_exports[5]')
/root/ndiswrapper-1.9/driver/hal_exports.h:37: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:37: (near initialization for `hal_exports[6].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:38: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:38: (near initialization for `hal_exports[6].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:39: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:39: (near initialization for `hal_exports[6]')
/root/ndiswrapper-1.9/driver/hal_exports.h:39: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:39: (near initialization for `hal_exports[7].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:40: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:40: (near initialization for `hal_exports[7].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:41: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:41: (near initialization for `hal_exports[7]')
/root/ndiswrapper-1.9/driver/hal_exports.h:41: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:41: (near initialization for `hal_exports[8].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:42: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:42: (near initialization for `hal_exports[8].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:43: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:43: (near initialization for `hal_exports[8]')
/root/ndiswrapper-1.9/driver/hal_exports.h:43: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:43: (near initialization for `hal_exports[9].name')
/root/ndiswrapper-1.9/driver/hal_exports.h:44: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:44: (near initialization for `hal_exports[9].func')
/root/ndiswrapper-1.9/driver/hal_exports.h:45: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:45: (near initialization for `hal_exports[9]')
/root/ndiswrapper-1.9/driver/hal_exports.h:45: initializer element is not constant
/root/ndiswrapper-1.9/driver/hal_exports.h:45: (near initialization for `hal_exports[10]')
make[3]: *** [/root/ndiswrapper-1.9/driver/hal.o] Error 1
make[2]: *** [_module_/root/ndiswrapper-1.9/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.15.1'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper-1.9/driver'
make: *** [all] Error 2

Ah, mi sono messo a cercare poco su google, ma non trovo nulla di
simile... ma continuo a cercare, prima o poi troverò un modo per far
funzionare tutto.

Saluti
Iacopo

P.S.: Io devo studiare Analisi che ho un esame tra due settimane...
perché combatto con ndiswrapper???




More information about the pluto-help mailing list