Newsgroup: it.comp.os.linux.iniziare
Titolo: Compilazione driver modem adsl usr 9000

Ciao a tutti 
	ho un problema nella compilazione dei driver del modem adsl
usb usrobotics 9000 con la mandrake 9.2
Fino a un paio di settimane fa avevo mandrake 9.1 installazione quasi 
completa e non avevo avuto nessun problema durante la compilazione
ora ho la mandrake 9.2 installazzione ridotta a pochi pacchetti
e non riesco a compilare il modulo!!
E' possibile che mi manchi qualche pacchetto??
Posso aggirare il problma con il pacchetto
adiusbadsl-1.0.4-1mdk.i586.rpm ??
Grazi mille
Enrico
[risultato della compilazione]
./inst_mod linux-2.4.22-26mdk
off
rm -f error.log .depend AdiUsbAdslDriver.o Boot.o Util.o Pipes.o
./ADIUTIL/Me.o ./ADIUTIL/Msg.o ./ADIUTIL/Dsp.o ./ADIUTIL/Mpoa.o
./ADIUTIL/Uni.o ./ADIUTIL/Sar.o ./ADIUTIL/Crc.o ./ADIUTIL/Zaps.o
adiusbadsl.o *~ core
make -C ./USER clean
make[1]: Entering directory `/usr/USR_USB/ADI_LINUX/USER'
rm -f error.log .depend main.o Config.o adictrl *~ core
make[1]: Leaving directory `/usr/USR_USB/ADI_LINUX/USER'
make[1]: Entering directory `/usr/USR_USB/ADI_LINUX'
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -M *.c > .depend
AdiUsbAdslDriver.c:708:35: missing terminating " character
AdiUsbAdslDriver.c:709:54: missing terminating " character
AdiUsbAdslDriver.c:733:43: missing terminating " character
AdiUsbAdslDriver.c:734:54: missing terminating " character
In file included from AdiUsbAdslDriver.c:1022:
/usr/src/linux/include/linux/if_arp.h:149:1: unterminated argument list
invoking macro "ZAP"
Util.c:141:10: missing terminating " character
Util.c:142:52: missing terminating " character
Util.c:207:10: missing terminating " character
Util.c:208:17: missing terminating " character
Util.c:270:10: missing terminating " character
Util.c:271:17: missing terminating " character
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/usr/USR_USB/ADI_LINUX'
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -I./ADIUTIL -O2   -c -o AdiUsbAdslDriver.o
AdiUsbAdslDriver.c
AdiUsbAdslDriver.c:708:35: missing terminating " character
AdiUsbAdslDriver.c:709:54: missing terminating " character
AdiUsbAdslDriver.c:733:43: missing terminating " character
AdiUsbAdslDriver.c:734:54: missing terminating " character
In file included from AdiUsbAdslDriver.c:1022:
/usr/src/linux/include/linux/if_arp.h:149:1: unterminated argument list
invoking macro "ZAP"
AdiUsbAdslDriver.c: In function `adi_start_xmit':
AdiUsbAdslDriver.c:1023: error: `ZAP' undeclared (first use in this
function)
AdiUsbAdslDriver.c:1023: error: (Each undeclared identifier is reported
only once
AdiUsbAdslDriver.c:1023: error: for each function it appears in.)
AdiUsbAdslDriver.c:1023: error: syntax error before "struct"
AdiUsbAdslDriver.c:1026: warning: unused variable `h_source'
AdiUsbAdslDriver.c:1027: warning: unused variable `h_proto'
AdiUsbAdslDriver.c:1028: warning: unused variable `ar_hrd'
AdiUsbAdslDriver.c:1029: warning: unused variable `ar_pro'
AdiUsbAdslDriver.c:1030: warning: unused variable `ar_hln'
AdiUsbAdslDriver.c:1031: warning: unused variable `ar_pln'
AdiUsbAdslDriver.c:1032: warning: unused variable `ar_op'
AdiUsbAdslDriver.c:1038: warning: unused variable `ar_sha'
AdiUsbAdslDriver.c:1039: warning: unused variable `ar_sip'
AdiUsbAdslDriver.c:1040: warning: unused variable `ar_tha'
AdiUsbAdslDriver.c:1041: warning: unused variable `ar_tip'
AdiUsbAdslDriver.c: In function `LocalArpReply':
AdiUsbAdslDriver.c:1049: error: storage size of `ReplyArpPkt' isn't
known
AdiUsbAdslDriver.c:1053: error: invalid application of `sizeof' to an
incomplete type
AdiUsbAdslDriver.c:1056: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1065: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1065: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1066: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1066: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1069: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1069: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1072: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1072: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1074: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1074: error: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:1049: warning: unused variable `ReplyArpPkt'
AdiUsbAdslDriver.c: In function `adi_start_xmit':
AdiUsbAdslDriver.c:1233: error: syntax error at end of input
AdiUsbAdslDriver.c:49: warning: `adi_set_multicast' used but never
defined
AdiUsbAdslDriver.c:50: warning: `adi_tx_timeout' used but never defined
AdiUsbAdslDriver.c:51: warning: `adi_read_proc' used but never defined
AdiUsbAdslDriver.c:52: warning: `adi_user' used but never defined
AdiUsbAdslDriver.c:53: warning: `LocalArpReply' declared `static' but
never defined
make: *** [AdiUsbAdslDriver.o] Error 1

 
Premesso che a mio avviso avresti fatto meglio a tenerti la 9.1...........
è probabile che ti manchi il sorgente del kernel in /usr/src/   ........
se non c'è ,(e mi pare che con la 9.2 non ci sia!) devi scaricartelo ed
installarlo.....
ciao ..
-- 
Finalmente tornato a "Casa"  la mia Slack preferita........