Newsgroup: it.comp.os.linux.iniziare
Titolo: Modem Fastrate 100 usb Ci riprovo seguitemi per favore!!!!!

Primi due tentativi falliti ma ci riprovo.
Allora ho rimesso mandrake10 nuova
lsusb mi da
Bus 4 Device 001: ID 0000:0000
Bus 3 Device 001: ID 0000:0000
Bus 2 Device 001: ID 0000:0000
Bus 1 Device 003: ID 0483:0137 SGS Thomson m,icroelectronics
Bus 1 Device 001: ID 0000:0000
(dovrebbe essere ok secondo la guida)
------------------------------------------
installo
kernel-source-2.6.3-mdk
liblinux-atm1-2.4.1-3mdk
ppp-2.4.1-13mdk
ppp-pppoatn-2.4.1.13mdk
Riavvio il pc
------------------------------------------
ora dovrei (chiedo a voi se va bene) fare questo
http://midgard.pollycoke.org/linux-help/articoli/FastrateUSB100/fastrate2.html


http://midgard.pollycoke.org/linux-help/articoli/FastrateUSB100/fastrate2.html
ecco cosa mi da quando compilo i driver unicorn ci son diversi errori
e poi alla fine quando faccio
modprobe unicorn_usb_atm non lo trova
root@localhost unicorn]# make
for i in adsl_status unicorntest tools ; do make -C $i all ; done
make[1]: Entering directory `/usr/src/modules/unicorn/adsl_status'
make    all-recursive
make[2]: Entering directory `/usr/src/modules/unicorn/adsl_status'
Making all in intl
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/intl'
Making all in m4
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/m4'
Making all in intl
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/intl'
Making all in po
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/po'
Making all in src
make[3]: Entering directory `/usr/src/modules/unicorn/adsl_status/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/   -I../intl   
   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I
/usr/X11R6/include    -g -O2 -Wall -c main.c
main.c:10:21: gtk/gtk.h: No such file or directory
In file included from main.c:12:
interface.h:5: error: parse error before '*' token
interface.h:5: warning: type defaults to `int' in declaration of
`create_main_window'
interface.h:5: warning: data definition has no type or storage class
In file included from main.c:13:
support.h:9:21: gtk/gtk.h: No such file or directory
In file included from main.c:13:
support.h:44: error: parse error before '*' token
support.h:44: error: parse error before '*' token
support.h:45: warning: type defaults to `int' in declaration of
`lookup_widget'
support.h:45: warning: data definition has no type or storage class
support.h:51: warning: type defaults to `int' in declaration of `gchar'
support.h:51: error: parse error before '*' token
support.h:59: error: parse error before '*' token
support.h:59: error: parse error before '*' token
support.h:60: warning: type defaults to `int' in declaration of
`create_pixmap'
support.h:60: warning: data definition has no type or storage class
In file included from main.c:14:
status.h:1: error: parse error before '*' token
status.h:2: error: parse error before '*' token
status.h:3: error: parse error before '*' token
status.h:4: error: parse error before '*' token
status.h:5: error: parse error before '*' token
status.h:6: error: parse error before '*' token
main.c: In function `main':
main.c:20: error: `GtkWidget' undeclared (first use in this function)
main.c:20: error: (Each undeclared identifier is reported only once
main.c:20: error: for each function it appears in.)
main.c:20: error: `main_window' undeclared (first use in this function)
main.c:27: warning: implicit declaration of function `gtk_set_locale'
main.c:28: warning: implicit declaration of function `gtk_init'
main.c:45: warning: implicit declaration of function `GTK_WIDGET'
main.c:51: warning: implicit declaration of function `gtk_widget_show'
main.c:53: warning: implicit declaration of function `gtk_main'
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/usr/src/modules/unicorn/adsl_status/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/modules/unicorn/adsl_status'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/modules/unicorn/adsl_status'
make[1]: Entering directory `/usr/src/modules/unicorn/unicorntest'
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ unicorntest.c -o unicorntest
make[1]: Leaving directory `/usr/src/modules/unicorn/unicorntest'
make[1]: Entering directory `/usr/src/modules/unicorn/tools'
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ main.c unicorn_status.c unicorn_device.c  -o unicorn_status
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ cgi.c unicorn_status.c unicorn_device.c -o unicorn_status.cgi
gcc -DVERS=0x086 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../includ
e/ oam_ping.c unicorn_device.c -o oam_ping
make[1]: Leaving directory `/usr/src/modules/unicorn/tools'
for i in libm unicorn_usb ; do make -C $i modules
MODDIR=/usr/src/modules/unicorn/$i ; done
make[1]: Entering directory `/usr/src/modules/unicorn/libm'
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_pow.o
e_pow.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log10.o
e_log10.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log.o
e_log.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_sqrt.o
e_sqrt.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_ceil.o
s_ceil.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_floor.o
s_floor.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_fabs.o
s_fabs.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_scalbn.o
s_scalbn.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_copysign.o
s_copysign.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_trunc.o
s_trunc.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_sin.o
s_sin.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_sin.o
k_sin.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_cos.o
k_cos.c
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_rem_pio2.o
e_rem_pio2.c
e_rem_pio2.c: In function `__ieee754_rem_pio2':
e_rem_pio2.c:93: warning: `z' might be used uninitialized in this function
gcc -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict
-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_rem_pio2.o
k_rem_pio2.c
ld  -r -o libm.a  e_pow.o e_log10.o e_log.o e_sqrt.o s_ceil.o s_floor.o
s_fabs.o s_scalbn.o s_copysign.o s_trunc.o s_sin.o k_sin.o k_cos.o
e_rem_pio2.o k_rem_pio2.o
make[1]: Leaving directory `/usr/src/modules/unicorn/libm'
make[1]: Entering directory `/usr/src/modules/unicorn/unicorn_usb'
make CC=gcc -C /usr/src/linux SUBDIRS=/usr/src/modules/unicorn/unicorn_usb
modules
make[2]: Entering directory `/usr/src/linux-2.6.3-4mdk'
  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  CC [M]  /usr/src/modules/unicorn/unicorn_usb/unicorn_usbdrv.o
/usr/src/modules/unicorn/unicorn_usb/unicorn_usbdrv.c:117: warning:
`dump_urb' defined but not used
  CC [M]  /usr/src/modules/unicorn/unicorn_usb/../msw/linrapi.o
g++ -fno-rtti -fno-exceptions -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototy
pes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-
boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2  -DVERS=0x086 -D_
USB_DRIVER -DDEBUG=1 -I/usr/src/modules/unicorn/unicorn_usb/../include -I/us
r/src/modules/unicorn/unicorn_usb/../  -D__KERNEL__ -Iinclude   -c -o
/usr/src/modules/unicorn/unicorn_usb/../msw/msw.o
/usr/src/modules/unicorn/unicorn_usb/../msw/msw.cpp
  CC [M]  /usr/src/modules/unicorn/unicorn_usb/../msw/crc.o
g++ -fno-rtti -fno-exceptions -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototy
pes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-
boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2  -DVERS=0x086 -D_
USB_DRIVER -DDEBUG=1 -I/usr/src/modules/unicorn/unicorn_usb/../include -I/us
r/src/modules/unicorn/unicorn_usb/../  -D__KERNEL__ -Iinclude   -c -o
/usr/src/modules/unicorn/unicorn_usb/../amu/amas.o
/usr/src/modules/unicorn/unicorn_usb/../amu/amas.cpp
g++ -fno-rtti -fno-exceptions -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototy
pes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-
boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2  -DVERS=0x086 -D_
USB_DRIVER -DDEBUG=1 -I/usr/src/modules/unicorn/unicorn_usb/../include -I/us
r/src/modules/unicorn/unicorn_usb/../  -D__KERNEL__ -Iinclude   -c -o
/usr/src/modules/unicorn/unicorn_usb/../amu/amu.o
/usr/src/modules/unicorn/unicorn_usb/../amu/amu.cpp
g++ -fno-rtti -fno-exceptions -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototy
pes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-
boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2  -DVERS=0x086 -D_
USB_DRIVER -DDEBUG=1 -I/usr/src/modules/unicorn/unicorn_usb/../include -I/us
r/src/modules/unicorn/unicorn_usb/../  -D__KERNEL__ -Iinclude   -c -o
/usr/src/modules/unicorn/unicorn_usb/../amu/bsp_usb.o
/usr/src/modules/unicorn/unicorn_usb/../amu/bsp_usb.cpp
  CC [M]
/usr/src/modules/unicorn/unicorn_usb/../unicorn_atm/unicorn_atmdrv.o
  CC [M]
/usr/src/modules/unicorn/unicorn_usb/../unicorn_eth/unicorn_ethdrv.o
  LD [M]  /usr/src/modules/unicorn/unicorn_usb/unicorn_usb_atm.o
  LD [M]  /usr/src/modules/unicorn/unicorn_usb/unicorn_usb_eth.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/modules/unicorn/unicorn_usb/unicorn_usb_atm.mod.o
  LD [M]  /usr/src/modules/unicorn/unicorn_usb/unicorn_usb_atm.ko
  CC      /usr/src/modules/unicorn/unicorn_usb/unicorn_usb_eth.mod.o
  LD [M]  /usr/src/modules/unicorn/unicorn_usb/unicorn_usb_eth.ko
make[2]: Leaving directory `/usr/src/linux-2.6.3-4mdk'
make[1]: Leaving directory `/usr/src/modules/unicorn/unicorn_usb'