Newsgroup: it.comp.os.linux.iniziare
Titolo: Problemi make Fastrate su FC4

Buongiorno a tutti,
so che l'impresa è ardua, e che sarebbe più facile comprarsi un
ethernet, ma quando qualche mese fa installai linux decisi di non
scappare ad ogni problema, ed imparare sbattendoci la testa.
Ho quindi deciso di usare il fastrate 100 Usb su FC4, cercando su google
ho trovato la guida di 
www.pollycoke.org
 e ho visto che l'operazione è
fattibile.
Scarico tutto il necessario, torno su linux, inizio ad installare... ma
quando vado a dare il fatidico "make", mi riporta i seguenti errori
r i in adsl_status unicorntest tools ; do make -C $i all ; done
make[1]: Entering directory `/home/Fra/Desktop/unicorn/adsl_status'
make    all-recursive
make[2]: Entering directory `/home/Fra/Desktop/unicorn/adsl_status'
Making all in intl
make[3]: Entering directory `/home/Fra/Desktop/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Fra/Desktop/unicorn/adsl_status/intl'
Making all in m4
make[3]: Entering directory `/home/Fra/Desktop/unicorn/adsl_status/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Fra/Desktop/unicorn/adsl_status/m4'
Making all in intl
make[3]: Entering directory `/home/Fra/Desktop/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Fra/Desktop/unicorn/adsl_status/intl'
Making all in po
make[3]: Entering directory `/home/Fra/Desktop/unicorn/adsl_status/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Fra/Desktop/unicorn/adsl_status/po'
Making all in src
make[3]: Entering directory `/home/Fra/Desktop/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: error: gtk/gtk.h: No such file or directory
In file included from main.c:12:
interface.h:5: error: syntax 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:44: error: syntax error before ‘*’ token
support.h:44: error: syntax 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: syntax error before ‘*’ token
support.h:59: error: syntax error before ‘*’ token
support.h:59: error: syntax 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: syntax error before ‘*’ token
status.h:2: error: syntax error before ‘*’ token
status.h:3: error: syntax error before ‘*’ token
status.h:4: error: syntax error before ‘*’ token
status.h:5: error: syntax error before ‘*’ token
status.h:6: error: syntax 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 `/home/Fra/Desktop/unicorn/adsl_status/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Fra/Desktop/unicorn/adsl_status'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/Fra/Desktop/unicorn/adsl_status'
make[1]: Entering directory `/home/Fra/Desktop/unicorn/unicorntest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Fra/Desktop/unicorn/unicorntest'
make[1]: Entering directory `/home/Fra/Desktop/unicorn/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Fra/Desktop/unicorn/tools'
for i in libm unicorn_usb ; do make -C $i modules
MODDIR=/home/Fra/Desktop/unicorn/$i ; done
make[1]: Entering directory `/home/Fra/Desktop/unicorn/libm'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/Fra/Desktop/unicorn/libm'
make[1]: Entering directory `/home/Fra/Desktop/unicorn/unicorn_usb'
make CC=gcc -C /usr/src/linux
SUBDIRS=/home/Fra/Desktop/unicorn/unicorn_usb modules
make[2]: Entering directory `/usr/src/linux'
make[2]: *** No rule to make target `modules'.  Stop.
make[2]: Leaving directory `/usr/src/linux'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/Fra/Desktop/unicorn/unicorn_usb'
make: *** [modules] Error 2
Ora, dato che non capisco assolutamente cosa voglia, ho provato
inutilmente ad andare avanti, ma ovviamente non funziona.
Può qualcuno aiutarmi? c'è mai riuscito qualcuno su FC4?
Grazie a chiunque mi voglia aiutare!


Grazie mille, ora li scarico, li installo e ti faccio sapere!!

 
Ok, non riesco ad installare gtk+extra-devel, mi dice che manca gtk
+extra, ma ciò non è vero perchè l'ho appena installato.
Se comunque ignoro l'errore vado avanti fino a /sbin/modprobe
unicorn_usb_atm, quì mi ritorna Module unicorn_usb_atm not found... ma
suppongo sia a causa dei problemi nel make.
Qualche tipo di aiuto "idiot proof"?
Grazie!


Ok, risolto il problema del gtk+devel, installato, ma continua a
riportarmi gli stessi errori... non capisco cosa non trova
in /usr/src/linux (mi sembra sia lì il problema...)