http://www.pollycoke.org/linux-help/...00-con_17.html
guarda anche qui
ci sono guide e driver
http://www.pollycoke.org/linux-help/...00-con_17.html
guarda anche qui
ci sono guide e driver
quando faccio make mi da:
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/myway/Desktop/unicorn/adsl_status/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/myway/Desktop/unicorn/adsl_status' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/home/myway/Desktop/unicorn/adsl_status' make[1]: Entering directory `/home/myway/Desktop/unicorn/unicorntest' gcc -DVERS=0x092 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ unicorntest.c -o unicorntest make[1]: Leaving directory `/home/myway/Desktop/unicorn/unicorntest' make[1]: Entering directory `/home/myway/Desktop/unicorn/tools' gcc -DVERS=0x092 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ main.c unicorn_status.c unicorn_device.c -o unicorn_status unicorn_status.c: In function ‘get_us_rate’: unicorn_status.c:242: warning: pointer targets in passing argument 2 of ‘get_bit_rates’ differ in signedness unicorn_status.c: In function ‘get_ds_rate’: unicorn_status.c:253: warning: pointer targets in passing argument 2 of ‘get_bit_rates’ differ in signedness gcc -DVERS=0x092 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ cgi.c unicorn_status.c unicorn_device.c -o unicorn_status.cgi cgi.c: In function ‘do_status’: cgi.c:24: warning: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ cgi.c:25: warning: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’
Ed altri errori simili.. da cosa dipende?
devi installare la sezione sviluppo software da gestione software
installa anche le varie sezioni sviluppo gnome e kde
hm ne ho installate alcune ma non so bene quali siano, essendo la 1° volta che lo installo! comunque con quelle che ho messo fa = a prima!
apri le varie sezioni dello sviluppo e seleziona i vari programmi
devi installare le gtk-devel automake ed autoconf almeno altrimenti non va
sul sito la guida dice anche
-----------------
Per gli utenti Fedora Core 2 e 3 mi e' arrivato un suggerimento da Michele Reccanello:
...vanno sostituiti i pacchetti glibc-kernheaders e linux-atm con quelli attualmente in sviluppo con la Fedora Core 4, dal sito : http://download.fedora.redhat.com/pu...lopment/SRPMS/
Scaricati i 2 pacchetti si installano i sorgenti, si compilano e si installano i binari generati con questi comandi:
rpm -i nome-pacchetto.rpm
cd /usr/src/redhat/SPECS
rpmbuild --bb nome-pacchetto.spec;
rpm -i ../RPMS/i386/nome-pacchetto-i386.rpm
dopodich� si pu� compilare il driver per il modem secondo le indicazioni della guida
------------
quindi devi installare anche
glibc-kernheaders e linux-atm
anche per suse?
xké lì dice:
NOTA: SUSE ha dato un nome diverso al pacchetto, gli utenti SUSE devono installare "gtk+-devel-1.2.10-33.i386.rpm"
si chiaramente
pensavo che tu avessi fedora
installa comunque glibc-devel automake autoconf
ci sono sia linuxatm che glibc-devel che automake e autoconf, però fa sempre uguale!