ho provato ad installare il mio modem Digicom michelangelo adsl usb con i drivers presi su zane.
ho un problema, e per qusto vi copio quello che è venuto fuori dalla shell.
premetto, infine che ho seguito le istruzioni del sito.
[root@localhost eciadsl-usermode-0.6]# ./configure
settings:
runtime prefix path = /usr/local (default)
system conf files prefix path = / (default)
driver conf files prefix path = / (default)
driver doc files prefix path = /usr/local (default)
binaries directory = /bin (default)
system conf files directory = /etc (default)
driver conf files directory = /etc/eciadsl (default)
driver doc files directory = /doc/eciadsl (default)
kernel sources path = /usr/src/linux (default)
starting configuration for ECIADSL-0.6 in /root/eciadsl-usermode-0.6..
checking make location... /usr/bin/make
checking make version... 3.80
checking gcc location... /usr/bin/gcc
checking gcc version... gcc (GCC) 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
checking wish location... /usr/bin/wish
checking platform/OS type ... GNU/Linux (little endian)
entering ./
generating Makefile.config... OK
generating config.h... unchanged
leaving ./
configure script has completed successfully
[root@localhost eciadsl-usermode-0.6]# make
cc -ansi -pedantic -Wall -W -c -o pusb.o pusb.c
In file included from /usr/include/linux/usb.h:4,
from pusb-linux.c:29,
from pusb.c:13:
/usr/include/linux/mod_devicetable.h:157: error: syntax error before "__u8"
/usr/include/linux/mod_devicetable.h:159: error: syntax error before '}' token
/usr/include/linux/mod_devicetable.h:162: error: syntax error before "__u8"
/usr/include/linux/mod_devicetable.h:165: error: syntax error before "__u8"
/usr/include/linux/mod_devicetable.h:166: error: ISO C forbids data definition with no type or storage class
/usr/include/linux/mod_devicetable.h:167: error: syntax error before '}' token
In file included from pusb.c:13:
pusb-linux.c:64: error: redefinition of `struct usb_device_descriptor'
pusb-linux.c: In function `pusb_control_msg':
pusb-linux.c:249: error: structure has no member named `requesttype'
pusb-linux.c:250: error: structure has no member named `request'
pusb-linux.c:251: error: structure has no member named `value'
pusb-linux.c:252: error: structure has no member named `index'
pusb-linux.c:253: error: structure has no member named `length'
pusb-linux.c: In function `pusb_endpoint_submit_read':
pusb-linux.c:413: error: `USBDEVFS_URB_QUEUE_BULK' undeclared (first use in this function)
pusb-linux.c:413: error: (Each undeclared identifier is reported only once
pusb-linux.c:413: error: for each function it appears in.)
pusb-linux.c: In function `pusb_endpoint_submit_write':
pusb-linux.c:446: error: `USBDEVFS_URB_QUEUE_BULK' undeclared (first use in this function)
pusb-linux.c: In function `pusb_endpoint_submit_int_read':
pusb-linux.c:480: error: `USBDEVFS_URB_QUEUE_BULK' undeclared (first use in this function)
make: *** [pusb.o] Error 1
[root@localhost eciadsl-usermode-0.6]#
come potete vedere la prima parte pare che sia andata bene, sulla seconda non so cosa dire.
grazie,
ciao
angelico