salut,
désolé, je ne vais pas pouvoir faire ce que tu m'as demandé, j'ai formaté. De toute façon, je n'aurais pas pu, puisque le système ne bootait plus jusqu'au bout, même en niveau 3 !
Depuis, j'ai tout formaté et installé (ce sont des install cobayes de toute façon, je me fais la main), et j'essai de faire les choses proprement. Comme tu me dis être arrive ça m'arrange, je vais te détailler tout pour y voir clair.
Alors, succintement, j'ai :
* installé fedora
* detaré kernel-devel-2.6.15-1.2054_FC5.i686.rpm (je suis resté sous le noyau original 2.6.15-1.2054_FC5) et lancé un "rpm -i kernel-devel-2.6.15-1.2054_FC5.i686.rpm" et il m'a renvoyé un warning : attention: kernel-devel-2.6.15-1.2054_FC5.i686.rpm: Entête V3 DSA signature: NOKEY, key ID 4f2a6fd2 --> pas grave, c'est juste une histoire de clé, de signature, donc je m'y attarde pas, le rep kernel est bien apparu dans /usr/src/.
* modifié les make file de unicorn et unicorn_usb en mettant /usr/src/kernel/2.6.16_1.2096_FC5 comme chemin des sources.
* Bon, là, ça va se gâter un peu : j'ai fait make dans unicorn, là, il a fait tout un bins mais j'ai pu voir ce genre de trucs en plein milieu des sorties (mais malgré ça, il est bien allé jusqu'au bout de la compil sans message d'erreur à la fin) :
make[3]: Entering directory `/home/bewan/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: erreur: gtk/gtk.h : Aucun fichier ou répertoire de ce type
In file included from main.c:12:
interface.h:5: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:13:
support.h:44: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
support.h:51: attention : type defaults to ‘int’ in declaration of ‘gchar’
support.h:51: erreur: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
support.h:59: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:14:
status.h:1: erreur: expected ‘)’ before ‘*’ token
status.h:2: erreur: expected ‘)’ before ‘*’ token
status.h:3: erreur: expected ‘)’ before ‘*’ token
status.h:4: erreur: expected ‘)’ before ‘*’ token
status.h:5: erreur: expected ‘)’ before ‘*’ token
status.h:6: erreur: expected ‘)’ before ‘*’ token
main.c: In function ‘main’:
main.c:20: erreur: ‘GtkWidget’ undeclared (first use in this function)
main.c:20: erreur: (Each undeclared identifier is reported only once
main.c:20: erreur: for each function it appears in.)
main.c:20: erreur: ‘main_window’ undeclared (first use in this function)
main.c:27: attention : implicit declaration of function ‘gtk_set_locale’
main.c:28: attention : implicit declaration of function ‘gtk_init’
main.c:31: attention : implicit declaration of function ‘add_pixmap_directory’
main.c:39: attention : implicit declaration of function ‘create_main_window’
main.c:45: attention : implicit declaration of function ‘create_RxPathLabel’
main.c:45: attention : implicit declaration of function ‘lookup_widget’
main.c:45: attention : implicit declaration of function ‘GTK_WIDGET’
main.c:46: attention : implicit declaration of function ‘create_SNRLabel’
main.c:47: attention : implicit declaration of function ‘create_EchoNoiseLabel’
main.c:49: attention : implicit declaration of function ‘status_init’
main.c:51: attention : implicit declaration of function ‘gtk_widget_show’
main.c:53: attention : implicit declaration of function ‘gtk_main’
make[3]: *** [main.o] Erreur 1
make[3]: Leaving directory `/home/bewan/unicorn/adsl_status/src'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/bewan/unicorn/adsl_status'
make[1]: *** [all-recursive-am] Erreur 2
make[1]: Leaving directory `/home/bewan/unicorn/adsl_status'
make[1]: Entering directory `/home/bewan/unicorn/unicorntest'
Pourquoi et comment ? je sais pas ! Ensuite, j'ai quand même tenté le make install, qui lui aussi a travaillé mais en plein milieu on peut lire ces quelques lignes (ici encore il est bien allé malgré tout jusqu'au bout de la compil) :
make[2]: Entering directory `/home/bewan/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: erreur: gtk/gtk.h : Aucun fichier ou répertoire de ce type
In file included from main.c:12:
interface.h:5: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:13:
support.h:44: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
support.h:51: attention : type defaults to ‘int’ in declaration of ‘gchar’
support.h:51: erreur: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
support.h:59: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:14:
status.h:1: erreur: expected ‘)’ before ‘*’ token
status.h:2: erreur: expected ‘)’ before ‘*’ token
status.h:3: erreur: expected ‘)’ before ‘*’ token
status.h:4: erreur: expected ‘)’ before ‘*’ token
status.h:5: erreur: expected ‘)’ before ‘*’ token
status.h:6: erreur: expected ‘)’ before ‘*’ token
main.c: In function ‘main’:
main.c:20: erreur: ‘GtkWidget’ undeclared (first use in this function)
main.c:20: erreur: (Each undeclared identifier is reported only once
main.c:20: erreur: for each function it appears in.)
main.c:20: erreur: ‘main_window’ undeclared (first use in this function)
main.c:27: attention : implicit declaration of function ‘gtk_set_locale’
main.c:28: attention : implicit declaration of function ‘gtk_init’
main.c:31: attention : implicit declaration of function ‘add_pixmap_directory’
main.c:39: attention : implicit declaration of function ‘create_main_window’
main.c:45: attention : implicit declaration of function ‘create_RxPathLabel’
main.c:45: attention : implicit declaration of function ‘lookup_widget’
main.c:45: attention : implicit declaration of function ‘GTK_WIDGET’
main.c:46: attention : implicit declaration of function ‘create_SNRLabel’
main.c:47: attention : implicit declaration of function ‘create_EchoNoiseLabel’
main.c:49: attention : implicit declaration of function ‘status_init’
main.c:51: attention : implicit declaration of function ‘gtk_widget_show’
main.c:53: attention : implicit declaration of function ‘gtk_main’
make[2]: *** [main.o] Erreur 1
make[2]: Leaving directory `/home/bewan/unicorn/adsl_status/src'
Voilà, après ça, j'ai bien des .ko (enfin !) dans /lib/modules/2.6.15-1.2054_FC5.i686/extra/ . depmod -a se passe bien, mais modprobe -v unicorn_usb_atm me renvoie :
[root@localhost unicorn]# modprobe unicorn_usb_atm
FATAL: Error inserting unicorn_usb_atm
(/lib/modules/2.6.15-1.2054_FC5/extra/unicorn_usb_atm.ko): Unknown symbol in module, or
unknown parameter (see dmesg)
je regarde dmesg :
unicorn_usb_atm: module license 'Proprietary' taints kernel.
unicorn_usb_atm: Unknown symbol atm_dev_deregister
unicorn_usb_atm: Unknown symbol atm_dev_register
unicorn_usb_atm: Unknown symbol atm_charge
unicorn_usb_atm: Unknown symbol print_tainted
NET: Registered protocol family 8
NET: Registered protocol family 20
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
unicorn_usb_atm: Unknown symbol print_tainted
unicorn_usb_atm: Unknown symbol print_tainted
unicorn_usb_atm: Unknown symbol print_tainted
unicorn_usb_atm: Unknown symbol print_tainted
unicorn_usb_atm: Unknown symbol print_tainted
voilà, ça fait beaucoup de code mais bon, lis le en diagonale...là où je sios vert, c'est que tout à l'heure, j'avais tout de même réussi à le charger ce maudit module, et mon modem avait clignoté, même si après, ça a été la débacle absolue lol...