Bonjour,
Je travaille sur Ubuntu 9.10 et j'essaye de faire fonctionner mon clé 3G, j'ai fais une recherche j'ai compris que je dois installer le module hso j'ai télécharger la version 1.6 et j'ai essayé de l'installer: j'ai décompressé le module eensuite je l'ai configuré commande ./configure mais à la compilation j'ai obtenu plein d'erreurs que j'ai pas compris
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
hanen@hanen-laptop:~/hso-1.6$ make
mkdir -p /home/hanen/hso-1.6/tmp/.tmp_versions
make -C /lib/modules/2.6.32-21-generic/build M=/home/hanen/hso-1.6 MODVERDIR=/home/hanen/hso-1.6/tmp/.tmp_versions modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-21-generic »
  CC [M]  /home/hanen/hso-1.6/hso.o
/home/hanen/hso-1.6/hso.c: In function ‘hso_sysfs_show_porttype’:
/home/hanen/hso-1.6/hso.c:545: error: ‘struct device’ has no member named ‘driver_data’
/home/hanen/hso-1.6/hso.c: In function ‘hso_serial_common_create’:
/home/hanen/hso-1.6/hso.c:2327: error: ‘struct device’ has no member named ‘driver_data’
/home/hanen/hso-1.6/hso.c: In function ‘hso_net_init’:
/home/hanen/hso-1.6/hso.c:2481: error: ‘struct net_device’ has no member named ‘open’
/home/hanen/hso-1.6/hso.c:2482: error: ‘struct net_device’ has no member named ‘stop’
/home/hanen/hso-1.6/hso.c:2483: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/hanen/hso-1.6/hso.c:2484: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/hanen/hso-1.6/hso.c:2488: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/hanen/hso-1.6/hso.c: At top level:
/home/hanen/hso-1.6/hso.c:2517: warning: ‘enum rfkill_state’ declared inside parameter list
/home/hanen/hso-1.6/hso.c:2517: warning: its scope is only this definition or declaration, which is probably not what you want
/home/hanen/hso-1.6/hso.c:2517: error: parameter 2 (‘state’) has incomplete type
/home/hanen/hso-1.6/hso.c: In function ‘hso_radio_toggle’:
/home/hanen/hso-1.6/hso.c:2520: error: ‘RFKILL_STATE_ON’ undeclared (first use in this function)
/home/hanen/hso-1.6/hso.c:2520: error: (Each undeclared identifier is reported only once
/home/hanen/hso-1.6/hso.c:2520: error: for each function it appears in.)
/home/hanen/hso-1.6/hso.c: In function ‘hso_create_rfkill’:
/home/hanen/hso-1.6/hso.c:2542: error: implicit declaration of function ‘rfkill_allocate’
/home/hanen/hso-1.6/hso.c:2543: warning: assignment makes pointer from integer without a cast
/home/hanen/hso-1.6/hso.c:2550: error: implicit declaration of function ‘rfkill_free’
/home/hanen/hso-1.6/hso.c:2556: error: dereferencing pointer to incomplete type
/home/hanen/hso-1.6/hso.c:2557: error: dereferencing pointer to incomplete type
/home/hanen/hso-1.6/hso.c:2557: error: ‘RFKILL_STATE_ON’ undeclared (first use in this function)
/home/hanen/hso-1.6/hso.c:2558: error: dereferencing pointer to incomplete type
/home/hanen/hso-1.6/hso.c:2559: error: dereferencing pointer to incomplete type
/home/hanen/hso-1.6/hso.c:2562: error: dereferencing pointer to incomplete type
make[2]: *** [/home/hanen/hso-1.6/hso.o] Erreur 1
make[1]: *** [_module_/home/hanen/hso-1.6] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-21-generic »
make: *** [modules] Erreur 2
j'ai besoin de votre aide SVP.